This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Cannot Activate xxxx.ser file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Cannot Activate xxxx.ser file" Watch "Cannot Activate xxxx.ser file" New topic
Author

Cannot Activate xxxx.ser file

Gulzar Ahmad
Greenhorn

Joined: Feb 14, 2008
Posts: 1
hi all

I am using JBoss-2.4.4. If i left idle any transaction for more than one hr it is giving me the following error.

javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified); nested exception is:
java.rmi.NoSuchObjectException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified)
Trace:
javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified); nested exception is:
java.rmi.NoSuchObjectException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
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:536)
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:133)
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:357)
at org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:136)
at $Proxy5.updateDetailDom(Unknown Source)
at ibase.webitm.servlet.RequestHandlerServlet.validateData(RequestHandlerServlet.java:931)
at ibase.webitm.servlet.RequestHandlerServlet.doPost(RequestHandlerServlet.java:220)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:536)
Caused by: javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified); nested exception is:
java.rmi.NoSuchObjectException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:188)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
at org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:339)
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
... 1 more
Caused by: java.rmi.NoSuchObjectException: Could not activate; nested exception is:
java.io.FileNotFoundException: C:\JBoss-2.4.4\db\sessions\MasterStateful\1196574532654.ser (The system cannot find the file specified)
at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:233)
at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:193)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
... 15 more

if anybody find out the solution i will be very thankfull.

gulzar
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10441
    
176

JBoss-2.4.4? That's a (really) very old version of JBoss. Any reason why you are using that? The latest available stable version of JBoss is 4.2.2.

Also, the exception does not tell much as to what might be wrong.


[My Blog] [JavaRanch Journal]
 
Have you checked out Aspose?
 
subject: Cannot Activate xxxx.ser file
 
jQuery in Action, 3rd edition