1 Reply Latest reply on Jul 22, 2002 9:17 AM by Lamouret

    EOFException when startup

    planet11 Newbie

      I'm using JBoss2.4.4 + Tomcat 4.0.1
      when I startup the server, it seems after deploy my .war file. I get an Exception:

      [10:18:38,567,EmbeddedCatalinaServiceSX] deploy, ctxPath=/sales, warUrl=file:/D:/temp/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/sales.war/web1006/
      [10:18:38,888,EmbeddedCatalinaServiceSX] WebappLoader[/sales]: Deploying class repositories to work directory D:\temp\JBoss-2.4.4_Tomcat-4.0.1\catalina\work\localhost\sales
      [10:18:38,918,EmbeddedCatalinaServiceSX] StandardManager[/sales]: Seeding random number generator class java.security.SecureRandom
      [10:18:38,918,EmbeddedCatalinaServiceSX] StandardManager[/sales]: Seeding of random number generator has been completed
      [10:18:38,998,EmbeddedCatalinaServiceSX] StandardManager[/sales] IOException while loading persisted sessions: java.io.EOFException
      java.io.EOFException
      at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:293)
      at java.io.ObjectInputStream.readUnsignedShort(ObjectInputStream.java:1949)
      at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:2106)
      at java.rmi.server.RemoteObject.readObject(RemoteObject.java:187)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.readExternal(GenericProxy.java:212)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.readExternal(StatefulSessionProxy.java:169)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
      at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1268)
      at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:810)
      at org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
      at org.apache.catalina.session.StandardManager.start(StandardManager.java:617)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1104)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3334)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
      at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

      Does anyone have ideas? thanks.