<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Jboss ESB JBPM - No EPR present in process instance
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/keljboss">keljboss</a> in <i>JBoss ESB Development</i> - <a href="http://community.jboss.org/message/586500#586500">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am a new in jboss ESB, I am triyng to make JBPM and JBOSS ESB exchange().</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>my example is that jbpm calls ESB and get the response, when i test the esb using soapUI the process work fine, but using JBPM i have the exception below</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>org.jboss.soa.esb.ConfigurationException: <strong style="font-size: 12px; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">No EPR present in process instance</strong></p><p>          at org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler.execute(EsbActionHandler.java:137)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>my jboss-esb.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;"><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><?xml version="1.0"?></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><span style="font-size: 12px;"><jbossesb parameterReloadSecs="5"xmlns="</span><a class="jive-link-external-small" href="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd" style="font-size: 12px; outline-style: none; color: #355491;" target="_blank">http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd</a><span style="font-size: 12px;">"xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" style="font-size: 12px; outline-style: none; color: #355491;" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span style="font-size: 12px;">" xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsdhttp://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd" style="font-size: 12px; outline-style: none; color: #355491;" target="_blank">http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsdhttp://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd</a><span style="font-size: 12px;">"></span></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><providers></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><jbr-provider name="ibaSommeHttpGateway" protocol="http"></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><jbr-bus busid="ibaSommeHttpGateway" port="9999"/></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></jbr-provider></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><jbr-provider name="ibaMultiplicationHttpGateway" protocol="http"></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><jbr-bus busid="ibaMultiplicationHttpGateway" port="7777"/></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></jbr-provider></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></providers></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><services></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><service category="Calcule"   description="calcule la somme de deux valeurs" invmScope="GLOBAL" name="somme"></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><listeners></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><jbr-listener busidref="ibaSommeHttpGateway" is-gateway="true" name="ibaHttpSommeGatewayListener"/></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></listeners></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><actions mep="RequestResponse"></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><action class="org.jboss.soa.esb.actions.routing.http.HttpRouter" name="ibaSommeHttpRouter"></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><property name="method" value="POST"/></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><span style="font-size: 12px;"><property name="endpointUrl" value="</span><a class="jive-link-external-small" href="http://localhost:8080/somme/SommeService?wsdl" style="font-size: 12px; outline-style: none; color: #355491;" target="_blank">http://localhost:8080/somme/SommeService?wsdl</a><span style="font-size: 12px;">"/></span></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><span style="font-size: 12px;"><property name="endpointAdresse" value="</span><a class="jive-link-external-small" href="http://localhost:8080/somme/SommeService?wsdl" style="font-size: 12px; outline-style: none; color: #355491;" target="_blank">http://localhost:8080/somme/SommeService?wsdl</a><span style="font-size: 12px;">"/></span></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><property name="reply-to-originator" value="true"/></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></action></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><action class="org.jboss.soa.esb.actions.SystemPrintln" name="message"></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><property name="message" value="in the somme yoooou pi ESB"/></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></action></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></actions></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></service></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><service category="Calcule"   description="calcule la multiplication de deux valeurs"   invmScope="GLOBAL" name="multiplication"></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><listeners></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><jbr-listener busidref="ibaMultiplicationHttpGateway"     is-gateway="true" name="ibaHttpMultiGatewayListener"/></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></listeners></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><actions mep="RequestResponse"></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><action class="org.jboss.soa.esb.actions.routing.http.HttpRouter" name="ibaMultiplicationHttpRouter"></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><property name="method" value="POST"/></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><span style="font-size: 12px;"><property name="endpointUrl" value="</span><a class="jive-link-external-small" href="http://localhost:8080/multiplication/MultiplicationService?wsdl" style="font-size: 12px; outline-style: none; color: #355491;" target="_blank">http://localhost:8080/multiplication/MultiplicationService?wsdl</a><span style="font-size: 12px;">"/></span></span>      <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><property name="reply-to-originator" value="true"/></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></action></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><action class="org.jboss.soa.esb.actions.SystemPrintln" name="message"></span>     <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><property name="message" value="in the multiplication ESB"/></span>    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></action></span>   <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></actions></span>  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></service></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></services></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></jbossesb></span></code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and the precessdefinition.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;"><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><?xml version="1.0" encoding="utf-8"?></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><process-definition xmlns="urn:jbpm.org:jpdl-3.2"          name="calcule"></span> </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">         <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><start-state name="start"></span>  </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">                  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><transition to="somme" name="callSomme"></span>          </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">                    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><action name="action"></span>    </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">                                    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><message></span>Going to the SOe<span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></message></span> </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">                             <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></action></span>   </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">                 <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></transition></span>    </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">      <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></start-state></span>        </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">  <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><node name="somme"></span>             </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;">       <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><action    class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler"></span>  </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;"></code>        <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><replyToOriginator></span>true<span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></replyToOriginator></span></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-xml" style="font-family: monospace;"><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"> </span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><esbServiceName></span></code>somme<span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></esbServiceName></span></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"> </span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><esbCategoryName></span>Calcule<span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></esbCategoryName></span></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"> </span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><replyToOriginator></span>reply<span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></replyToOriginator></span></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"> </span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><bpmToEsbVars></span>                                        <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><mapping bpm="a" esb="a"></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></mapping></span>                                        <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><mapping bpm="b" esb="b"></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></mapping></span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></bpmToEsbVars></span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><esbToBpmVars></span>                                        <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><mapping bpm="somme" esb="somme"></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></mapping></span>                              <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></esbToBpmVars></span>                    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></action></span>                    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><transition to="fin" name="tofin"></span>                    <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></transition></span>          <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></node></span>          <span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"><end-state name="fin"></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></end-state></span><span class="jive-xml-tag" style="font-size: 12px; color: navy; font-weight: bold;"></process-definition></span></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>the java code :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java">     JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();    </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java">  JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();    </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java">  GraphSession graphSession = jbpmContext.getGraphSession();   </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java">  ProcessDefinition processDefinition =           </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java">         graphSession.findLatestProcessDefinition(<span style="color: red;">"calcule"</span>);  </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java">    String a = request.getParameter(<span style="color: red;">"a"</span>);    </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> String b = request.getParameter(<span style="color: red;">"b"</span>);   </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> ProcessInstance processInstance = <span style="color: navy;"><strong style="font-size: 12px; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">new</strong></span> ProcessInstance(processDefinition);  </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> Token token = processInstance.getRootToken(); </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> System.out.println(token.getNode().getName());   </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> ContextInstance contextInstance = processInstance.getContextInstance(); </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> contextInstance.setVariable(<span style="color: red;">"a"</span>, <span style="color: navy;"><strong style="font-size: 12px; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">new</strong></span> Float(500));    </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> contextInstance.setVariable(<span style="color: red;">"b"</span>, <span style="color: navy;"><strong style="font-size: 12px; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">new</strong></span> Float(500));     </code></pre><pre class="jive-pre" style="background-color: #ffffff; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 2px; font-size: 12px; margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; display: block; overflow-x: auto; overflow-y: auto; width: auto; white-space: pre; border-top-color: #eeeeee; border-right-color: #eeeeee; border-bottom-color: #eeeeee; border-left-color: #cccccc; background-position: repeat repeat; border-style: solid; padding: 10px;"><code class="jive-code jive-java"> processInstance.getRootToken().signal(); </code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>is there anything that i messed ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>for information i am using jboss-esb4.9,  jbpm 3.2  and jbossAS 5.1.0GA</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>thank you for your help</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Cheers</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/586500#586500">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss ESB Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>