I am new to ejb and trying to run Sun's reference ejb server in
JBuilder 3.0 standard edition debugger. I'm getting the following output:
System Output: Naming service started: :1050
System Error: Binding DataSource, name = jdbc/Cloudscape, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
System Error: java.lang.RuntimeException: access denied (java.lang.RuntimePermission
modifyThreadGroup )
System Error: at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:288)
System Error: at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:829)
System Error: at DebugEjbServer.main(DebugEjbServer.java:14)
System Error: J2EE server reported the following error: access denied
(java.lang.RuntimePermission modifyThreadGroup )
System Error: Error executing J2EE server ...
I created a small .java file that calls:
com.sun.enterprise.server.J2EEServer.main(args);
to start the debugging process.
I think I have set up the classpath correctly (by adding the appropriate
.jar files as libraries) and I am passing the same Java VM params as are
passed by the j2ee.bat file script provided to run the ebj server from
the command line. btw, no problem running this from the command line,
but I want to run it in the debugger so that I can debug my ejb's.
Any idea why I am getting this error msg. Any clues or ideas, or the
solution for that matter, would be very much appreciated.
Thanks,
Rick Horowitz
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".