1 Reply Latest reply on Oct 15, 2001 2:51 PM by Peter Antman

    rmi exception when running mq

    jeff seaman Newbie

      Hello,

      Can someone tell me what causes this exception when I am sending lots of messages I am running Jboss 2.4.1.


      [Container factory] java.rmi.ServerException: Could not passivate; nested excep
      ion is:
      [Container factory] java.io.NotSerializableException: org.jboss.mq.SpyQueue
      ender
      [Container factory] java.io.NotSerializableException: org.jboss.mq.SpyQueueSend
      r
      [Container factory] at java.io.ObjectOutputStream.outputObject(ObjectOutput
      tream.java:1148)
      [Container factory] at java.io.ObjectOutputStream.writeObject(ObjectOutputS
      ream.java:366)
      [Container factory] at java.io.ObjectOutputStream.outputClassFields(ObjectO
      tputStream.java:1841)
      [Container factory] at java.io.ObjectOutputStream.defaultWriteObject(Object
      utputStream.java:480)
      [Container factory] at java.io.ObjectOutputStream.outputObject(ObjectOutput
      tream.java:1214)
      [Container factory] at java.io.ObjectOutputStream.writeObject(ObjectOutputS
      ream.java:366)
      [Container factory] at org.jboss.ejb.plugins.StatefulSessionFilePersistence
      anager.passivateSession(StatefulSessionFilePersistenceManager.java:285)
      [Container factory] at org.jboss.ejb.plugins.StatefulSessionInstanceCache.p
      ssivate(StatefulSessionInstanceCache.java:67)
      [Container factory] at org.jboss.ejb.plugins.AbstractInstanceCache$1.execut
      (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)

      Thanks,

      Jeff Seaman