Sh script for running a java class mac

broken image
broken image

How to Start a service automatically when the tomcat starts.Is it possible to edit tomcat startup services?.how can I start my application by default on tomcat server start/restart?.I need to run an application that can run automatically that when the tomcat starts.? any suggestions…?.Also found so many other related questions on net. Recently I wanted to start my standalone Java Application on Tomcat Startup.