Web Application Shutting down due to async job
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015 01:08 PM
Dear all,
When I try to start the application Activiti Explorer, I have got the following error:
The engine properties are:
When I try to start the application Activiti Explorer, I have got the following error:
[localhost-startStop-1] INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [ui.properties] [localhost-startStop-1] INFO org.activiti.engine.impl.ProcessEngineImpl - ProcessEngine default created [localhost-startStop-1] INFO org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor - Starting up the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor]. [localhost-startStop-1] INFO org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor - Creating thread pool queue of size 100 [localhost-startStop-1] INFO org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor - Creating executor service with corePoolSize 2, maxPoolSize 10 and keepAliveTime 5000 [Thread-4] INFO org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable - {} starting to acquire async jobs due [Thread-5] INFO org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable - {} starting to acquire async jobs due [localhost-startStop-1] INFO org.activiti.explorer.conf.DemoDataConfiguration - Initializing demo groups [localhost-startStop-1] INFO org.activiti.explorer.conf.DemoDataConfiguration - Initializing demo users [localhost-startStop-1] INFO org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor - Shutting down the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor]. [Thread-4] INFO org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable - {} stopped async job due acquisition [Thread-5] INFO org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable - {} stopped async job due acquisitionDec 01, 2015 11:53:20 AM org.apache.catalina.core.StandardContext startInternalSEVERE: Error listenerStartDec 01, 2015 11:53:20 AM org.apache.catalina.core.StandardContext startInternalSEVERE: Context [/activiti-explorer] startup failed due to previous errors11:53:20,053 [localhost-startStop-1] INFO org.activiti.explorer.servlet.WebConfigurer - Destroying Web application
The engine properties are:
# demo data propertiescreate.demo.users=truecreate.demo.definitions=falsecreate.demo.models=falsecreate.demo.reports=false# engine propertiesengine.schema.update=trueengine.activate.jobexecutor=falseengine.asyncexecutor.enabled=trueengine.asyncexecutor.activate=trueengine.history.level=full
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2015 04:21 AM
Hi,
Since this log does not contain so many precious information it's hard to know what's happening.
please provide some more information:
- Activiti version
- database configuration (in case you changed it)
- or any other information you think could help. (maybe you'll find also some more detailed logs about the error)
Since this log does not contain so many precious information it's hard to know what's happening.
please provide some more information:
- Activiti version
- database configuration (in case you changed it)
- or any other information you think could help. (maybe you'll find also some more detailed logs about the error)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2015 07:44 AM
Please see the attached log file.
Here you have database connection
<code>
db=pgsql
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc
ostgresql://localhost/postgres
jdbc.username=postgres
jdbc.password=
</code>
Best regards
Here you have database connection
<code>
db=pgsql
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc

jdbc.username=postgres
jdbc.password=
</code>
Best regards
log-server.txt.zip
4 KB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2015 12:49 PM
I have got this SEVERE: Error listenerStart:
<code>
Dec 02, 2015 12:47:17 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Dec 02, 2015 12:47:17 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Dec 02, 2015 12:47:17 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Dec 02, 2015 12:47:17 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
Dec 02, 2015 12:47:17 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Dec 02, 2015 12:47:17 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Dec 02, 2015 12:47:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /appli/tomcat/webapps/activiti-rest.war
12:47:18,975 [localhost-startStop-1] INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed Dec 02 12:47:18 EST 2015]; root of context hierarchy
12:47:19,136 [localhost-startStop-1] INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Registering annotated classes: [class org.activiti.rest.conf.ApplicationConfiguration]
12:47:19,408 [localhost-startStop-1] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activiti-custom-context.xml]
Dec 02, 2015 12:47:22 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dec 02, 2015 12:47:22 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/activiti-rest] startup failed due to previous errors
12:47:22,118 [localhost-startStop-1] INFO org.activiti.rest.servlet.WebConfigurer - Destroying Web application
Dec 02, 2015 12:47:22 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/activiti-rest] created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Transactional resources]) and a value of type [java.util.HashMap] (value [{org.springframework.jdbc.datasource.SimpleDriverDataSource@47b34499=org.springframework.jdbc.datasource.ConnectionHolder@70e9311d}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Dec 02, 2015 12:47:22 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /appli/tomcat/webapps/activiti-rest.war has finished in 4,258 ms
Dec 02, 2015 12:47:22 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /appli/tomcat/webapps/activiti-explorer.war
</code>
<code>
Dec 02, 2015 12:47:17 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Dec 02, 2015 12:47:17 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Dec 02, 2015 12:47:17 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Dec 02, 2015 12:47:17 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
Dec 02, 2015 12:47:17 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Dec 02, 2015 12:47:17 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Dec 02, 2015 12:47:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /appli/tomcat/webapps/activiti-rest.war
12:47:18,975 [localhost-startStop-1] INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed Dec 02 12:47:18 EST 2015]; root of context hierarchy
12:47:19,136 [localhost-startStop-1] INFO org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Registering annotated classes: [class org.activiti.rest.conf.ApplicationConfiguration]
12:47:19,408 [localhost-startStop-1] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activiti-custom-context.xml]
Dec 02, 2015 12:47:22 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Dec 02, 2015 12:47:22 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/activiti-rest] startup failed due to previous errors
12:47:22,118 [localhost-startStop-1] INFO org.activiti.rest.servlet.WebConfigurer - Destroying Web application
Dec 02, 2015 12:47:22 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/activiti-rest] created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Transactional resources]) and a value of type [java.util.HashMap] (value [{org.springframework.jdbc.datasource.SimpleDriverDataSource@47b34499=org.springframework.jdbc.datasource.ConnectionHolder@70e9311d}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Dec 02, 2015 12:47:22 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /appli/tomcat/webapps/activiti-rest.war has finished in 4,258 ms
Dec 02, 2015 12:47:22 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /appli/tomcat/webapps/activiti-explorer.war
</code>
