Description
A NotSerializableException exception is thrown when trying to retrieve a transfer token via the custody transfer RMI interface. This is caused by the javax.xml.ws.Holder class because it is not serializable.
Stack trace:
error marshalling arguments; nested exception is: java.io.NotSerializableException: javax.xml.ws.Holder
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy12.getTransferToken(Unknown Source)
at org.jboss.soa.esb.qa.tests.failover.juddi.v3.JUDDIRMIPublishingTest.testCustodyTransfer(JUDDIRMIPublishingTest.java:241)
23 lines not shown
Caused by javax.xml.ws.Holder
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:274)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy12.getTransferToken(Unknown Source)
at org.jboss.soa.esb.qa.tests.failover.juddi.v3.JUDDIRMIPublishingTest.testCustodyTransfer(JUDDIRMIPublishingTest.java:241)
23 lines not shown
Attachments
Issue Links
- duplicates
-
JUDDI-252 RMI broken for Subscription API
- Closed