Hello Chris,
Thank you very much. I got it working. What I did was modified the files jboss.properties to install a RMISecurity manager also the rmi.server.codebase . Then It started working.
 
BillTC
 
Hi,

> -----Original Message-----
> From: BillTC [mailto:[EMAIL PROTECTED]]

> I am using jboss2.1 I have deployed a Ejb which have a list of all clients
interfaces client is a SwingUI  but > when I register to the server I am
getting an error like below:
> What I am trying=20
> Here what basicly I am trying to do is . When my Swing Application is
executed it registers its interface=20
> known to the server through ejb calls . At some point in time my ejb can
call back the swing an assign some=20
> work.
=20
---------------------------------------------error--------------------------
----------
java.lang.reflect.UndeclaredThrowableException:
java.lang.ClassNotFoundException
: com.ub.adminswing.PutTaskImpl_Stub (no security manager: RMI class loader
disa
bled)
        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)


------------------

Looks like your server does not have access to your client stub - you've
probably not configured the swing client correctly - it needs to export
itself and make the stubs available via an RMIClassloader - have you got the
RMISecurityManager (or whatever its exact name is) installed?

I don't think this is a jboss issue - try testing the callback without
jboss.

HTH,
Chris

Reply via email to