This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes debug servlet on weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "debug servlet on weblogic" Watch "debug servlet on weblogic" New topic

debug servlet on weblogic

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I am trying to learn to debug servlet on weblogic . In one of the site it is written as

Locate startWSL.cmd and add the following variable DEBUG_OPTS:

set DEBUG_OPTS = -Xdebug -Xrunjdwp:transport= dt_socket,address=1044,server=y,suspend=n

I am confused with this .Please tell me why is this necessary for debugging.

Thank you

Save India From Corruption - Anna Hazare.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

the information you have provided is for remote debugging. It'll make weblogic open a socket and than you can connect a remote debug thread to weblogic, usually using Eclipse or some other IDE.

The easyest way to debug is running weblogic from inside your tool. If you're using eclipse you can install weblogic eclipse plugin provided by oracle or even easyer will be if you use workshop and run weblogic inside it. It's gonna be only a matter of running the server in debug mode from IDE.

jQuery in Action, 2nd edition
subject: debug servlet on weblogic
Similar Threads
Debug in weblogic
How to make sure that Weblogic server runs in Debug Mode
starting weblogic in cygwin installed in windows
what development tools are you using for j2ee?
JSP Debug Mode Setup