I've deployed Activiti 5.16.1 archives (both activiti-explorer.war & activiti-rest.war) on JBoss WildFly 8.1.0 server.
My Activiti Project includes Activity Diagram, which has Java Service Task.
The "Java Service Task" is realized using MyServiceTask class which implements JavaDelegate.
public void execute(DelegateExecution execution) throws Exception {
logger.info("Inside MyServiceTask::execute() - About 2 perform service task");
// logic goes here to generate the file
}
When I start this Process using Activiti Explorer, this method is called (cross verfied as the file is generated), but I couldn't find this logging statement in WildFly server logs.
MyServiceTask uses log4j for logging. In my POM file, slf4j-log4j12 with version 1.7.7 is present. Details as below.
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.7</version>
</dependency>
Am I missing something? Why logs could not be found?