1.Weblogic Pass Eclipse Debug Configuration (Technology)

Source: Internet
Author: User

Overview: In the actual application project, we often encounter the local application is not a problem, and deployment to weblogic on the lack of problems, to view the log and can not find the reason, then you need to debug the deployment of the program on the local Eclipse connection, to find the reason;

Here's an example: Java call Tuxedo: Here is the WTC and jolt, in order to simulate the production environment, the core and front-end communication is the WTC, my local program is jolt, the project is deployed on the WebLogic,

(Jolt and WTC find different: is to get the query file from the core jolt if the file cannot be found from the core can catch the exception, you can return the error exception information prompt, and WTC if the file is not found from the core, the exception information is not captured, WTC does not handle this catch exception, Causes the front-end query to be unresponsive), this is the reason that was later found, the following describes the WebLogic Eclipse Debug Configuration step: Our project is maven,svn,eclipse.

    1. Right-click on the manager on the run as----maven Install, the war package, the target inside the rap-----(can not: Modify the configuration file: After the war package, What needs to be modified is: Application-spring-config.xml in Corec---resources/spring/application-spring-config.xml)
    2. In 20.16.11.18 (according to your own address, this is my own random write a number) on Linux: Xshell login Web
    3. This port is the port connected to eclipse
    4. Start the WebLogic service, (above is a weblogic environment specifically for debugging), WebLogic login:

      http://xx.xx.xx.xx:7002/console/

      Login name: XXX

      Password: XXX

      After deployment: Deploy the War Package

      Interoperability: WTC Services, Jolt Connection pool

    5. Where the Debug configuration is required in eclipse

    6. Be aware that the port you are booting is the same as Eclipse's port port 8454, the Red Pen is the place to note (Don't forget, xx.war bag into the WebLogic) then you can debug run your local code debugging.

1.Weblogic Pass Eclipse Debug Configuration (Technology)

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.