Hello Today I have problem related to restart service apache tomcat in solaris ? Can you help me about cmd to restart?
How to restart service tomcat in solaris?
2.4k Views Asked by nady dy At
2
Hello Today I have problem related to restart service apache tomcat in solaris ? Can you help me about cmd to restart?
It all depends on how you originally installed Tomcat on your Solaris server. Below I'm providing two different answers depending on how you've installed Tomcat.
As a SMF service
Assumption: You have installed Tomcat using Solaris' IPS package manager. (which also means you're on a fairly recent version of Solaris, not an ancient one)
In that case it will be installed as a true service in Solaris and restarting will be done just like any other service in Solaris, namely
example:
As a standalone thingy not integrated with Solaris' SMF feature
Assumption: You've simply just downloaded the tarballs and unpacked them on the server.
In this case you'll have to rely directly on Tomcat's own start/stop scripts which you can find in Tomcat's
bin
directory. You cannot do a restart directly, so what you do is: