hi
How can I send a remote Object as an ejb arguement where the bean in turn will contact an RMI server and will register with the RMI server for the client application using the remote object sent by the client. While trying this I got an exception
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException: java.
lang.ClassNotFoundException: Test1_Stub (no security manager: RMI class loader d
isabled)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Un
known Source)
at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(Ge
nericProxy.java:357)
at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(St
atelessSessionProxy.java:123)
at $Proxy1.registerListener(Unknown Source)
at RMITest.main(RMITest.java:31)
like this .
Any suggestion or code samples ???