Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rmi

Status
Not open for further replies.

NiceButDim

Programmer
Feb 12, 2002
154
GB
I’ve been trying to get my rmi application running but when I start the remote service I’m getting the error

java.io.streamcorruptedexception Type code out of range, is 125.

I’m running on XP, with JVM 1.5_07

I then downloaded the SUN “hello world” getting started with RMI application and it gives me the same error.

So I suspect it has something to do with my setup rather than code.

Anyone have any ideas?


john.
 
Well, there can be several reasons:

1.- Different JVM versions in client and server
2.- Another application sending data to the server port
3.- Different jar in classpath on client and server

I'd check that the data you receive is actually the data you're sending.

Cheers,
Dian
 
NiceButDim, how did you solve this issue? I am new to RMI, and I'm experiencing the same problem, but I have not found any solution yet.

Thanks,
UnicycleCA
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top