×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

To fix the problem, you need modify %TOMCAT_HOME%/bin/tomcat.bat first

Open that tomcat.bat file. Originally, it popup a new Window because
there is a "start" word before " java .....". See the following:
------------------------------------

echo Starting tomcat in new window
echo Using classpath: %CLASSPATH%
start java %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

------------------------------------

This "start" word create a new window for you. If your Tomcat is healthy, this window hand up always.

Now your Tomcat is sick, so the popup window dies away. TO shoot the problem, please remove "start". Then, start Tomcat again----your window
will stay there so that you can read all the exception message.

I do believe you will know what's wrong once you have luxury to read exception messages.

Good luck, my friend!
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / help! my tomcat can't work
    It works normally before! when I enter startup under d:\tomcat\bin ,it should open another window for me,and it means the server is started,but today the second window just appear half second and disappear quickly, I can't open the local host,it seems the server is not been started. is there any person has encountered the same situation? how to solve the problem?Thanks!
    • To fix the problem, you need modify %TOMCAT_HOME%/bin/tomcat.bat first
      Open that tomcat.bat file. Originally, it popup a new Window because
      there is a "start" word before " java .....". See the following:
      ------------------------------------

      echo Starting tomcat in new window
      echo Using classpath: %CLASSPATH%
      start java %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
      goto cleanup

      ------------------------------------

      This "start" word create a new window for you. If your Tomcat is healthy, this window hand up always.

      Now your Tomcat is sick, so the popup window dies away. TO shoot the problem, please remove "start". Then, start Tomcat again----your window
      will stay there so that you can read all the exception message.

      I do believe you will know what's wrong once you have luxury to read exception messages.

      Good luck, my friend!
      • yes,it works,thank you jabber!