[jBPM] - Re: jBPM Timer usage
by saig0
saig0 [https://community.jboss.org/people/saig0] created the discussion
"Re: jBPM Timer usage"
To view the discussion, visit: https://community.jboss.org/message/758483#758483
--------------------------------------------------------------
The following code is the configuration of the time event in jBPM. The expression "0s###1s" include the delay (0s) and the period (1s) of the timer.
<timerEventDefinition>
<timeCycle xsi:type="tFormalExpression">0s###1s</timeCycle>
</timerEventDefinition>
You can configure a boundary timer events if it should terminate the attached process or not then it fire. Just set the attribute "cancelActivity" on boundary event. So you can use it to build a remember function with a not terminating boundary timer event. Note that a boundary event can only attached to a process and not to a single activity.
<boundaryEvent id="_5" name="Timeout" attachedToRef="_2" cancelActivity="false" >
<timerEventDefinition>
<timeDuration xsi:type="tFormalExpression">5s</timeDuration>
</timerEventDefinition>
</boundaryEvent>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758483#758483]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[Performance Tuning] - JSF Could not find saved view state for token Messages
by Navin Maheshwari
Navin Maheshwari [https://community.jboss.org/people/navinpmjboss] created the discussion
"JSF Could not find saved view state for token Messages"
To view the discussion, visit: https://community.jboss.org/message/758463#758463
--------------------------------------------------------------
Hello,
I am getting following console messages while doing p*erformance testing on my jboss 7.0.2.final* version of application server. I am usning MyFaces trinidad JSF for my UI. While runing RPT script for performance testing of 100-200 users, I am getting following messages in my jboss server console. This is running continuosly in console. Please sugggest some solution.
Am I missing something in my faces configuration? My JSF Trinidad related jars are,
jsf-facelets-1.1.15.jar
jsf-impl.jar
trinidad-api-1.2.12.jar
trinidad-impl-1.2.12.jar
11:10:55,672 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-540) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=statusId]
11:10:55,672 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-540) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=actionTaken]
11:10:55,750 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-543) Could not find saved view state for token -sqkvatzwq
11:10:55,781 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-543) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=statusId]
11:10:55,781 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-543) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=actionTaken]
11:10:55,797 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-554) Could not find saved view state for token -sqkvatzwq
11:10:55,813 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-554) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=statusId]
11:10:55,828 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-554) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=actionTaken]
11:10:57,809 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-606) Could not find saved view state for token -sqkvatzwq
11:10:57,809 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-586) Could not find saved view state for token -sqkvatzwq
11:10:57,856 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-586) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=statusId]
11:10:57,856 WARNING [org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer] (http--10.74.97.77-8080-586) Could not find selected item matching value "" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=actionTaken]
11:10:57,887 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-572) Could not find saved view state for token -sqkvatzwq
11:10:58,480 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-592) Could not find saved view state for token -sqkvatzwq
11:11:03,192 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-587) Could not find saved view state for token -sqkvatzwq
11:11:03,254 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-601) Could not find saved view state for token -sqkvatzwq
11:11:03,270 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-550) Could not find saved view state for token -sqkvatzwq
11:11:03,285 SEVERE [org.apache.myfaces.trinidadinternal.application.StateManagerImpl] (http--10.74.97.77-8080-609) Could not find saved view state for token -sqkvatzwq
Thanks
Navin
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758463#758463]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[jBPM] - Human Task and variables
by tmmaluleke
tmmaluleke [https://community.jboss.org/people/tmmaluleke] created the discussion
"Human Task and variables"
To view the discussion, visit: https://community.jboss.org/message/756749#756749
--------------------------------------------------------------
Hello,
I was trying to do a business process with variables but wahen i run it i got this error. I have attached my project please take a look at it mybe i made a mistake.
(null: 668, 15): cvc-id.1: There is no ID/IDREF binding for IDREF 'discription'.
Could not find variable scope for variable discription
when trying to execute Work Item Human Task
Continuing without setting parameter.
0 29/08 14:58:25,250[Thread-2] ERROR service.hornetq.HornetQTaskClientConnector.run - org.jbpm.process.workitem.wsht.BlockingAddTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetTaskResponseHandler
Exception in thread "Thread-2" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:134)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: org.jbpm.process.workitem.wsht.BlockingAddTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$GetTaskResponseHandler
at org.jbpm.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:75)
at org.jbpm.task.service.hornetq.HornetQTaskClientHandler.messageReceived(HornetQTaskClientHandler.java:56)
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:120)
... 1 more
DOEOfficial execute taskSchool Evaluation(5: )
java.lang.IllegalStateException: The Marshaller Context Needs to be Provided
at org.jbpm.task.utils.ContentMarshallerHelper.marshalSingle(ContentMarshallerHelper.java:98)
at org.jbpm.task.utils.ContentMarshallerHelper.marshal(ContentMarshallerHelper.java:59)
at department.DepartmentOfEductaionProcess.main(DepartmentOfEductaionProcess.java:79)
9953 29/08 14:58:35,203[Thread-3] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem - Wed Aug 29 14:58:35 WAT 2012: Error when creating task on task server for work item id 2. Error reported by task server: Task operation request timed out
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/756749#756749]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months