[jboss-user] [jBPM] - jbpm 5.4 and simulation
amadets
do-not-reply at jboss.com
Fri Nov 30 07:52:19 EST 2012
amadets [https://community.jboss.org/people/amadets] created the discussion
"jbpm 5.4 and simulation"
To view the discussion, visit: https://community.jboss.org/message/779324#779324
--------------------------------------------------------------
Hi,
I downloaded the latest version 5.4 officially shared.
I install using the ant install.demo.noeclipse. Everything is ok
next: ant start.demo.noeclipse and the whole starts and Everything is ok
I run google chrome and I type: localhost:8080/drools-guvnor
in default package create new "new BMPN Process".
I put on the process: Start -> Activities (Task) -> end
The properties tab for:
process - simulation -> Base Currency: USD
process - simulation -> Base time unit: minutes
Task -> Type: None
Task -> name: Task1
Task -> simulation -> Cost per time unit: 50
Task -> simulation -> Currency: USD
Task -> simulation -> Distribution Type: random
Task -> simulation -> Processing time (max): 10
Task -> simulation -> Processing time (min): 8
Task -> simulation -> Staff availabity: 2
Task -> simulation -> Time unit: minutes
Task -> simulation -> Working hours: 8
I click the validate process, message: There are not validation error
I click Run simulation:
Number of instance: 2
iterval: 2
Interval Units: minutes
and I click "Run simulation" get the message: Simulation engine did not return results.
I look to the jboss logs:
ERRORS:
Attribute 'type' must appear on element 'bpmn2:relationship'.
Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.
Cannot resolve 'drools:ScenarioParameters_._type' to a type definition for element 'drools:ScenarioParameters'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
INFO:
Duration for activity 1 is avg: 554232.0; min: 554232.0; max:554232.0 count 1
Duration for end event is avg: 554232.0; min: 554232.0; max:554232.0
Duration for processs is avg: 554232.0; min: 554232.0; max:554232.0 [defaultPackage.Simul1 at Simul1@null]
Duration for activity 1 is avg: 546719.5; min: 539207.0; max:554232.0 count 2
Duration for end event is avg: 546719.5; min: 539207.0; max:554232.0
Duration for processs is avg: 546719.5; min: 539207.0; max:554232.0 [defaultPackage.Simul1 at Simul1@null]
SUMMARY Duration for end event is avg: 550475.75; min: 539207.0; max:554232.0 count 2.0
SUMMARY Duration for activity 1 is avg: 550475.75; min: 539207.0; max:554232.0 count 2.0
Duration for processs is avg: 550475.75; min: 539207.0; max:554232.0 [defaultPackage.Simul1 at Simul1@null]
what's wrong?
ask for any tips.
ts
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779324#779324]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121130/ef5ad6a9/attachment.html
More information about the jboss-user
mailing list