MyEclipse: Security Manager [Closed]

vzapponi - Jun 07, 2004 - 10:20 AM
Post subject: Security Manager [Closed]
After correct deploy of a CMP bean on JBoss, I tried to access it with an application client.

I have a security exception:

javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)


- System Setup -------------------------------
Operating System and version: 2kPro
Eclipse version: 3.0.M8
Eclipse build id: 200403261517
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins: none
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
MyEclipse version: 3.7.2
Eclipse JDK version: 1.4.2_3
Application Server JDK version: 1.4.2_3
Are there any exceptions in the Eclipse log file? No
---------------------------

Thanks
Vittorio
support-rkalla - Jun 07, 2004 - 04:35 PM
Post subject:
Navigate to your Window > Preferneces > MyEclipse > App Server > JBoss 3 > JDK panel, and add this under Optional JVM Arguments:
Code:

-Djava.security.manager -Djava.security.policy="server.policy"


and add the policy file in your Eclipse directory. I got this from here: http://renaud.waldura.com/software/java/com.waldura.eclipse.jndibrowser/doc/COMPATIBILITY.html

but you could also check here:
http://www.google.com/search?hl=en&lr=&ie=UTF-8&safe=off&q=%2BJBoss+javax.naming.CommunicationException&btnG=Search
vzapponi - Jun 07, 2004 - 05:22 PM
Post subject:
:D
10x a lot
All it's ok
Vittorio
support-rkalla - Jun 07, 2004 - 06:48 PM
Post subject:
Glad to hear it worked! I'll add that to the FAQ.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits