I've upgraded IDEA to build 6141, I've upgraded the JDK to 1.5.0_10, I've upgraded my Tomcat to 5.5.20 - it does not help. After clicking the red square Stop button, Tomcat keeps hanging (see attached screenshot), I need to kill the java.exe process. :(
I think I had seen that before. Do you still see the Tomcat java process running? If you see it, then you can kill it. It has been a while since I used Tomcat, but a version upgrade made it go away, even though the same version on my laptop had no problem. That led me to believe it was not related to the version, but was instead a configuration problem. Good luck.
The "INFO: Failed Shutdown of Apache Portable Runtime" seems to be a standard message. I have gotten that message like.. ever. Also with IDEA 1.5.
But since the tomcat is actually not running (no executable in memory), I know it's working.
However, if you ARE getting that message AND you have a running tomcat, you might check the logs ( in the logs directory of your tomcat installation if you are manually running tomcat, or in the C:\Documents and Settings\yourusername\.IntelliJIdea60\system\tomcat_yourproject_somehash\logs
There you should see a localhost.2007-01-??.log which you should check. Also the catalina logfile might be of help.
That error message is quite normal if you do not have the apache APR installed. Tomcat will indeed stop.
Another potential problem that can stop the JVM from exiting is if you have started a thread from tomcat that is not marked as a daemon thread. The VM will wait for the thread to exit before it will exit. You need to call Thead.setDaemon( true ) before the thread i started.
Works fine for me.
IDEA Build 6107, Java 1.6.0 and Tomcat 5.5.20
I had some problems, but upgrading Idea to build 6141 and my JDK to
1.5.0_10 made the problems disappear (using Linux).
R
I've upgraded IDEA to build 6141, I've upgraded the JDK to 1.5.0_10, I've
upgraded my Tomcat to 5.5.20 - it does not help. After clicking the red
square Stop button, Tomcat keeps hanging (see attached screenshot), I need
to kill the java.exe process. :(
Tom
Attachment(s):
tomcat-hanging.png
I think I had seen that before. Do you still see the Tomcat java process running? If you see it, then you can kill it. It has been a while since I used Tomcat, but a version upgrade made it go away, even though the same version on my laptop had no problem. That led me to believe it was not related to the version, but was instead a configuration problem. Good luck.
The "INFO: Failed Shutdown of Apache Portable Runtime" seems to be a standard message. I have gotten that message like.. ever. Also with IDEA 1.5.
But since the tomcat is actually not running (no executable in memory), I know it's working.
However, if you ARE getting that message AND you have a running tomcat, you might check the logs ( in the logs directory of your tomcat installation if you are manually running tomcat, or in the C:\Documents and Settings\yourusername\.IntelliJIdea60\system\tomcat_yourproject_somehash\logs
There you should see a localhost.2007-01-??.log which you should check. Also the catalina logfile might be of help.
That error message is quite normal if you do not have the apache APR installed. Tomcat will indeed stop.
Another potential problem that can stop the JVM from exiting is if you have started a thread from tomcat that is not marked as a daemon thread. The VM will wait for the thread to exit before it will exit. You need to call Thead.setDaemon( true ) before the thread i started.
That was the case. We had a plain java.util.Timer running. Thank you all for
your help!
Cheers,
Tom