Make sure that both machines have same JDK version.
It looks very similar if you call from 1.3 to 1.2 or 1.4
dferugson wrote:
>
> 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]
--
__________________________________________________
Alexander Kogan PTC www.ptc.com
[EMAIL PROTECTED] 140 Kendrick St. Needham MA 02494
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]