Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize remote debugging Weblogic operation based on IDEA

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail how to achieve remote debugging Weblogic operation based on IDEA. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Background

IDEA can debug remotely without source code. Just add the class file or jar package of the program to the project dependency to debug some unopen source Java programs or large middleware remotely.

Operation procedure docker related configuration

Enter the weblogic specified file of vulhub and modify docker-compose.yml. Just map the data to local port 8453.

Add on the last line

-"8453 8453"

View container information

Docker ps

Enter the command docker-compose up-d to start the container

Enter the container

Docker exec-it [Container name] / bin/bashdocker exec-it 56 / bin/bash

Modify the setDomainEnv.sh configuration file to add two lines of code

EbugFlag= "true" export debugFlag

Restart docker. Need to be under the root view of linux

Sudo service docker restartdocker-compose up-ddocker exec-it 56 / bin/bash

Package compressed module and wlserver_10.3 files

Tar-zcvf modules.tar.gz modules/tar-zcvf wlserver_10.3.tar.gz wlserver_10.3/

Copy the above compressed files to the / home/ubuntu directory of the Linux machine

Docker cp 56:/root/Oracle/Middleware/modules.tar.gz / home/ubuntu/docker cp 56:/root/Oracle/Middleware/wlserver.tar.gz / home/ubuntu/IDEA related configuration

Download modules and wlserver, both of which are jar packages

Open the above two folders with IDEA, and then add as Librery (add dependencies)

Then click add Configuration

On "how to achieve IDEA-based remote debugging Weblogic operation" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report