This content has been marked as final.
Show 3 replies
-
1. Re: Action associated with timer is not invoked
krohm Oct 26, 2009 10:21 AM (in response to jbosspnet)Hi.
Had a similar problem, the solution was to add the business calandar and set it properly. (apparently required by the jobexecutor to determine durations) -
2. Re: Action associated with timer is not invoked
krohm Oct 26, 2009 10:22 AM (in response to jbosspnet)<import resource="jbpm.jobexecutor.cfg.xml"/> <import resource="jbpm.businesscalendar.cfg.xml"/>
-
3. Re: Action associated with timer is not invoked
jbosspnet Oct 26, 2009 12:01 PM (in response to jbosspnet)Thanks for you reply. I also think that the problem is in configuration. Actually my jbpm.cfg.xml is
<jbpm-configuration> <!-- configuration property used by persistence service impl org.jbpm.persistence.db.DbPersistenceServiceFactory --> <string name="resource.hibernate.cfg.xml" value="hibernate.cfg.xml" /> <!-- configuration resource files pointing to default configuration files in jbpm-jpdl.jar --> <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties" /> <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties" /> <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties" /> <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml" /> <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml" /> <string name="resource.parsers" value="org/jbpm/jpdl/par/jbpm.parsers.xml" /> <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml" /> <string name="resource.mail.templates" value="jbpm.mail.templates.xml" /> <int name="jbpm.byte.block.size" value="1024" singleton="true" /> <string name="jbpm.mail.smtp.host" value="localhost" /> <bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true" /> <bean name="jbpm.variable.resolver" class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true" /> <bean name="jbpm.mail.address.resolver" class="org.jbpm.identity.mail.IdentityAddressResolver" singleton="true" /> <bean name="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor" singelton="true" /> </jbpm-configuration>
As you see I have the entry:<string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties" />
Is it the same of<import resource="jbpm.businesscalendar.cfg.xml"/>
as you have wrote?
Otherwise, where can I find and define the resources "jbpm.jobexecutor.cfg.xml" and "jbpm.businesscalendar.cfg.xml" ?
Regards.