I all,
I hope this post help some of u.
I've the need to run activebpel on a JVM 1.6 so I occur in
http://forums.active-endpoints.com/archive/index.php/t-3090.html .
The problem for mi is that the process terminate but the engine cannot
build the response and terminate with this exc:
{{{
org.activebpel.rt.bpel.AeBusinessProcessException: Error building
output message
at
org.activebpel.rt.axis.bpel.receivers.AeRPCReceiveHandler.mapOutputData(AeRPCReceiveHandler.java:
254)
at
org.activebpel.rt.bpel.server.engine.receive.AeAbstractReceiveHandler.invokeProcessEngine(AeAbstractReceiveHandler.java:
167)
at
org.activebpel.rt.bpel.server.engine.receive.AeAbstractReceiveHandler.handleReceiveData(AeAbstractReceiveHandler.java:
74)
at
org.activebpel.rt.bpel.impl.AeBusinessProcessEngine.queueReceiveData(AeBusinessProcessEngine.java:
521)
****
Caused by: java.lang.ClassCastException:
com.sun.xml.internal.messaging.saaj.soap.ver1_1.Envelope1_1Impl cannot
be cast to org.apache.axis.message.SOAPEnvelope
at
org.activebpel.rt.axis.bpel.receivers.AeRPCReceiveHandler.mapOutputData(AeRPCReceiveHandler.java:
179)
... 39 more
}}}
ActiveBpel people say that they don't support jre1.6.0 so the solution
is to run on jre1.5.
The problem for me come out if I use a process deployed as rpc/
literal. I've discovered that adding this
{{{
<!--SOAPMessageFactory configuration -->
<entry name="SOAPMessageFactory">
<entry name="Class"
value="org.apache.axis.soap.MessageFactoryImpl"/>
</entry>
}}}
to the aeEngineConfig.xml fix the problem.
I've take a look to the source and the class
org.activebpel.rt.axis.bpel.receivers.AeRPCReceiveHandler is coupled
with apache.axis implementation, instead the factory use configuration
and default implementation of javax.xml.soap.MessageFactory.
See u,
D.