This content has been marked as final.
Show 3 replies
-
1. Re: [size=16][b]JobExecutor not started when restart jboss s
kukeltje Jan 14, 2009 6:46 AM (in response to kasabov)the plain jobexecutor is satarted via a servletlisteber/filter. read the docs and/or search the forum
-
2. Re: [size=16][b]JobExecutor not started when restart jboss s
kasabov Jan 14, 2009 7:09 AM (in response to kasabov)I searched a lot of time, but I couldn't find anything about JobExecutor configuration. So you say that there's no way to configure it in jbpm.cfg.xml to start automaticly when jboss starts.
-
3. Re: [size=16][b]JobExecutor not started when restart jboss s
karluqs Jan 28, 2009 6:53 AM (in response to kasabov)Hi kasabov,
I had the same problem. Configure in the web.xml the following listener<listener> <description> Starts the job executor on servlet context initialization and stops it on servlet context destruction. </description> <listener-class>org.jbpm.web.JobExecutorLauncher</listener-class> </listener>
This will start the jobscheduler
You can also configure the following servlet, that's optional, only for information on jobScheduler health<servlet> <description> This servlet has the purpose of executing pending jobs. Deprecated, replaced by JobExecutorLauncher. </description> <servlet-name>JobExecutorServlet</servlet-name> <servlet-class>org.jbpm.job.executor.JobExecutorServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>JobExecutorServlet</servlet-name> <url-pattern>/jobs</url-pattern> </servlet-mapping>