Hi Guys,
I'm doing a JNDI lookup from my Standalone Client to an Session Bean deployed on
JBoss. I have the following files in standalone clients classpath:
jboss-common-client.jar
jboss-j2ee.jar
jnp-client.jar
I see the following stack.. Could any body please suggest me. Thanks in advance,
Magesh
Environment : jboss-3.2.1_tomcat-4.1.24 on Jdk1.4.1
-----------------------------------------------------------------------
[INFO] - got [EMAIL PROTECTED] from environment
[{java.naming.provider.url=localhost:11099,
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:com.sun.enterprise.naming}]
[INFO] - performing lookup for IPManager's RequestReceiverBean on
[ipmanager/RequestReceiver]
[ERROR] - javax.naming.CommunicationException. Root exception is
java.io.StreamCorruptedException:
Type code out of range, is 125
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1280)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:354)
-----------------------------------------------------------------------
Please Node that I've configured my JBoss to run on 11099 instead of default 1099.
**********************************************************************
This email and its attachments are intended for the above
named only and may be confidential. If they have come to
you in error, you must take no action based on them, nor
must you copy or show them to anyone; please reply to this
email and highlight the error.
Security Warning: Please note that this email has been
created in the knowledge that the internet email is not a
100% secure communications medium. We advise that you
understand and observe this lack of security when emailing us.
Viruses: Although we have taken steps to ensure that this
email and attachments are free from any virus, we advise
that in keeping with good computing practice the recipient
should ensure they are actually virus free.
If you have received this email in error please notify:
[EMAIL PROTECTED]
**********************************************************************
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user