This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am unable to stop the embedded tomcat through the server start/stop option under the runtime tab. The status shows up as stopped even though I see the server process running. Another thing that I noticed was that when I installed it new on a system, it worked fine for the first time. I have tested it in 3 machines all with XP 2 of them professional and one home.
Created attachment 23465 [details] messages log file
Have you tried to check with the browser whether the server is really running? Have you installed all the hotfixes from the update center? There is one that fixes issue similar to what you have described. Increasing the priority to p3, marking as INCOMPLETE.
The web application does load up through the browser, moreover the log file of tomcat shows that its unloading the application from its memory but after that the process does not get killed. I have all the hotfixes installed except the J2EE profiler which for some reason says it cannot be installed as one of its dependencies is not satisfied.
Can you please verify whether this issue is valid in NB 5.0?
Closing as WORKSFORME since there is no farther response from the user.
I downloaded the 5.0 Beta2 and the issue still exists. Thank you for being patient.
I also experience following issues with NetBeans RC2. stoping NON-EMBEDED tomcat5 instance that I configure into the IDE hangs for a very long time: partial STACK ------------------------ Jan 31, 2006 10:36:59 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-9090 Jan 31, 2006 10:37:00 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jan 31, 2006 10:37:00 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=15/15 config=D:\Tomcat5.0\conf\jk2.properties Jan 31, 2006 10:37:00 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 15906 ms Jan 31, 2006 10:37:19 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true Jan 31, 2006 10:37:19 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Jan 31, 2006 10:37:19 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true Jan 31, 2006 10:37:19 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true Jan 31, 2006 10:39:50 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-9090 Jan 31, 2006 10:39:51 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jan 31, 2006 10:39:51 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /struts-examples Jan 31, 2006 10:39:51 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /admin Jan 31, 2006 10:39:51 AM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost Jan 31, 2006 10:39:51 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /webdav Jan 31, 2006 10:39:51 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /servlets-examples Jan 31, 2006 10:39:51 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /jsp-examples Jan 31, 2006 10:39:52 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /balancer Jan 31, 2006 10:39:52 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /tomcat-docs Jan 31, 2006 10:39:52 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /christensen Jan 31, 2006 10:39:52 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path Jan 31, 2006 10:39:52 AM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /manager Jan 31, 2006 10:39:52 AM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger,host=localhost Jan 31, 2006 10:39:52 AM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger Jan 31, 2006 10:39:52 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-9090 -------------------------------------------- Notice IDE stopping proccess hangs there at last line ... and there is running proccess "stopping tomcat ..." (I wish there was a way to force kill the proccess thread.. ) at some point after about average of 5 minutes it finaly receives release and finishes a job .
Please do not paste logs like this into the description, it makes the issue hard to read, use attachement instead. Is there any difference when you try to stop the Tomcat from the command line?
yes there is difference,tomcat at command line stops and exits as normal.
I'm having the same issue - tomcat doesn't stop properly from within the IDE. I'm using Netbeans 5.0 release, windows 2000, tomcat 5.0.27.
TM 5.0->TBD
Closing as works for me, since we cannot reproduce it. It seems like the problem might be in the local configuration.