Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use brew service to start Tomcat?

I am using brew to install tomcat, so far so good.

I heard that I could use brew services to start tomcat as a service, but it failed when I try

brew services start tomcat 

I received the error

Error: Formula `tomcat` has not implemented #plist or installed a locatable .plist file

I am wondering how to fix this?

like image 560
Adam Lee Avatar asked Jan 26 '17 10:01

Adam Lee


People also ask

What is the command to start Tomcat server?

Open Task Manager, and select More details if not already expanded. Select the Services tab. Locate IDM Apps Tomcat Service and right-click over it. Select Start, Stop, or Restart.


1 Answers

The tomcat formula is now able to start and stop tomcat with:

brew services start tomcat

and

brew services stop tomcat

Thanks to Maxime Faye and this commit.

Run:

brew upgrade

to obtain this new feature.

like image 59
Ortomala Lokni Avatar answered Oct 26 '22 01:10

Ortomala Lokni