Hi,
I've installed LogicalDOC CE on an Ubuntu Server where Tomcat was already installed. Because of that, I've set the port of Tomcat as 8081.
Is it possible to change both the port of the LogicalDOC Tomcat from 8081 to 8080 and the url from http://localhost:8081 to http://localhost:8080/LogicalDOC ?
I'm not an expert of Ubuntu and Linux
Thanks a lot
Tomcat port
Moderator: car031
Post
Re: Tomcat port
Yes of course,
that is an easy task.
1) Change the port
Stop LogicalDOC system service
check that LogicalDOC is not running
If it is still running launch the command from a bash shell (command shell)
Open the file /LogicalDOC/tomcat/conf/server.xml and change 8081 to 8080
Save the file
2) Move Logicaldoc application from ROOT to a subpath /LogicalDOC
go to dir /LogicalDOC/tomcat/webapps
rename the folder ROOT to LogicalDOC
Restart LogicalDOC system service
that is an easy task.
1) Change the port
Stop LogicalDOC system service
Code: Select all
sudo service logicaldoc stop
Code: Select all
ps -ef | grep java
Code: Select all
sudo /LogicalDOC/tomcat/bin/catalina.sh stop
Save the file
2) Move Logicaldoc application from ROOT to a subpath /LogicalDOC
go to dir /LogicalDOC/tomcat/webapps
rename the folder ROOT to LogicalDOC
Code: Select all
mv ROOT LogicalDOC
Code: Select all
sudo service logicaldoc start
Post
Re: Tomcat port
Try to make 1 change at a time
1) Open the file /LogicalDOC/tomcat/conf/server.xml and change 8081 to 8080
Save the file
shudtown /restart logicaldoc
test if it works on port 8080
http://localhost:8080
2) Move the application from /tomcat/webapps/ROOT to /tomcat/webapps/logicaldoc
shudtown /restart logicaldoc
test if it works on the new path
http://localhost:8080/logicaldoc
1) Open the file /LogicalDOC/tomcat/conf/server.xml and change 8081 to 8080
Save the file
shudtown /restart logicaldoc
test if it works on port 8080
http://localhost:8080
2) Move the application from /tomcat/webapps/ROOT to /tomcat/webapps/logicaldoc
shudtown /restart logicaldoc
test if it works on the new path
http://localhost:8080/logicaldoc
Who is online
Users browsing this forum: No registered users and 17 guests