Debugging Question: Download Questions PDF
How to debug EJB in JBoss (WebLogic or other J2EE application server) using IDE?
Answer:
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!
(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!
Download Debugging Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain What is high debugging? | What is CTC abbreviation? |