This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
praveen kanakarajan
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.io.NotSerializableException


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).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic