How to debug EJB in JBoss (WebLogic or other J2EE
application server) using IDE?
Answer / jim harrington
1) Start the container JVM with remote debugging enabled
(see.
http://download.oracle.com/javase/6/docs/technotes/tools/solaris/jdb.html).
2) Attache the IDE debugger to the container JVM using the
info you configured in step #1 (host/port or shared memory
context name)
3) Set a breakpoints in the implementation of the EJB of
interest
4) Exercise the application to get control to pass the
breakpoint location
5) You're home!
| Is This Answer Correct ? | 2 Yes | 1 No |
How to remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What is debugger?
What are the contents in an effective Bug report?
What is a Parser Bug?
What is a "debugger" ?
What are the debugging techniques for programs with loops?
What does the error Child process of address_pipe transport returned 69 from command xxx mean?
Why to use a debugger? Isn't printf/cout/System.out.println good enough?
Can you Explain a Bug life cycle
How to compile with debugging symbols?
How to see the contents of the message buffer from a remote gdb session?
Do you have any idea about Debug and release version?