aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes java.rmi.MarshalException: Exception occurred in server thread; nested Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.rmi.MarshalException: Exception occurred in server thread; nested " Watch "java.rmi.MarshalException: Exception occurred in server thread; nested " New topic
Author

java.rmi.MarshalException: Exception occurred in server thread; nested

praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
Hello
I got an ear file from one person.if i deploy it in WAS 6.1 , it works fine.Since i need to modify it i imported the EAR file into Application Server Toolkit 6.0 and pasted the source code manually.But when i built ear again and try to deploy i am getting the following error.



[11/1/07 19:10:21:883 IST] 0000002c SystemErr R java.rmi.MarshalException: Exception occurred in server thread; nested exception is:
java.io.NotSerializableException
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:490)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObject(UtilDelegateImpl.java:795)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at javax.rmi.CORBA.Util.copyObject(Util.java:333)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at ge.nbsm.weGGI.ejb.cache._GGICacheRemote_Stub.getCacheValues(_GGICacheRemote_Stub.java:270)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at ge.nbsm.weGGI.Delegate.CacherDelegate.getCacheValues(CacherDelegate.java:47)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at ge.nbsm.weGGI.common.utility.StartupCacher.loadCache(StartupCacher.java:42)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at ge.nbsm.weGGI.common.utility.GGILifeCycleListener.contextInitialized(GGILifeCycleListener.java:59)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
[11/1/07 19:10:21:883 IST] 0000002c SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)


I would be greatful if anyone could help me in fixing it out.Thanks in advance
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10201
    
166



Looks like some object being passed from ge.nbsm.weGGI.Delegate.CacherDelegate.getCacheValues method to the remote bean is not serializable (not implementing java.io.Serializable).


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.rmi.MarshalException: Exception occurred in server thread; nested