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.
- 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)
- In 20.16.11.18 (according to your own address, this is my own random write a number) on Linux: Xshell login Web
- This port is the port connected to eclipse
- 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
Where the Debug configuration is required in eclipse
- 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)