Hi,

I have written a RMI server which cries out lot of work with native
libraries. So I try to keep this out of jboss in a separate process. Now I
try to access this from an EJB and got

[BankCommunicationGateway] X25ConnectionController exception: null
javax.naming.CommunicationException.  Root exception is
[BankCommunicationGateway] java.lang.ClassNotFoundException:
X25Adapter.X25ConnectionControllerImpl_Stub (no security manager: RMI class
loaderdisabled)


The RMI server registers the X25ConnectionControllerImpl object with jboss
and this what I am doing inside the bean. 

Properties p = new Properties();
p.setProperty("INITIAL_CONTEXT_FACTORY","org.jnp.interfaces.NamingContextFac
tory");
p.setProperty("PROVIDER_URL","localhost:1099");
Context c = new InitialContext();
controller = (X25ConnectionController)c.lookup("X25ConnectionController");



Thanks
Raj


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to