0 Replies Latest reply on Mar 15, 2002 1:35 AM by brian

    could not passivate... a 1.5G-in-size log

    brian Newbie

      This exception has been around since I deployed my jar file on jboss 3.0.0 alpha. however, it never get so serious as the log file grew to 1.5G in-size on a remote site. Following is a small portion of the log file but can describ what are in the file beacause the entries repeated over and over.


      2002-03-14 09:54:04,320,EnterpriseContextCachePolicy,DEBUG] Scheduling for passivation overaged bean companyfacade with id = 1016019194628 - Cache size = 4
      [2002-03-14 09:54:04,320,EnterpriseContextCachePolicy,DEBUG] Aging out from cache bean companyfacadewith id = 1016019194628; cache size = 4
      [2002-03-14 09:54:04,320,AbstractInstanceCache,DEBUG] Scheduled passivation of bean companyfacade with id = 1016019194628
      [2002-03-14 09:54:04,320,EnterpriseContextCachePolicy,DEBUG] Scheduling for passivation overaged bean companyfacade with id = 1016019194630 - Cache size = 3
      [2002-03-14 09:54:04,320,EnterpriseContextCachePolicy,DEBUG] Aging out from cache bean companyfacadewith id = 1016019194630; cache size = 3
      [2002-03-14 09:54:04,320,AbstractInstanceCache,DEBUG] Scheduled passivation of bean companyfacade with id = 1016019194630
      [2002-03-14 09:54:04,340,PassivatorQueue,ERROR] EXCEPTION
      java.rmi.ServerException: Could not passivate; nested exception is:
      java.io.NotSerializableException: org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy
      java.io.NotSerializableException: org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:286)
      at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:68)
      at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:711)
      at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:199)
      at java.lang.Thread.run(Thread.java:484)
      [2002-03-14 09:54:04,349,PassivatorQueue,ERROR] EXCEPTION
      java.rmi.ServerException: Could not passivate; nested exception is:
      java.io.NotSerializableException: org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy
      java.io.NotSerializableException: org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:286)
      at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:68)
      at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:711)
      at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:199)
      at java.lang.Thread.run(Thread.java:484)


      .............................

      [2002-03-15 10:24:05,204,PassivatorQueue,ERROR] EXCEPTION
      java.lang.IllegalStateException: Attempt to put in the cache an object that is already there
      at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:160)
      at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:720)
      at org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
      at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
      at java.lang.Thread.run(Thread.java:484)
      [2002-03-15 10:24:05,213,PassivatorQueue,ERROR] EXCEPTION
      java.lang.IllegalStateException: Attempt to put in the cache an object that is already there
      at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:160)
      at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:720)
      at org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
      at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
      at java.lang.Thread.run(Thread.java:484)
      [2002-03-15 10:24:05,219,AutoDeployer,INFO] Auto deploy of file:/usr/jboss-3.0.0alpha/deploy/frontdesk.jar
      [2002-03-15 10:24:05,221,J2eeDeployer#Default,INFO] Deploy J2EE application: file:/usr/jboss-3.0.0alpha/deploy/frontdesk.jar
      [2002-03-15 10:24:05,225,AutoDeployer,ERROR] Deployment failed:file:/usr/jboss-3.0.0alpha/deploy/frontdesk.jar
      java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.(ZipFile.java:110)
      at java.util.jar.JarFile.(JarFile.java:115)
      at java.util.jar.JarFile.(JarFile.java:82)
      at org.jboss.deployment.Installer.execute(Installer.java:321)
      at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:102)
      at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:400)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:211)
      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:654)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      at java.lang.Thread.run(Thread.java:484)
      [2002-03-15 10:24:05,233,PassivatorQueue,ERROR] EXCEPTION
      java.lang.IllegalStateException: Attempt to put in the cache an object that is already there
      at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java:160)
      at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:720)
      at org.jboss.util.WorkerQueue$QueueLoop.flush(WorkerQueue.java:218)
      at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:194)
      at java.lang.Thread.run(Thread.java:484)


      =============

      jboss 3.0.0 alpha keeps thowing the exception over and over for 6 hours until I hit Ctrl+C. Wired thing is my ap can still update data on the postgresql server.

      Can anyone tell me why this happened once a while? After I restart jboss, no ececption will be thrown. I am using
      HP NetServer E200 with 512M RAM on it and
      Mandrake Linux 8.1.

      Brian