[jboss-user] [JBoss jBPM] - Re: Problem with Timer, Scheduler
sid82
do-not-reply at jboss.com
Mon Feb 25 06:43:53 EST 2008
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131794#4131794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131794
More information about the jboss-user
mailing list