This content has been marked as final.
Show 2 replies
-
1. Re: Problem with Timer, Scheduler
kukeltje Feb 25, 2008 2:18 AM (in response to sid82)I'm wondering what using the search on this forum (e.g. using google) would yield.... probably something like: "start the jobexecutor"
-
2. Re: Problem with Timer, Scheduler
sid82 Feb 25, 2008 6:43 AM (in response to sid82)Thanks for the reply. I tried starting the JobExecutor and it looks like it is running too.
What I did was :-
1. Created the following entry in my web.xml<servlet> <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>
When I hit the url (/jobs), it displays me a page which tells JbpmJobExecutor isAlive:true
Also, I change my jbpm.cfg.xml file, I replaced the following :-<bean name="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor"> <field name="jbpmConfiguration"><ref bean="jbpmConfiguration" /></field> <field name="name"><string value="JbpmJobExector" /></field> <field name="nbrOfThreads"><int value="1" /></field> <field name="idleInterval"><int value="5000" /></field> <field name="maxIdleInterval"><int value="3600000" /></field> <!-- 1 hour --> <field name="historyMaxSize"><int value="20" /></field> <field name="maxLockTime"><int value="600000" /></field> <!-- 10 minutes --> <field name="lockMonitorInterval"><int value="60000" /></field> <!-- 1 minute --> <field name="lockBufferTime"><int value="5000" /></field> <!-- 5 seconds --> </bean>
with the following :-<!-- <null name="jbpm.job.executor" /> -->
Rest remains the same.
But still no timer action is getting executed at all.
One more thing, I am using Weblogic as my application server and trying to use jbpm timer in my enterprise application.
Please if you can provide some input about what is going wrong.