wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes rmi.NoSuchObjectException help needed 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 "rmi.NoSuchObjectException help needed" Watch "rmi.NoSuchObjectException help needed" New topic
Author

rmi.NoSuchObjectException help needed

phanidharcool kaduluri
Greenhorn

Joined: Jul 16, 2003
Posts: 13
Hi All
Got a problem in my appication.

While accessing my application i am getting some HTTP Status 404 exception in blank page.

Following is the exception stack trace.

09:36:11,277 INFO [STDOUT] java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is:
E:\Customer-projects\jboss\jboss-3.2.5\server\APP_TEST\tmp\sessions\EmagiaModel-epudjgb3-3\epv7r85i-w.ser (The system cannot find the file specified)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:116)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:205)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:416)
09:36:11,277 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:723)
09:36:11,277 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
09:36:11,277 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:36:11,277 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
09:36:11,277 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
09:36:11,277 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
09:36:11,277 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104)
09:36:11,277 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
09:36:11,277 INFO [STDOUT] at $Proxy216.setCommand(Unknown Source)
09:36:11,277 INFO [STDOUT] at emagia.controller.FrontController.loadModelToView(FrontController.java:648)
09:36:11,277 INFO [STDOUT] at emagia.controller.FrontController.service(FrontController.java:298)
09:36:11,277 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
09:36:11,277 INFO [STDOUT] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
09:36:11,277 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
09:36:11,277 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
09:36:11,277 INFO [STDOUT] at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:297)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:371)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:731)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:663)
09:36:11,277 INFO [STDOUT] at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:859)
09:36:11,277 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
09:36:11,277 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)


I know that the NosuchObjectException comes only in two situations

1... When we want to get data from entity beans and there is no corresponding record in DB table.

2.... when client made a call to session bean which has been (session)timedOut already.


The first point doesn't fit to my application...,and so i am left out with the second.In the web.xml the session-timeout flag is set to 60(i.e;1 hour)...will it be the only tag i need to set or there are any other configurations to be done for this session timeout period.


Also if there are any other scenarios exist in which this exception might occur...kindly let me know.


Any help will be greatly appreciated.

--Phani----
phanidharcool kaduluri
Greenhorn

Joined: Jul 16, 2003
Posts: 13
let me move it up a bit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: rmi.NoSuchObjectException help needed
 
Similar Threads
NullPointerException using Arrays.sort
How to servlet invoked secured EJB in JBOSS
Problem with Jakarta Commons Fileupload
env not bound, could not dereference object
Spring and Hessian