2 Replies Latest reply on Mar 29, 2011 1:30 PM by Wolf-Dieter Fink

    Jboss migration from 4.0.1 to 4.2.3 - problem with ejb look up

    antar Upadhyaya Newbie

      Hi,

       

      I have got some problem with Jboss migration from 4.0.1 to 4.2.3.

       

      EJB (2.0) look up is failing in 4.2.3 though the same is working fine in 4.0.1. I am using JDK 1.5 and  swing client (JNLP).  I have attached the error log.

       

      Any help will be much appreciated.

       

      Regards

       

      Antar

       

      java.lang.IllegalStateException: unread block data
          at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(Unknown Source)
          at java.io.ObjectInputStream.readObject0(Unknown Source)
          at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
          at java.io.ObjectInputStream.readSerialData(Unknown Source)
          at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
          at java.io.ObjectInputStream.readObject0(Unknown Source)
          at java.io.ObjectInputStream.readObject(Unknown Source)
          at java.rmi.MarshalledObject.get(Unknown Source)
          at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:51)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:566)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
          at javax.naming.InitialContext.lookup(Unknown Source)
          at com.aaa.oce.util.ServiceLocator.getEJBHome(ServiceLocator.java:73)
          at com.aaa.oce.delegate.LookupDelegate.<init>(LookupDelegate.java:42)
          at com.aaa.oce.delegate.LookupDelegate.getInstance(LookupDelegate.java:59)
          at com.aaa..oce.ui.main.Banking.populateCountryComboBox(Banking.java:418)
          at com.aaa.oce.ui.main.Banking.<init>(Banking.java:84)
          at com.aaa.oce.ui.main.Main.newFrame(Main.java:291)
          at com.aaa.oce.ui.main.Main$3.actionPerformed(Main.java:127)
          at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
          at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
          at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
          at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
          at javax.swing.AbstractButton.doClick(Unknown Source)
          at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
          at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
          at java.awt.Component.processMouseEvent(Unknown Source)
          at javax.swing.JComponent.processMouseEvent(Unknown Source)
          at java.awt.Component.processEvent(Unknown Source)
          at java.awt.Container.processEvent(Unknown Source)
          at java.awt.Component.dispatchEventImpl(Unknown Source)
          at java.awt.Container.dispatchEventImpl(Unknown Source)
          at java.awt.Component.dispatchEvent(Unknown Source)
          at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
          at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
          at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
          at java.awt.Container.dispatchEventImpl(Unknown Source)
          at java.awt.Window.dispatchEventImpl(Unknown Source)
          at java.awt.Component.dispatchEvent(Unknown Source)
          at java.awt.EventQueue.dispatchEvent(Unknown Source)
          at com.ebrd.oce.ui.util.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:23)
          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          at java.awt.EventDispatchThread.run(Unknown Source)