[
https://jira.jboss.org/browse/JBESB-3457?page=com.atlassian.jira.plugin.s...
]
Kevin Conner closed JBESB-3457.
-------------------------------
Resolution: Rejected
Body contents are not serializable.
Riftsaw is unable to invoke services exposed via SOAPProcessor.
---------------------------------------------------------------
Key: JBESB-3457
URL:
https://jira.jboss.org/browse/JBESB-3457
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.8
Reporter: Marek Baluch
Rifsaw uses SOAPMessageImpl from JBoss WS to invoke a concrete web service. Because the
MarshalUnmarshalManager does not have the correct plugin which can unpack the message an
XMLStreamException is thrown. See stack-trace bellow.
Stack-Trace:
12:47:23,297 DEBUG [JBossRemotingGatewayListener] JBoss Remoting Gateway failed to
synchronously deliver message to target service [ESBCategory:GoodByeService].
org.jboss.soa.esb.listeners.message.MessageDeliverException: Caught (un)marshal related
exception during attempted send/receive.
at
org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.attemptDelivery(ServiceInvoker.java:697)
at
org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.access$200(ServiceInvoker.java:569)
at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:359)
at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:254)
at
org.jboss.soa.esb.client.ServiceInvoker.deliverToDeadLetterService(ServiceInvoker.java:296)
at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:227)
at
org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapter.java:107)
at
org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDeliveryAdapter.java:86)
at
org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.java:375)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:2034)
at org.jboss.remoting.Client.invoke(Client.java:877)
at
org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:232)
at
org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
at
org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternalSOAP(DispatchImpl.java:249)
at
org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:171)
at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:134)
at
org.jboss.soa.bpel.runtime.ws.WebServiceClient$TwoWayCallable$1.call(WebServiceClient.java:236)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:284)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:239)
at
org.jboss.soa.bpel.runtime.ws.WebServiceClient$TwoWayCallable.call(WebServiceClient.java:210)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.soa.esb.couriers.CourierMarshalUnmarshalException: Failed to
serialize ESB Message.
at
org.jboss.internal.soa.esb.couriers.JmsCourier.internalDeliver(JmsCourier.java:225)
at org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:182)
at
org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliver(TwoWayCourierImpl.java:189)
at
org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.attemptDelivery(ServiceInvoker.java:667)
... 26 more
Caused by: java.io.IOException: Util.serialize caught XMLStreamException:
at org.jboss.soa.esb.util.Util.serialize(Util.java:198)
at
org.jboss.internal.soa.esb.couriers.JmsCourier.internalDeliver(JmsCourier.java:219)
... 29 more
Caused by: javax.xml.stream.XMLStreamException: Cannot pack
object:org.jboss.soa.esb.message.defaultEntry
org.jboss.ws.core.soap.SOAPMessageImpl@136c2c1
at
org.jboss.internal.soa.esb.message.format.xml.BodyImpl.writeChildContent(BodyImpl.java:148)
at
org.jboss.internal.soa.esb.util.stax.ElementContent.writeContent(ElementContent.java:41)
at
org.jboss.internal.soa.esb.util.stax.StreamHelper.writeElement(StreamHelper.java:125)
at
org.jboss.internal.soa.esb.message.format.xml.MessageImpl.writeChildContent(MessageImpl.java:236)
at
org.jboss.internal.soa.esb.util.stax.ElementContent.writeContent(ElementContent.java:41)
at org.jboss.soa.esb.util.Util.serialize(Util.java:188)
... 30 more
Caused by: org.jboss.soa.esb.couriers.CourierMarshalUnmarshalException: Failed to
serialize ESB Message.
at
org.jboss.internal.soa.esb.couriers.JmsCourier.internalDeliver(JmsCourier.java:225)
at org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:182)
at
org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliver(TwoWayCourierImpl.java:189)
at
org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.attemptDelivery(ServiceInvoker.java:667)
... 26 more
Caused by: java.io.IOException: Util.serialize caught XMLStreamException:
at org.jboss.soa.esb.util.Util.serialize(Util.java:198)
at
org.jboss.internal.soa.esb.couriers.JmsCourier.internalDeliver(JmsCourier.java:219)
... 29 more
Caused by: javax.xml.stream.XMLStreamException: Cannot pack
object:org.jboss.soa.esb.message.defaultEntry
org.jboss.ws.core.soap.SOAPMessageImpl@136c2c1
at
org.jboss.internal.soa.esb.message.format.xml.BodyImpl.writeChildContent(BodyImpl.java:148)
at
org.jboss.internal.soa.esb.util.stax.ElementContent.writeContent(ElementContent.java:41)
at
org.jboss.internal.soa.esb.util.stax.StreamHelper.writeElement(StreamHelper.java:125)
at
org.jboss.internal.soa.esb.message.format.xml.MessageImpl.writeChildContent(MessageImpl.java:236)
at
org.jboss.internal.soa.esb.util.stax.ElementContent.writeContent(ElementContent.java:41)
at org.jboss.soa.esb.util.Util.serialize(Util.java:188)
... 30 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira