restarting the tomcat has some problmes on windows paltform.... why dfont you use the tomcat manager application to restart the context .....
visit http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html Regards guru -----Original Message----- From: Ying Su [mailto:[EMAIL PROTECTED]] Sent: 28 March 2002 07:18 To: [EMAIL PROTECTED] Subject: Re: Restarting Tomcat Dear Sourabh I checked the application log in the event logger, but didn't find other errors except this one--Apache Tomcat: The Java Virtual Machine has exited with a code of 2, the service is being stopped. " This error was tracked when i tried to start Tomcat. Can you help on that? Thanks! Ying ----- Original Message ----- From: "Sourabh Kulkarni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 2:58 PM Subject: Re: Restarting Tomcat > Hi Ying, > Is there any other service running on your machine on the same port? > Maybe that gets started at restart of the computer. Service might have been > set as automatic. However, it takes time to start. So if you start tomcat > immediately, you get no errors. In that case, that particular service might > be getting error while starting. Check the Event Log (if on Win NT/2000) to > see if any such error is logged. > Hope this helps, > Sourabh > > ----- Original Message ----- > From: Ying Su <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, March 28, 2002 9:43 AM > Subject: Re: Restarting Tomcat > > > > Dear all, > > When Tomcat was just installed on my machine, I can start and stop it by > hand perfectly. But now I met the same problem as Rob Clother met. I checked > the services on my machine, but "Apache Tomcat" was not running. But when I > restart my computer and execute the startup.bat immediately, the problem > does not exist. If I execute the startup.bat later after restarting the > computer, it gives me the same error message. Can anyone point out what is > wrong? THanks! > > > > best regards > > Ying > > ----- Original Message ----- > > From: "TV Karthick Kumar" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, March 19, 2002 4:11 PM > > Subject: Re: Restarting Tomcat > > > > > > > Hi, > > > > > > Did you confirm that you Tomcat has not started as as service ?!. If > it > > > is, then Tomcat is already running. Try restarting your machine and test > > > Tomcat and if it's not running, start it and test again. > > > > > > Hth, > > > Karthick > > > > > > ----- Original Message ----- > > > From: "Rob Clother" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Tuesday, March 19, 2002 2:44 AM > > > Subject: Restarting Tomcat > > > > > > > > > > Dear All: > > > > > > > > I am trying to restart Tomcat by using the Windows menus, which point > to > > > > "Stop Tomcat" and "Start Tomcat". However, the "Start Tomcat" method > > > > causes an error (included at the bottom of this message) to be written > > > > to the console. Is this something to do with Windows XP, or am I just > > > > forgetting to do something very basic? > > > > > > > > Thanks, > > > > -- Rob Clother > > > > > > > > Catalina.start: LifecycleException: null.open: > java.net.BindException: > > > > Address > > > > in use: JVM_Bind:8080 > > > > LifecycleException: null.open: java.net.BindException: Address in > use: > > > > JVM_Bin > > > > d:8080 > > > > at > > > > org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne > > > > ctor.java:1130) > > > > at > > > > org.apache.catalina.core.StandardService.initialize(StandardService.j > > > > ava:454) > > > > at > > > > org.apache.catalina.core.StandardServer.initialize(StandardServer.jav > > > > a:553) > > > > at > org.apache.catalina.startup.Catalina.start(Catalina.java:780) > > > > at > > > > org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > > > > at > > > > org.apache.catalina.startup.Catalina.process(Catalina.java:179) > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > at > > > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > > > > ----- Root Cause ----- > > > > java.net.BindException: Address in use: JVM_Bind:8080 > > > > at > > > > org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j > > > > ava:950) > > > > at > > > > org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne > > > > ctor.java:1128) > > > > at > > > > org.apache.catalina.core.StandardService.initialize(StandardService.j > > > > ava:454) > > > > at > > > > org.apache.catalina.core.StandardServer.initialize(StandardServer.jav > > > > a:553) > > > > at > org.apache.catalina.startup.Catalina.start(Catalina.java:780) > > > > at > > > > org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > > > > at > > > > org.apache.catalina.startup.Catalina.process(Catalina.java:179) > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > at > > > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > > > > > > > > > > > > =========================================================================== > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > > JSP-INTEREST". > > > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > > DIGEST". > > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > > > http://archives.java.sun.com/jsp-interest.html > > > > http://java.sun.com/products/jsp/faq.html > > > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > > > http://www.jguru.com/faq/index.jsp > > > > http://www.jspinsider.com > > > > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > =========================================================================== > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > > Some relevant FAQs on JSP/Servlets can be found at: > > > > > > http://archives.java.sun.com/jsp-interest.html > > > http://java.sun.com/products/jsp/faq.html > > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > > http://www.jguru.com/faq/index.jsp > > > http://www.jspinsider.com > > > > > > > > > ��������������������������������������������������������Ӣ�칻 �&��ǧu�sS[h- > +-����6�k�.Y�(T��Sw%�עz�^n?r��azg��� �� z?�HDU,D� > ��DD"��+r �z�������r �z��j�����r?�j�!S���ǫ�W��)�z����msT^�<�q��?�i���j���� > �r?��� ��l�ǫ�W���mz��-�<�q��?٥,""HDU �i� m���� �-� ��(>�sz楳��z����?٥ > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > N<����r�>zǧu�sS[h-+-��ڲ�ܢf�v)�-�^S{ay� �?�...�z�� z� z?�HDU,D�51 $��� b��!�� ���?+6�j˧r?�j�!S���ǫ�W�S{^��-?٥E�(�� � m���j���w(>�k��oe���z��z� ����kz�.�Ǭ?٥,""HDU �i?�i��0�[(~�(>�sz楳��z���� ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
