"Failed to shutdown Apache Portable Runtime" from Netbeans

After I deployed and clicked in the application, tomcat will not gracefully close from Netbeans IDE.

This is what you can see in the netbeans / tomcat console after clicking Stop.

Sep 27, 2009 11:17:40 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 27, 2009 11:17:41 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 27, 2009 11:17:44 PM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 27, 2009 11:17:44 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime

      

The downward progress bar in the IDE continues for a minute or two, after which a "Stopping Tomcat" error pop-up appears and I have to kill the process manually.

This only happens when I start from the IDE, starting and stopping from the console is not a problem.

I don't have any current background threads that I started from the application, although I use Ehcache (which runs cleanup threads in the background), Spring, Hibernate, and JSF.

How to get tomcat to disconnect from Netbeans gracefully?

+2


source to share





All Articles