Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem on Calling SessionBean method

  Asked By: Thelma    Date: Jun 16    Category: Java    Views: 726
  


Caused by: java.io.NotSerializableException: java.lang.ThreadLocal
at java.io.ObjectOutputStream.writeObject0
(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.defaultWriteFields
(ObjectOutputStream.java:1369)
at java.io.ObjectOutputStream.writeSerialData
(ObjectOutputStream.java:1341)
at java.io.ObjectOutputStream.writeOrdinaryObject
(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0
(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.defaultWriteFields
(ObjectOutputStream.java:1369)
at java.io.ObjectOutputStream.writeSerialData
(ObjectOutputStream.java:1341)
at java.io.ObjectOutputStream.writeOrdinaryObject
(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0
(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.defaultWriteFields
(ObjectOutputStream.java:1369)
at java.io.ObjectOutputStream.writeSerialData
(ObjectOutputStream.java:1341)
at java.io.ObjectOutputStream.writeOrdinaryObject
(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0
(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject
(ObjectOutputStream.java:291)
at java.rmi.MarshalledObject.<init>(MarshalledObject.java:92)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke
(JRMPInvoker.java:410)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch
(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall
(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages
(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run
(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer
(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall
(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke
(Unknown Source)
at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke
(JRMPInvokerProxy.java:119)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker
(InvokerInterceptor.java:227)
at org.jboss.invocation.InvokerInterceptor.invoke
(InvokerInterceptor.java:167)
at org.jboss.proxy.TransactionInterceptor.invoke
(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke
(SecurityInterceptor.java:55)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke
(StatelessSessionInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke
(ClientContainer.java:86)
... 2 more

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Problem on Calling SessionBean method Or get search suggestion and latest updates.




Tagged: