Thursday, January 19, 2006

Configuring Eclipse for Remote Debugging a WebLogic Java Application

Source: SYS-CON BRASIL

Summary:
A J2EE application deployed in the WebLogic server may be debugged in the Eclipse IDE with the remote debugger provided by Eclipse. Without a debugger the error message has to be obtained from the application server error log to debug the application.

With the remote debugger provided by Eclipse, exception breakpoints may be added to the application file to debug. When an application is run in WebLogic and the application generates an error, the application gets suspended and the Eclipse IDE Debug perspective displays the error. In this tutorial we will debug a WebLogic Application Server application in Eclipse.

To debug an application deployed in the WebLogic Server from Eclipse, start the WebLogic Server in debug mode and configure a remote debugging configuration in Eclipse. Next, connect the Eclipse remote debugger to the WebLogic Server and debug applications running in the server. We will develop an example servlet application and deploy the application in WebLogic. First, the servlet is run without any error and subsequently an error is introduced in the servlet to demonstrate the remote debugging feature in Eclipse.

2 comments:

Javin @ eclipse remote debugging said...

I mostly use eclipse for remote debugging . its very easy to setup and its very useful for troubleshooting production issues on large enterprise application, specially if your application is live and you don't have proper development environment setup in your Dev box.

Toll Free Number said...

Greetings! Very helpful advice in this particular post! It's the little changes that produce the most important changes. Many thanks for sharing!