IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "java.rmi.ServerException: RemoteException occurred in server thread" Watch "java.rmi.ServerException: RemoteException occurred in server thread" New topic
Author

java.rmi.ServerException: RemoteException occurred in server thread

rin perez
Greenhorn

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(UnicastServerRef.java:336)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
Christian Lipzky
Greenhorn

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: 269

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


Ed's latest article: Managing Threads in Android http://coopsoft.com/ar/AndroidArticle.html
mohsin Rasheed
Greenhorn

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.
 
 
subject: java.rmi.ServerException: RemoteException occurred in server thread
 
Threads others viewed
Can't get MVC through RMI
RMI UnMarshal Exception.
Classpath Issue
get ArrayList?
Eclipse wont run my RMI program?
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture