[JBoss jBPM] - Remove variable not removing
by ziglee
I have this code:
Map<String,Object> variables = new HashMap<String,Object>();
| variables.put("busLine", busLine);
| executionService.startProcessInstanceByKey("helloWorld", variables);
and I have an org.jbpm.api.listener.EventListener with this code:
public void notify(EventListenerExecution execution) {
| boolean removed = execution.removeVariable("busLine");
| }
with this process definition:
<process name="helloWorld" xmlns="http://jbpm.org/4.0/jpdl">
| <start g="16,22,80,40">
| <transition to="printHelloWorld" />
| </start>
|
| <java expr="#{busLineService}" g="166,24,138,40" method="save2"
| name="printHelloWorld">
| <arg>
| <object expr="#{busLine}" />
| </arg>
| <on event="end">
| <event-listener class="br.com.acttive.wicketjbpm.workflow.WorkflowListener">
| </event-listener>
| </on>
| <transition name="to state1" to="state1" g="-49,-18" />
| </java>
|
| <state name="state1" g="287,158,92,52">
| <transition name="to end1" to="end1" g="-42,-18" />
| </state>
|
| <end g="422,18,48,48" name="end1" />
| </process>
where busLine is an entity synchronized with hibernate and I'm not beeing able to remove this variable from the jbpm4_variable table.
Anyone knows why this happens?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249058#4249058
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249058
16 years, 8 months
[JBossWS] - Re: Problem in a WSclient (JBoss 4.2.3) to connect .NET serv
by magacho
The [404] is the answer from our partner, when he got a transfer-encoding: chunked for protection agains Deny os service attacs, he returns 404 as an answer.
The fact is that depending on the context (EJB or WS) the code (Soap Request) works in two diferent ways.
| WS
| POST /virtual/wsi/cap.asmx HTTP/1.1
| SOAPAction: "http://qqcoisa.com.br/GetAuthorized"
| Content-Type: text/xml; charset=UTF-8
| JBoss-Remoting-Version: 22
| User-Agent: JBossRemoting - 2.2.2.SP8
| Host: ecommerce.redecard.com.br
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
| Connection: keep-alive
| Content-Length: 860
|
| JNDI Remote / Local
| POST /virtual/ws/cap.asmx HTTP/1.1
| SOAPAction: "http://qqcoisa.com.br/GetAuthorized"
| Content-Type: text/xml; charset=UTF-8
| JBoss-Remoting-Version: 22
| User-Agent: JBossRemoting - 2.2.2.SP8
| Host: ecommerce.redecard.com.br
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
| Connection: keep-alive
| Transfer-Encoding: chunked
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249057#4249057
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249057
16 years, 8 months