6 Replies Latest reply on Aug 4, 2004 4:48 AM by darranl

    Serialized Files removed while refernces to bean exist

    togath

      I am getting several instance of activation problems on stateless session beans. It looks like the serialized file is being remove by JBoss while there are still objects that reference the bean. (JBoss 3.2.1)

      I am assuming that the container is hitting some timeout on the bean and is thinking it needs to be removed. Is there some setting in the standard-jboss.xml that would help lessen the problem?

      Thanks in advance

      StackTrace Below:

      2004-06-23 16:42:19,003 FATAL [PlaceRequestjsp] Removal of Place Request bean failed! Error: Could not activate; failed to restore state; CausedByException is:
      /opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser (No such file or directory)
      2004-06-23 16:42:19,006 FATAL [PlaceRequestjsp] java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is:
      /opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser (No such file or directory)
      at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:122)
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410)
      at org.jboss.ejb.Container.invoke(Container.java:674)
      at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
      at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
      at $Proxy98.remove(Unknown Source)
      at com.dynix.hip.jsp.PlaceRequestjsp.cleanup(PlaceRequestjsp.java:531)
      at com.dynix.hip.jsp.PlaceRequestjsp.flush(PlaceRequestjsp.java:1145)
      at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.dynix.hip.util.JSPHandler.removeService(JSPHandler.java:4607)
      at com.dynix.hip.util.JSPHandler.flush(JSPHandler.java:1110)
      at com.dynix.hip.util.JSPHandler.runThread(JSPHandler.java:1201)
      at com.dynix.util.ThreadCounter.run(ThreadCounter.java:152)