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


Please Help Members By Posting Answers For Below Questions

Can some one help me with the QTP 9.0 single seat license. pls send it to sandeepkumarsingh@hotmail.com

2159


Hey, I am new as a sap abaper, i just want to know, i created 1 zprogram and i execute it in development system its works properly , in quality system is also works properly, but when i run in background it dumped, how to handle this prob.can anyone guide me plzz??

1014


What are Visual Debugger?

1710


how to debug stored procedure?

570


What is debugger?

573






What does no immediate delivery too many messages received in one SMTP connection mean?

2495


Can you Explain a Bug life cycle

572


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 ?

2439


What do mean by debugger?

566


How to see the contents of the message buffer from a remote gdb session?

1606


What does the error Too many ``Received'' headers - suspected mail loop mean?

4105


How to compile with debugging symbols?

1595


What are the contents in an effective Bug report?

539


Do you have any idea about Debug and release version?

562


What are the debugging techniques for programs with loops?

558