I am trying to debug a web app through IntelliJ. I am using Tomcat 5.5.9. IntelliJ´s debug settings use a startup and shutdown script, which by default is catalina.bat. I don´t have a catalina.bat file, just tomcat5.exe to run tomcat as a windows service (which I am having problems with).
C:\apache\tomcat_5_5_9\bin\tomcat5.exe starts the server ok.
C:\apache\tomcat_5_5_9\bin\tomcat5.exe //SS//Tomcat5 throws a path not found error, which leaves the port 8080 listening (I can´t connect again).
Does anyone know what the correct script settings would be?
Also, when tomcat starts up, IntelliJ gives me an error.
It can´t connect to the VM on the debug port. The debugger doesn´t stop on any break points.
Does anyone have an idea about this?
Thank you for any help,