You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,7 +31,7 @@ access tomcat application from browser on port 8080
29
31
30
32
Using unique ports for each application is a best practice in an environment. But tomcat and Jenkins runs on ports number 8080. Hence lets change tomcat port number to 8090. Change port number in conf/server.xml file under tomcat home
31
33
```sh
32
-
cd /opt/apache-tomcat-8.5.35/conf
34
+
cd /opt/apache-tomcat-<version>/conf
33
35
# update port number in the "connecter port" field in server.xml
34
36
# restart tomcat after configuration update
35
37
tomcatdown
@@ -45,13 +47,18 @@ Access tomcat application from browser on port 8090
45
47
find / -name context.xml
46
48
```
47
49
1. above command gives 3 context.xml files. comment (<!-- & -->) `Value ClassName` field on files which are under webapp directory.
48
-
After that restart tomcat services to effect these changes
50
+
After that restart tomcat services to effect these changes.
51
+
At the time of writing this lecture below 2 files are updated.
0 commit comments