> Do you have jboss-client.jar and jnp-client.jar in the classpath of the
> client?  I think the missing class is from jboss-client.jar.

Hi David-

No, thanks, that was indeed it. :( Foolish feeling.

But before I saw your mail, I tried putting in an RMISecurityManager, and 
what's interesting to me about it is that the code I posted earlier works fine 
with the addition of the jboss-client.jar to the CP, but with the security 
manager installed as well it generates:

java.security.AccessControlException: access denied (java.net.SocketPermission 
127.0.0.1:1099 connect,resolve)
        at java.security.AccessControlContext.checkPermission(AccessControlCont
ext.java:272)
        at java.security.AccessController.checkPermission(AccessController.java
:399)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
        at java.lang.SecurityManager.checkConnect(SecurityManager.java:1044)
        at java.net.Socket.<init>(Socket.java:262)
        at java.net.Socket.<init>(Socket.java:100)
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:94)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:693)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:286)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
        at javax.naming.InitialContext.lookup(InitialContext.java:350)
        at com.ums.security.t2.main(t2.java:44)

Which doesn't affect me at all right now, since I expect RMI only on the local 
box. Since you suggested the security manager fix though, I wondered if this 
is actually supposed to happen.

S-



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to