Add "-Djava.security.manager" to your java command.
----- Original Message -----
From: "Steve Shier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 4:38 AM
Subject: [JBoss-user] Problems with CD Example and CMP
> I'm trying to get the CD example working to test CMP
> (http://www.jboss.org/documentation/jboss_cmp_trail_index.html) but keep
> getting an error:
>
> 1. when I run the command:
> java -classpath
> %CLASSPATH%;..\..\dist\client\jbosssx-client.jar;..\..\dist\lib\ext\ejb
> .jar;.;..\..\dist\client\jnp-client.jar; com.web_tomorrow.cd.List
>
> which is run from the directory D:\jboss\examples\cdejb (JBoss is
installed
> in D:\jboss). the com directory is directly under D:\jboss\examples\cdejb
>
> 2. I get the error message:
> javax.naming.CommunicationException [Root exception is
> java.lang.ClassNotFoundEx
> ception: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security
> manager:
> RMI class loader disabled)]
>
> I've tried a classpath with jbosssx-client.jar and with jboss-client.jar
>
> 3. The deployment was successful:
>
> [Auto deploy] Auto deploy of file:/D:/jboss/dist/deploy/cd.jar
> [J2EE Deployer Default] Deploy J2EE application:
> file:/D:/jboss/dist/deploy/cd.j
> ar
> [J2EE Deployer Default] Create application cd.jar
> [J2EE Deployer Default] install module cd.jar
> [Container factory]
Deploying:file:/D:/jboss/dist/tmp/deploy/Default/cd.jar
> [Verifier] Verifying
> file:/D:/jboss/dist/tmp/deploy/Default/cd.jar/ejb1003.jar
> [Container factory] Deploying CDBean
> [Container factory] Deploying CDCollectionBean
> [JAWS] Created table 'CDBean' successfully.
> [Bean Cache] Cache policy scheduler started
> [Container factory] Deployed application:
> file:/D:/jboss/dist/tmp/deploy/Default
> /cd.jar
> [J2EE Deployer Default] J2EE application:
file:/D:/jboss/dist/deploy/cd.jar
> is d
> eployed.
>
> 4. I have succesfully deployed and tested the interest example (a
stateless
> session bean).
>
> I'm running JBoss 2.1 on WinNT4 Server.
>
> Am I missing something in the classpath or is there some other solution?
>
> TIA
>
> Steve Shier
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user