Weblogic modify port number steps

The Weblogic port can be modified , but the corresponding port should be set to the modified port in the cmd file that starts and closes the service after modification.

The following is the complete modification process:

1. Modify the port of the server

There are two ways to modify the port: A through the management window to modify and B to directly modify the corresponding configuration file

B. Modify the config.xml file directly

Services in your console can be changed or installed in the path\bea\user_projects\domains\base_domain\config\config.xml

<server>

<name>AdminServer</name>

<listen-port>80</listen-port>

<listen-address></listen-address>

</server>

Change listen-port

2. Modify the ports in the corresponding startup and shutdown service files

The above is just to modify the port, but it has not been completely modified for the entire weblogic middleware. When we established the domain, the information of the port (port) will be written into the cmd and sh files of his startup and shutdown services when the domain is created. Here I only say cmd (sh file and cmd should be modified in the same way, I have not tested it in the linux environment.)

Include the following files:

startManagedWebLogic.cmd

stopWebLogic.cmd

(If it is a cluster, also modify the port in the corresponding file)

In fact, the principle is that the ports in the configuration files used to start and close services are all transposed to the newly replaced ports. then stop service

Start the service access project

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326353368&siteId=291194637