[jboss-user] [JNDI and Naming] - JNDI Connectivity from JBoss EAP 4.3 to JBoss 5.1.1 EAP

KVMKrishna Reddy do-not-reply at jboss.com
Mon Dec 26 23:33:04 EST 2011


KVMKrishna Reddy [http://community.jboss.org/people/dasmurali] created the discussion

"JNDI Connectivity from JBoss EAP 4.3 to JBoss 5.1.1 EAP"

To view the discussion, visit: http://community.jboss.org/message/643257#643257

--------------------------------------------------------------
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 server 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
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/643257#643257]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111226/68049626/attachment.html 


More information about the jboss-user mailing list