-
1. Re: UIL not compatible between VM's on 3.0.4???
fawce Dec 7, 2002 7:55 PM (in response to ashields)Can you post a fuller stack trace? The SpyDestination class actually implemnts externalizable, and read/writes its state in primitives without using read/writeObject, so it should run on those jvms without issue. my guess is the real error is in an object that doesn't override the serialization (connectiontoken for example).
good luck,
fawce -
2. Re: UIL not compatible between VM's on 3.0.4???
ashields Dec 10, 2002 8:51 AM (in response to ashields)On the server I get:
2002-12-10 13:42:04,300 DEBUG [org.jboss.mq.il.uil.UILServerILService] Setting up the UILClientIL Connection
2002-12-10 13:42:07,017 DEBUG [org.jboss.mq.il.uil.UILServerILService] The UILClientIL Connection is set up
2002-12-10 13:42:08,288 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.lang.ArrayIndexOutOfBoundsException: 1024
at org.jboss.mq.il.uil.multiplexor.DynCircularBuffer.fill(DynCircularBuffer.java, Compiled Code)
at org.jboss.mq.il.uil.multiplexor.DemuxInputStream.loadBuffer(DemuxInputStream.java:50)
at org.jboss.mq.il.uil.multiplexor.StreamDemux.pumpData(StreamDemux.java, Compiled Code)
at org.jboss.mq.il.uil.multiplexor.DemuxInputStream.fillBuffer(DemuxInputStream.java, Compiled Code)
at org.jboss.mq.il.uil.multiplexor.DemuxInputStream.read(DemuxInputStream.java, Compiled Code)
at java.io.BufferedInputStream.fill(BufferedInputStream.java, Compiled Code)
at java.io.BufferedInputStream.read1(BufferedInputStream.java, Compiled Code)
at java.io.BufferedInputStream.read(BufferedInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readFullyInternal(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.bufferData(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.read(ObjectInputStream.java, Compiled Code)
at java.io.DataInputStream.readInt(DataInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java, Compiled Code)
at org.jboss.mq.TransactionRequest.readExternal(TransactionRequest.java:45)
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,343 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,353 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,361 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,370 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,378 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,387 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,395 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,404 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,412 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,421 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,429 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,438 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,446 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,455 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,463 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,472 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,491 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,499 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,508 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,516 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at org.jboss.mq.SpyDestination.readDest(SpyDestination.java, Compiled Code)
at org.jboss.mq.AcknowledgementRequest.readExternal(AcknowledgementRequest.java:51)
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,537 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,546 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,554 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,563 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,572 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,580 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at org.jboss.mq.SpyDestination.readDest(SpyDestination.java, Compiled Code)
at org.jboss.mq.AcknowledgementRequest.readExternal(AcknowledgementRequest.java:51)
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2002-12-10 13:42:08,602 INFO [org.jboss.mq.il.uil.UILServerILService] Client request resulted in a server exception:
java.rmi.RemoteException: Bad method code !
at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
And on the client I get:
org.jboss.mq.SpyJMSException: Cannot process a transaction; - nested throwable: (java.net.SocketException: Socket closed)
at org.jboss.mq.Connection.send(Connection.java:815)
at org.jboss.mq.SpyXAResourceManager.commit(SpyXAResourceManager.java:125)
at org.jboss.mq.SpySession.commit(SpySession.java:385)
at hss.cris3.jdbc.Controller.commitCris3EventTransaction(Controller.java:639)
at hss.cris3.jdbc.ReportManager.updateReports(ReportManager.java:877)
at hss.app.actions.update.SaveReport.actionPerformed(SaveReport.java:102)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1453)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1507)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)
at com.apple.mrj.swing.ThemeButtonListener.mouseReleased(ThemeButtonListener.java:111)
at java.awt.Component.processMouseEvent(Component.java:3711)
at java.awt.Component.processEvent(Component.java:3540)
at java.awt.Container.processEvent(Container.java:1159)
at java.awt.Component.dispatchEventImpl(Component.java:2589)
at java.awt.Container.dispatchEventImpl(Container.java:1208)
at java.awt.Component.dispatchEvent(Component.java:2493)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
at java.awt.Container.dispatchEventImpl(Container.java:1195)
at java.awt.Window.dispatchEventImpl(Window.java:966)
at java.awt.Component.dispatchEvent(Component.java:2493)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
+ nested throwable: java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:60)
at java.io.DataOutputStream.writeShort(DataOutputStream.java:144)
at org.jboss.mq.il.uil.multiplexor.StreamMux.write(StreamMux.java:148)
at org.jboss.mq.il.uil.multiplexor.MuxOutputStream.flushBuffer(MuxOutputStream.java:82)
at org.jboss.mq.il.uil.multiplexor.MuxOutputStream.flush(MuxOutputStream.java:55)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:126)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:1435)
at org.jboss.mq.il.uil.UILServerIL.waitAnswer(UILServerIL.java:624)
at org.jboss.mq.il.uil.UILServerIL.transact(UILServerIL.java:497)
at org.jboss.mq.Connection.send(Connection.java:811)
at org.jboss.mq.SpyXAResourceManager.commit(SpyXAResourceManager.java:125)
at org.jboss.mq.SpySession.commit(SpySession.java:385)
at hss.cris3.jdbc.Controller.commitCris3EventTransaction(Controller.java:639)
at hss.cris3.jdbc.ReportManager.updateReports(ReportManager.java:877)
at hss.app.actions.update.SaveReport.actionPerformed(SaveReport.java:102)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1453)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1507)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)
at com.apple.mrj.swing.ThemeButtonListener.mouseReleased(ThemeButtonListener.java:111)
at java.awt.Component.processMouseEvent(Component.java:3711)
at java.awt.Component.processEvent(Component.java:3540)
at java.awt.Container.processEvent(Container.java:1159)
at java.awt.Component.dispatchEventImpl(Component.java:2589)
at java.awt.Container.dispatchEventImpl(Container.java:1208)
at java.awt.Component.dispatchEvent(Component.java:2493)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
at java.awt.Container.dispatchEventImpl(Container.java:1195)
at java.awt.Window.dispatchEventImpl(Window.java:966)
at java.awt.Component.dispatchEvent(Component.java:2493)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)