I doubt a security manager would get you around having those two files.  It
does get you around having your home and remote interfaces on the client.

Now the particular error you have there... I don't know.  Im assuming it
means that your SecurityManager has the wrong permissions set, but I havent
done that kind of thing much myself.

> -----Original Message-----
> From: Steve Salkin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 3:16 AM
> To: JBoss-User
> Subject: Re: [jBoss-User] initial questions 
> 
> 
> > 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]
> 





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


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

Reply via email to