MyEclipse: [JBoss 3] CommunicationException with CMP bean

support-rkalla - Dec 01, 2005 - 08:53 PM
Post subject: [JBoss 3] CommunicationException with CMP bean
If you are seeing an exception like the following with a CMP bean on JBoss:
Quote:
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no security manager: RMI class loader disabled)]


You need to 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 then add the policy file in your Eclipse directory. If you run into trouble, please see this thread.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits