[Beginner's Corner] - Time Out
by Michael Pellaton
Michael Pellaton [https://community.jboss.org/people/jochen89] created the discussion
"Time Out"
To view the discussion, visit: https://community.jboss.org/message/804271#804271
--------------------------------------------------------------
Hallo Zusammen
Ich bin ganz neu im JBOSS "Business" und habe keine Ahnung über den eigentlichen Aufbau und die Steuerung eines JBOSS Servers.
Ich weiss nicht mal ob ich hier im richtigen Bereich bin. :-)
Ich wurde mal so rasch ins kalte Wasser geschmissen und muss einen bereits installierten JBOSS Server hosten bzw. warten. (Es ist ein JBOSS 5.1.0.GA Server)
Nun habe ich das Problem, dass bei einer Aktion in dem Programm immer ein TimeOut erzeugt wird. Die Aktion ist echt riesig und dauert locker mal 5 - 10 Minuten bis sie fertig ausgeführt wurde.
Ich habe durch Internet Research den Transaction TimeOut und den Session TimeOut gefunden, aber die beiden scheinen keinen Einfluss auf die Routine zu haben. (Ich habe sie verhundertfacht und der TimeOut kommt trotdem schon nach 2 Minuten)
Ich weiss nicht, ob mir jemand helfen, aber ich wäre echt dankbar. Ohne diese Routine bringt das ganze Programm nichts. :-S
Danke
Michael
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/804271#804271]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - how can i do, make it to work? about signal event
by bird86
bird86 [https://community.jboss.org/people/bird86] created the discussion
"how can i do, make it to work? about signal event"
To view the discussion, visit: https://community.jboss.org/message/804221#804221
--------------------------------------------------------------
”my/test/event/signal/signalevent.bpmn“
<process processType="Private" isExecutable="true" id="signalevent" name="" >
<!-- nodes -->
<startEvent id="_1" name="Start" />
<intermediateCatchEvent id="_2" name="Signal" >
<signalEventDefinition signalRef="signalevent"/>
</intermediateCatchEvent>
<endEvent id="_3" name="End" >
<terminateEventDefinition/>
</endEvent>
<!-- connections -->
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />
</process>
public class SignalEventTest extends MyJbpm5TestCase {
public void testSignalEvent() {
String[] pro = { "my/test/event/signal/signalevent.bpmn" };
StatefulKnowledgeSession ksession = newStatefulKnowledgeSession(pro,
new String[]{});
ProcessInstance startProcess = ksession.startProcess("signalevent");
long processInstanceId = startProcess.getId();
//myAssertNodeActive(processInstanceId, ksession, new String[] { "Signal" });
WorkflowProcessInstance processInstance = (WorkflowProcessInstance)ksession.getProcessInstance(processInstanceId);
println(processStateName[processInstance.getState()]);
Collection<NodeInstance> nodeInstances = processInstance.getNodeInstances();
for (NodeInstance nodeInstance : nodeInstances) {
if(nodeInstance==null){
println("nodeInstance==null");
}else{
println(nodeInstance.getNodeName());
}
}
}
}
https://community.jboss.org/servlet/JiveServlet/showImage/2-804221-20496/... https://community.jboss.org/servlet/JiveServlet/downloadImage/2-804221-20...
Sorry, My English is very poor!!!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/804221#804221]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years