cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat service fail to auto start after reboot

zhuwenxi
Garnet

Tomcat service fail to auto start after reboot

I am testing the latest Thingworx8.3 Linux with Ubuntu18.0.4LTS and Java JDK 1.8.0.192 and Tomcat 8.5.23. And it works fine after installation using the steps of the installation guide. But after I reboot the machine, the tomcat servie would not start automatically. I need to use command 'sudo systemctl start tomcat8.5' to start the service.

Then I use command 'sudo systemctl enable tomcat8.5.service', I got the error below.

'update-rc.d: error: tomcat8.5 Default-Start contains no runlevels, aborting.'

Please advise how to make tomcat and Thingworx start automatically in linux system.

2 REPLIES 2

Re: Tomcat service fail to auto start after reboot

Re: Tomcat service fail to auto start after reboot

Thanks for your reply. According to the installation manual step 32, I need to create a file tomcat8.5 into /etc/init.d. That cause the error. /etc/init.d is only for old Ubuntu system before 16.04. After I delete that file, it work fine.
Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.