1 Reply Latest reply on Aug 22, 2003 10:26 AM by Raja

    JBoss Shutdown Abnormally

    jbossfan Newbie

      Hi all,

      The problems has lasted for some months. The JBoss always crashes down every 2-3 hours. I update all timeout/period related content of

      JBOSS_HOME/server/default/conf/jboss-service.xml
      JBOSS_HOME/server/default/conf/standardjboss.xml
      TOMCAT_HOME/conf/server.xml

      to either -1 to disable or very big number more than 1Mseconds.

      However, I still get the followed exception.. any comments would be very appreciated.

      #############################################
      2003-08-20 15:07:59,495 DEBUG
      [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Attempting
      to activate; ctx=org.jboss.ejb.StatefulSessionEnterpriseContext@559c5b
      2003-08-20 15:07:59,496 DEBUG
      [org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Reading
      session state from:
      /usr/local/jboss-3.2.1/server/default/tmp/sessions/TableServiceManager-djl7nvnk-5/djl7 \
      qesm-6.ser

      2003-08-20 15:07:59,498 DEBUG
      [org.jboss.ejb.plugins.AbstractInstanceCache] Activation failure
      javax.ejb.EJBException: Could not activate; failed to restore state;
      CausedByException is:

      /usr/local/jboss-3.2.1/server/default/tmp/sessions/TableServiceManager-djl7nvnk-5/djl7 \
      qesm-6.ser (Datei oder Verzeichnis nicht gefunden)
      at
      org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateSession(StatefulSe \
      ssionFilePersistenceManager.java:324)

      at
      org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulSessionInstanceCac \
      he.java:90)

      at
      org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:113)

      at
      org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanc \
      eInterceptor.java:212)

      at
      org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

      at
      org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)

      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(ProxyFactoryFinderIntercept \
      or.java:122)

      at
      org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:41 \
      0)

      at org.jboss.ejb.Container.invoke(Container.java:674)
      at java.lang.reflect.Method.invoke(Native Method)
      at
      org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java: \
      284)

      at
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at
      org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)

      at java.lang.reflect.Method.invoke(Native Method)
      at
      sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236)
      at sun.rmi.transport.Transport$1.run(Transport.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:143)
      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:479)
      java.io.FileNotFoundException:
      /usr/local/jboss-3.2.1/server/default/tmp/sessions/TableServiceManager-djl7nvnk-5/djl7 \
      qesm-6.ser (Datei oder Verzeichnis nicht gefunden)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:59)
      at java.io.FileInputStream.(FileInputStream.java:90)
      at
      org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateSession(StatefulSe \
      ssionFilePersistenceManager.java:308)

      at
      org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulSessionInstanceCac \
      he.java:90)

      at
      org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:113)

      at
      org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanc \
      eInterceptor.java:212)

      at
      org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

      at
      org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)

      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(ProxyFactoryFinderIntercept \
      or.java:122)

      at
      org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:41 \
      0)

      at org.jboss.ejb.Container.invoke(Container.java:674)
      at java.lang.reflect.Method.invoke(Native Method)
      at
      org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java: \
      284)

      at
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at
      org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)

      at java.lang.reflect.Method.invoke(Native Method)
      at
      sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236)
      at sun.rmi.transport.Transport$1.run(Transport.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:143)
      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:479)

      #############################################


      with best wishes

      jbossfan