This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes java.rmi.ServerException: RemoteException occurred in server thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "java.rmi.ServerException: RemoteException occurred in server thread" Watch "java.rmi.ServerException: RemoteException occurred in server thread" New topic

java.rmi.ServerException: RemoteException occurred in server thread

rin perez

Joined: Feb 04, 2011
Posts: 2
i'm using netbeans to create an RMI application. i have generated a stub file and yet i get this error:

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: fufmessenger.CallbackImplementation_Stub (no security manager: RMI class loader disabled)
at sun.rmi.server.UnicastServerRef.dispatch(
at sun.rmi.transport.Transport$
at Method)
at sun.rmi.transport.Transport.serviceCall(
at sun.rmi.transport.tcp.TCPTransport.handleMessages(
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(
at sun.rmi.transport.tcp.TCPTransport$
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(
at sun.rmi.transport.StreamRemoteCall.executeCall(
at sun.rmi.server.UnicastRef.invoke(
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(
at java.rmi.server.RemoteObjectInvocationHandler.invoke( at java.rmi.server.RemoteObjectInvocationHandler.invoke(
Christian Lipzky

Joined: Feb 14, 2011
Posts: 1
Maybe you have to define SecurityManager:

Too small amount of data to find out solution.

see my blog: Java and C++ snippets
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 291

The classpath problem? That's what this usually is. Client/Server/Registry all must be able to find your classes.

Ed's latest article: A Java Reactive Generator
mohsin Rasheed

Joined: Jul 25, 2011
Posts: 14
Hunter , can we discuss this problem on skype , it would easy then to identify it , as this unmarshalling problem has become really a headache for me now.
I agree. Here's the link:
subject: java.rmi.ServerException: RemoteException occurred in server thread
It's not a secret anymore!