Make sure that everything is running the same version of the JVM. RMI is
notoriously picky about JVM version, and this is one of the errors that gets
thrown if you use two incompatible VMs (1.2.2 and 1.3, for example).
Steve
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of dferugson
Sent: Monday, January 15, 2001 12:22 PM
To: jBoss Users
Subject: [jBoss-User] Exception looking up ejb remotely.
javax.naming.CommunicationException [Root exception is
java.io.StreamCorruptedException: Type code out of range, is 125]
I manage to obtain my context but when I do the jndi lookup I get this
exception.
The code worked and then I moved the code to a new machine and changed
the url
for the java.naming.provider.url to the machine that is running jboss.
Now it throws the exception.
Cheers.
d.
--
Doug Ferguson
Software Developer
www.coremetrics.com
512-342-2623x212
512-619-9972(cell)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]