Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Change Tomcat1 to use use the following ports by editing /opt/tomcat.1/conf/server.xml. Use an editor to search and replace or more quickly using the following sed commands to do modify your file,

Code Block
cd /opt/apache/tomcat.1/conf
sed -i 's/8005/8105/' server.xml
> server.xml
sed -i 's/8009/8109/' server.xml
> server.xml
sed -i 's/8080/8180/' server.xml
> server.xml
sed -i 's/8443/8543/' server.xml > server.xml

 

Verify

Finally startup your Tomcat instances and verify that they are listening,

...