0 Replies Latest reply on Jan 31, 2002 12:21 PM by Ricardo Coutinho

    (re)activation error on SFSB. Help please.

    Ricardo Coutinho Newbie

      Hi all,

      I know this has been brought up before but I have managed to find an actual solution/explination in the postings.


      Jboss version 2.4.4
      Java version 1.4.0-rc


      I have a major problem for some time now with the activation of passivated session beans. And it seems to be a common problem among all of them as I get the same error sooner or later with each one. I did check for the .ser file and it was not there. Also there were no passivation exceptions and also no problem with disk space. It is obvious that the file not being there is the problem but seeing as there was no error on the passivation then it should be there.

      I would appreciate any help on this because I am not sure how/where to start in looking into this problem.

      Here is the exception: (Sorry but it is quite long one)


      [15:56:18,890,ContactPointsBean] TRANSACTION ROLLBACK EXCEPTION:
      javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified); nested exception is:
      java.rmi.NoSuchObjectException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.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 org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:491)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:136)
      at $Proxy99.getContactPoint(Unknown Source)
      at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.addRuleToList(DistributionRuleManagerBean.java:421)
      at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.findByCorrespondentId(DistributionRuleManagerBean.java:314)
      at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      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.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
      at sun.reflect.GeneratedMethodAccessor40.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)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.rmi.NoSuchObjectException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.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)
      ... 33 more
      [15:56:19,390,Default] javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified); nested exception is:
      java.rmi.NoSuchObjectException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified)
      [15:56:19,421,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:188)
      [15:56:19,437,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      [15:56:19,437,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      [15:56:19,453,Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      [15:56:19,468,Default] at org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:339)
      [15:56:19,468,Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
      [15:56:19,484,Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:491)
      [15:56:19,500,Default] at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      [15:56:19,500,Default] at org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:136)
      [15:56:19,515,Default] at $Proxy99.getContactPoint(Unknown Source)
      [15:56:19,531,Default] at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.addRuleToList(DistributionRuleManagerBean.java:421)
      [15:56:19,531,Default] at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.findByCorrespondentId(DistributionRuleManagerBean.java:314)
      [15:56:19,546,Default] at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      [15:56:19,562,Default] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [15:56:19,562,Default] at java.lang.reflect.Method.invoke(Method.java:324)
      [15:56:19,578,Default] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
      [15:56:19,593,Default] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
      [15:56:19,609,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      [15:56:19,609,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      [15:56:19,625,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      [15:56:19,640,Default] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      [15:56:19,640,Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      [15:56:19,656,Default] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [15:56:19,671,Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
      [15:56:19,671,Default] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      [15:56:19,687,Default] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [15:56:19,703,Default] at java.lang.reflect.Method.invoke(Method.java:324)
      [15:56:19,703,Default] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      [15:56:19,718,Default] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [15:56:19,734,Default] at java.security.AccessController.doPrivileged(Native Method)
      [15:56:19,734,Default] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [15:56:19,750,Default] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      [15:56:19,765,Default] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      [15:56:19,765,Default] at java.lang.Thread.run(Thread.java:536)
      [15:56:19,781,Default] Caused by: java.rmi.NoSuchObjectException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified)
      [15:56:19,796,Default] at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:233)
      [15:56:19,812,Default] at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:193)
      [15:56:19,828,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      [15:56:19,828,Default] ... 33 more
      [15:56:19,843,Default] javax.ejb.EJBException: Error getting contact point. javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified); nested exception is:
      java.rmi.NoSuchObjectException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified)
      [15:56:19,890,Default] at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.addRuleToList(DistributionRuleManagerBean.java:426)
      [15:56:19,890,Default] at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.findByCorrespondentId(DistributionRuleManagerBean.java:314)
      [15:56:19,906,Default] at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      [15:56:19,921,Default] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [15:56:19,921,Default] at java.lang.reflect.Method.invoke(Method.java:324)
      [15:56:19,937,Default] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
      [15:56:19,953,Default] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
      [15:56:19,953,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      [15:56:19,968,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      [15:56:19,984,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      [15:56:19,984,Default] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      [15:56:20,000,Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      [15:56:20,015,Default] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [15:56:20,015,Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
      [15:56:20,031,Default] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      [15:56:20,046,Default] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [15:56:20,046,Default] at java.lang.reflect.Method.invoke(Method.java:324)
      [15:56:20,062,Default] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      [15:56:20,078,Default] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [15:56:20,078,Default] at java.security.AccessController.doPrivileged(Native Method)
      [15:56:20,093,Default] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [15:56:20,109,Default] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      [15:56:20,109,Default] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      [15:56:20,125,Default] at java.lang.Thread.run(Thread.java:536)
      [15:56:20,140,Default] javax.ejb.EJBException: Error creating distribution rules. javax.ejb.EJBException: Error getting contact point. javax.transaction.TransactionRolledbackException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified); nested exception is:
      java.rmi.NoSuchObjectException: Could not activate; nested exception is:
      java.io.FileNotFoundException: D:\ejb\JBoss-2.4.4\jboss\db\sessions\ContactPointsBean\1012484337083.ser (The system cannot find the file specified)
      [15:56:20,187,Default] at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.addRuleToList(DistributionRuleManagerBean.java:476)
      [15:56:20,203,Default] at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.findByCorrespondentId(DistributionRuleManagerBean.java:314)
      [15:56:20,203,Default] at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      [15:56:20,218,Default] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [15:56:20,234,Default] at java.lang.reflect.Method.invoke(Method.java:324)
      [15:56:20,234,Default] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
      [15:56:20,250,Default] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
      [15:56:20,265,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      [15:56:20,265,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      [15:56:20,281,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      [15:56:20,296,Default] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      [15:56:20,296,Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      [15:56:20,312,Default] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      [15:56:20,328,Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
      [15:56:20,328,Default] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      [15:56:20,343,Default] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [15:56:20,359,Default] at java.lang.reflect.Method.invoke(Method.java:324)
      [15:56:20,359,Default] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      [15:56:20,375,Default] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [15:56:20,390,Default] at java.security.AccessController.doPrivileged(Native Method)
      [15:56:20,390,Default] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [15:56:20,406,Default] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      [15:56:20,421,Default] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      [15:56:20,421,Default] at java.lang.Thread.run(Thread.java:536)
      [15:56:20,437,DistributionRuleManager] TRANSACTION ROLLBACK EXCEPTION:
      javax.transaction.TransactionRolledbackException: Error while searching for distribution rules.; nested exception is:
      javax.ejb.EJBException: Error while searching for distribution rules.
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:166)
      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.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:410)
      at sun.reflect.GeneratedMethodAccessor40.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)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: javax.ejb.EJBException: Error while searching for distribution rules.
      at com.odafs.mailDistribution.server.ejb.distributionRules.session.DistributionRuleManagerBean.findByCorrespondentId(DistributionRuleManagerBean.java:322)
      at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      ... 16 more