Remote debugging of Weblogic-based J2EE applications

Source: Internet
Author: User

Copyright Disclaimer: You can reprint the document at will. During reprinting, you must mark the original source and author information of the article as hyperlinks and this statement.

Author: nizhigang

Address: http://blog.csdn.net/nizhigang2000/archive/2006/05/16/741798.aspx

Remote debugging of Weblogic-based J2EE applications

 Java Debugger

Theoretically, using the Java platform debugging architecture, Java platform debugger architecture (JPDA), you can remotely debug any J2EE application, including JSP/servlet, based on all development tools, it also includes struts, spring and other applications.

For more information about JPDA, see:

(1). Sun jdpa documentation: http://java.sun.com/products/jpda/doc/index.html

(2). Make full use of J2EE debugging tool: http://dev2dev.bea.com.cn/techdoc/2005051303.html

Debugging options in WebLogic Server

WebLogic Server supports remote debugging. If you need to automatically load the debugging option to startweblogic. CMD (. Sh) when creating a domain, you can use either of the following methods:

(1) create a workshop production mode domain. The debugging mode is supported by default.

(2) Add debugging options to the startup script of an existing domain and add them to startweblogic. CMD (. Sh ).

Java_debug =-xdebug-xnoagent-xrunjdwp: Transport = dt_socket, address = 8453, Server = Y, suspend = N

Set java_vm = % java_vm % java_debug % java_profile %

When WebLogic Server is started, the following situations occur:

C:/BEA/jdk142 ~ 1/bin/Java-client-xdebug-xnoagent-xrunjdwp: Transport = dt_socket
, Address = 8453, Server = Y, suspend = N-djava. compiler = none (...) weblogic. Server

 Adjust programs on various development tools

You can refer to the following articles:

(1). Using eclipse remote debugging http://www.eclipsezone.com/Eclipse/forums/t53459.html, which is not mentioned in this article, is to use the J2EE program developed by eclipse. To perform remote debugging, another important thing is that"First deploy the compiled program to WebLogic Server ".

(2) Using JBuilder remote debugging http://wenyuan.cnblogs.com/archive/2005/09/02/228856.aspx to explain in detail how to remotely debug the Weblogic server program on JBuilder.

(3). Remote debugging http://dev2dev.bea.com.cn/techdoc/20060407762.html on jdeveloper

(4). Remote debugging http://dev2dev.bea.com.cn/techdoc/20030843.html on WebLogic Workshop

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.