You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by "Brand, Olivier" <Ol...@vodafone.com> on 2003/04/02 10:41:03 UTC

Exception handling part 2 -> EJB binding

Related to the previous email, here is a different exception on the client when calling an EJB method throwing an exception.

<system-err><![CDATA[org.apache.wsif.WSIFException: Operation failed!; nested exception is: 
	java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
	java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.apache.crimson.tree.ElementNode2
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
	java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.apache.crimson.tree.ElementNode2
java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.apache.crimson.tree.ElementNode2
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:440)
	at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1137)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
	at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
	at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
	at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
	at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
	at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
	at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:207)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
	at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
	at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:138)
	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
	at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
	at $Proxy2.getClearance(Unknown Source)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(Unknown Source)
	at org.apache.wsif.base.WSIFClientProxy.invoke(Unknown Source)
	at $Proxy0.getClearance(Unknown Source)
	at com.vodafone.global.charging.client.ChargingGenericStubTest.testException(ChargingGenericStubTest.java:149)
	at java.lang.reflect.Method.invoke(Native Method)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:524)
]]></system-err>

Olivier Brand
Senior Java Architect - Mobile Services and Integration
Global IT & Technology Management
Vodafone AG
Mannesmannufer 3 - 40213 Dusseldorf - Germany
Mobile: +49 172 2094646
E-Mail: olivier.brand@vodafone.com