Hi Rick,
0) Please, in future post these questions to the jbuilder newsgroups. This
list is for ejb interest, not ejb or jbuilder support.
1) You should use JBuilder 3.5 - which you can download free from
www.borland.com/jbuilder
2) You no longer need to create a wrapper class, you can simply add a new
run configuration (from the run menu)
3) following is my project file (in xml, put it in a file called j2ee.jpx),
which has a definition of my runtime config contained within.The J2EESDK
library that I defined just contains the J2EESDK jars.
regards,
-Rob
<?xml version="1.0" encoding="UTF-8"?>
<!--JBuilder XML Project-->
<project>
<property category="idl" name="ProcessIDL" value="false" />
<property category="jbuilder.debug" name="NoTracingClasses.1"
value=",java.*,1" />
<property category="jbuilder.debug" name="NoTracingClasses.10"
value=",com.borland.jbuilder.runtime,1" />
<property category="jbuilder.debug" name="NoTracingClasses.11"
value=",com.inprise.vbroker,1" />
<property category="jbuilder.debug" name="NoTracingClasses.12"
value=",com.visigenic,1" />
<property category="jbuilder.debug" name="NoTracingClasses.13"
value=",org.omg,1" />
<property category="jbuilder.debug" name="NoTracingClasses.2"
value=",javax.*,1" />
<property category="jbuilder.debug" name="NoTracingClasses.3"
value=",sun.*,1" />
<property category="jbuilder.debug" name="NoTracingClasses.4"
value=",com.sun.*,1" />
<property category="jbuilder.debug" name="NoTracingClasses.5"
value=",com.borland.jbcl,1" />
<property category="jbuilder.debug" name="NoTracingClasses.6"
value=",com.borland.sql,1" />
<property category="jbuilder.debug" name="NoTracingClasses.7"
value=",com.borland.dbswing,1" />
<property category="jbuilder.debug" name="NoTracingClasses.8"
value=",com.borland.datastore,1" />
<property category="jbuilder.debug" name="NoTracingClasses.9"
value=",com.borland.dx,1" />
<property category="runtime" name="ConfigurationCount" value="1" />
<property category="runtime.1" name="ConfigurationName" value="J2EE
Server" />
<property category="runtime.1" name="RunnableType"
value="com.borland.jbuilder.runtime.ApplicationRunner" />
<property category="runtime.1" name="application.class"
value="com.sun.enterprise.server.J2EEServer" />
<property category="runtime.1" name="application.parameters"
value="-verbose" />
<property category="runtime.1" name="application.vmparameters"
value="-Djava.security.policy==d:\j2ee1.2\lib\security\server.policy -Dcom.s
un.enterprise.activation.DbDir=d:\j2ee1.2\repository -Dcom.sun.enterprise.ho
me=d:\j2ee1.2" />
<property category="runtime.1" name="jsprunner.docbase" value="." />
<property category="runtime.1" name="jsprunner.jspfile"
value="D%|/JBuilder35/bin" />
<property category="runtime.1" name="jsprunner.keepgenerated" value="" />
<property category="sys" name="Author" value="" />
<property category="sys" name="ClassPath" value="" />
<property category="sys" name="Company" value="" />
<property category="sys" name="Copyright" value="Copyright (c) " />
<property category="sys" name="Description" value="" />
<property category="sys" name="DocPath" value="doc" />
<property category="sys" name="JDK" value="java version
"1.2.2" - Sun" />
<property category="sys" name="LastTag" value="0" />
<property category="sys" name="Libraries" value="J2EESDK" />
<property category="sys" name="OutPath" value="classes" />
<property category="sys" name="SourcePath" value="src" />
<property category="sys" name="Title" value="J2EE" />
<property category="sys" name="Version" value="1.0" />
<file path="j2ee.html" />
</project>
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Rick Horowitz
Sent: Friday, April 14, 2000 9:17 AM
To: [EMAIL PROTECTED]
Subject: Help running EJB server in debugger
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".
===========================================================================
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".