I want to make tomcat service depend on mySQL service. If mySQL service is started than tomcat service should start otherwise it should not start. I am using Windows 2000 Server. What should I do?
You can write some big, bulky, nasty looking program that interfaces with Windows iterating through the in-memory processes, looking for mysql or one of its derivitive programs, and if it's there it starts Tomcat.
OR, you can just make sure MySQL is running when you start Tomcat.