This content has been marked as final.
Show 3 replies
-
1. using "duedatetime" in timer
bestage Aug 13, 2009 6:50 AM (in response to bestage)Has anyone used this tag in jBPM4?
I am getting this error:
12:40:34,379 INF | [DeployerManager] errors during deployment of deployment(213):
error: couldn't interpret the dom model: no 'jbpm.duedatetime.format' in current environment : org.jbpm.api.JbpmException: no 'jbpm.duedatetime.format' in current environment
After adding the following line to jbpm.cfg.xml:
<jbpm-configuration>
...
...
nothing changed. -
2. Re: using
bestage Aug 13, 2009 6:52 AM (in response to bestage):-))) 3rd attempt
"bestage" wrote:
Has anyone used this tag in jBPM4?
I am getting this error:
12:40:34,379 INF | [DeployerManager] errors during deployment of deployment(213):
error: couldn't interpret the dom model: no 'jbpm.duedatetime.format' in current environment : org.jbpm.api.JbpmException: no 'jbpm.duedatetime.format' in current environment
After adding the following line to jbpm.cfg.xml:
nothing changed.<jbpm-configuration> ... <string name="jbpm.duedatetime.format" value="HH:mm dd/MM/yyyy" /> ...
-
3. Re: <duedatetime> in timer
bestage Aug 13, 2009 7:19 AM (in response to bestage)The previous problem has disappeared after I changed my jbpm.cgf.xml like this:
<?xml version="1.0" encoding="UTF-8"?> <jbpm-configuration xmlns="http://jbpm.org/xsd/cfg"> <process-engine-context> <repository-service /> <repository-cache /> <execution-service /> <history-service /> <management-service /> <identity-service /> <task-service /> <string name="jbpm.duedatetime.format" value="HH:mm dd/MM/yyyy" /> ....
But now I am getting another exception:
13:13:51,115 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.SignalCmd@c940c94
org.jbpm.api.JbpmException: text is null
at org.jbpm.pvm.internal.cal.Duration.(Duration.java:77)
at org.jbpm.pvm.internal.job.TimerImpl.setDueDateDescription(TimerImpl.java:78)
at org.jbpm.pvm.internal.model.ScopeInstanceImpl.createTimer(ScopeInstanceImpl.java:294)
at org.jbpm.pvm.internal.model.ScopeInstanceImpl.initializeTimers(ScopeInstanceImpl.java: