0 Replies Latest reply on Dec 27, 2011 12:17 AM by dasmurali

    JNDI Connectivity from JBoss EAP 4.3 to JBoss 5.1.1 EAP

    dasmurali

      Hi,

       

      We are facing issues in JNDI Connectivity from JBoss EAP 4.3 to JBoss 5.1.1 EAP server.

       

      EJB is deployed on JBoss 5.1.1 EAP(all configuration) and Client is deployed in JBoss 4.3 server. When client try to connect to the EJB getting following exception(at client side).

       

      2011-12-26 23:22:07,719 FATAL [SomeService] Exception Looking Up EJBServiceRemoteHome.

      JNDI Props:

      {java.naming.provider.url=jnp://IPADDRESS:PORT, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

      java.lang.ArrayIndexOutOfBoundsException: 21

      at org.jboss.invocation.InvocationKey.readResolve(InvocationKey.java:170)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1761)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)

      at java.util.HashMap.readObject(HashMap.java:1029)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)

      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      at java.io.ObjectInputStream.skipCustomData(ObjectInputStream.java:1911)

      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1804)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)

      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)

      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)

      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)

      at java.rmi.MarshalledObject.get(MarshalledObject.java:142)

      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)

      at javax.naming.InitialContext.lookup(InitialContext.java:392)

       

       

      Thanks and Regards

      Murali Reddy