0 Replies Latest reply on Feb 13, 2002 4:47 PM by Hannu

    Could not passivate - exception

    Hannu Newbie

      We are using jdk1.3.0 and with JBoss 2.4.3 and tomcat 3.2.3

      When we update a database with a stateless ejb that has a required transactional attribute, we will get the following exception.

      Is there anything we could do to fix this problem?

      We are writing around 2MBytes of data into Oracle. The orcale thin driver does not throw exceptions.

      [Container factory] java.rmi.ServerException: Could not passivate; nested exception is:
      [Container factory] java.io.NotSerializableException: org.jboss.pool.jdbc.xa.XAPoolDataSource
      [Container factory] java.io.NotSerializableException: org.jboss.pool.jdbc.xa.XAPoolDataSource
      [Container factory] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:417)
      [Container factory] at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:285)
      [Container factory] at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:67)
      [Container factory] at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:709)
      [Container factory] at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:199)
      [Container factory] at java.lang.Thread.run(Thread.java:484)
      [Container factory] java.rmi.ServerException: Could not passivate; nested exception is:
      [Container factory] java.io.NotSerializableException: org.jboss.pool.jdbc.xa.XAPoolDataSource
      [Container factory] java.io.NotSerializableException: org.jboss.pool.jdbc.xa.XAPoolDataSource
      [Container factory] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:417)
      [Container factory] at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:285)
      [Container factory] at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:67)
      [Container factory] at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:709)
      [Container factory] at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:199)
      [Container factory] at java.lang.Thread.run(Thread.java:484)