Tomcat port

LogicalDOC has many interesting features, but requires some configuration process to show its full potential.

Moderator: car031

valeriogiorgi.ethica
Posts: 7
Joined: Tue Jan 23, 2018 6:41 pm

Tomcat port

Thu Jan 25, 2018 5:17 pm

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
shatzing
Posts: 78
Joined: Tue Jan 21, 2014 9:46 am

Re: Tomcat port

Fri Jan 26, 2018 4:33 pm

Yes of course,
that is an easy task.

1) Change the port
Stop LogicalDOC system service

Code: Select all

sudo service logicaldoc stop
check that LogicalDOC is not running

Code: Select all

ps -ef | grep java
If it is still running launch the command from a bash shell (command shell)

Code: Select all

sudo /LogicalDOC/tomcat/bin/catalina.sh stop
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

Code: Select all

mv ROOT LogicalDOC
Restart LogicalDOC system service

Code: Select all

sudo service logicaldoc start
valeriogiorgi.ethica
Posts: 7
Joined: Tue Jan 23, 2018 6:41 pm

Re: Tomcat port

Fri Jan 26, 2018 7:00 pm

Both changes suggested don't work :cry:
shatzing
Posts: 78
Joined: Tue Jan 21, 2014 9:46 am

Re: Tomcat port

Mon Jan 29, 2018 4:38 pm

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

Return to “Configuration”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest