How to debug EJB in JBoss (WebLogic or other J2EE
application server) using IDE?
Answer Posted / 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 |
Post New Answer View All Answers
How to read the pixels out of a GdkPixmap?
Can some one help me with the QTP 9.0 single seat license. pls send it to sandeepkumarsingh@hotmail.com
What are Visual Debugger?
How does a debugger set breakpoints in a code you are debugging?
Please tell me Browser specific bugs?
What do mean by debugger?
how to debug stored procedure?
Explain debugger.
What does no immediate delivery too many messages received in one SMTP connection mean?
Enhance the Debug() function so that the programmer has to press Enter or Return after debugging is deactivated?
What are the command line debugging options?
What does the error Too many ``Received'' headers - suspected mail loop mean?
What are the contents in an effective Bug report?
What is the difference between Bug, Error and Defect?
if you have compressed file which has multiple source files, after make of this source file, you are getting undefined reference error. How your will debug this problem ? What might be different root causes for this ?