Amit Sinha
Amit Sinha

Reputation: 614

shutdown tomcat 8 and start tomcat 9

I am new to java. I had tomcat 8 running on the linode server at following location

/usr/share/

tomcat8, tomcat8-admin, tomcat8-docs, tomcat8-examples are present at this location. When I browsed localhost:8080, I got "It works" html page with links for tomcat8-docs, tomcat8-examples, and tomcat8-admin. But I was not able to browse any of the given links(404 error was coming).

After that I installed tomcat9 at following location

/usr/local/apache-tomcat9

it contains a folder named 'webapps' which in turn contains folders docs,examples, host-manager, manager and ROOT.

I want to shut tomcat8 down and use tomcat9 instead. Is there any way for this.

Upvotes: 0

Views: 6215

Answers (1)

Andrew Preizner
Andrew Preizner

Reputation: 264

I believe you can just run sudo service tomcat8 stop and sudo service tomcat9 start

Upvotes: 2

Related Questions