the plain jobexecutor is satarted via a servletlisteber/filter. read the docs and/or search the forum
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.
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>