Hello Rene, Catanirex and others,
AHAAA. I found the solution. It is a nasty one!!! Really nasty!
It was not crucial to put the command line arguments in the other box. The error was that I had "Apache Tomcat" as the service name while it had to be "Tomcat5"!!!
How did I discover this? Well, from what I found online I understood that I had to put the service name behind //RS//... but the nasty thing is that this is not the Name as it appears on the Services panel of your server. What you see there is the DISPLAY name, so that's quite confusing! If you double-click the service, it becomes clear. On the General tab it first says Service name (that's the one you need to put in CME) and then it says Display name (that's the one that shows on the services panel of your server).
So, in brief the solution for this thread:
- Application Type: Third Party Server (I had this from the start)
- Command line: C:\ApacheTomcat5_5\bin\tomcat5.exe
- Command Line Arguments: //RS//Tomcat5 (<--- the Name of the service, NOT the DISPLAY name)
- create a section "start_stop" on the Annex tab with 2 subsections
start_command = net start "Apache Tomcat"
stop_command = net stop "Apache Tomcat"
As you can see from the latter, it is allowed to use the DISPLAY name in the net start and net stop statements...
Hope this is usefull for others, it is for me!!!
Thank's to everyone who contributed to this solution
Cheers, Luk