Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sun.rmi.transport.StreamRemoteCall exception

843793Nov 3 2001 — edited Nov 12 2001
I am making a bridge cards game on using rmi and I ge tthe following exception on the fourth player who logs on.
The server is two remote objects. one is used for login (which the client "looks up using Naming" and when four people log in it creates a new Server object (with diff interface ) which is passed to the clients to play the game.

I get this exception on the fourth client who logs on.
java.lang.IllegalThreadStateException
at sun.rmi.transport.StreamRemoteCall.exceptionReceived fromServer(StreamRemoteCall.java)

at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java)

at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at
bridgeserver.BridgeLogin.Stub(unknown Source)
at bridgeclient.Connect.run(Connect.java:27)

where
my pacckages are brideserver and bridgeclient and Connect is a class in bridgeclient.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2001
Added on Nov 3 2001
1 comment
136 views