Try remote debugging.
Java needs:
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y
as parameters.
When it starts, it tells you the port number to which JBuilder can
connect.
In JBuilder-Project settings:
- enable remote debugging
- use attach
- the transport is dt_socket
- the address is the number java told you.
I haven't tried this with jboss, but with j2ee it works.
Ingo
-----Urspr�ngliche Nachricht-----
Von: Brett G. Palmer [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. Oktober 2000 15:40
An: jBoss
Betreff: [jBoss-User] Running JBoss within JBuilder debugger
Hi All,
I'm trying to debug some code with the JBoss server. I was able to
build
JBoss in JBuilder all right, but I'm having trouble getting the run time
environment to work within JBuilder. The "How-To" on the JBoss web site
was
helpful for setting up JBuilder to debug EJBs, but I need to debug some
of
my code in JBoss itself. When I start the server some of the typical
errors
I am seeing are the following:
1. [Default] Unable to identify logging directory!
[Default] java.lang.NullPointerException
[Default] at
org.jboss.logging.FileLogging.openLogFile(FileLogging.java:1
......
2. [JMX RMI Adaptor] Initialization failed
[JMX RMI Adaptor] java.rmi.StubNotFoundException: Stub class not found:
org.jboss.jmx.server.JMXAdaptorImpl_Stub; nested exception is:
[JMX RMI Adaptor] java.lang.ClassNotFoundException:
org.jboss.jmx.server.JMXAdaptorImpl_Stub
[JMX RMI Adaptor] java.lang.ClassNotFoundException:
org.jboss.jmx.server.JMXAdaptorImpl_Stub
.....
3. [J2ee deployer] no config file found...
[J2ee deployer] Initialized
java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader
at
org.jboss.util.ClassPathExtension.preRegister(ClassPathExtension.java:47
)
......
Any help with getting my JBuilder debug environment setup for JBoss
would be
greatly appreciated.
Thanks,
Brett
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]