java - Tomcat doesn't start automatically in windows -


i installed tomcat 6.0 in windows server 2008 r2.i setted catalina_home=c:\program files\apache software foundation\tomcat 6.0 java_home=c:\program files\java\jdk1.6.0_21. when try open startup.bat.tomcat running.i can reach localhost.but want these things automatically.when open start task manager.i cant see tomcat or apache services.just can reach command prompt method(you can see running black screen below).how open automatically without entering parameter.

picture:running on black screen

edit: yes,i want start tomcat system starts last edit:i found main error.windows doesnt recognize tomcat.how define tomcat windows being service?

to automatically run tomcat when windows starts, need run tomcat service, documented here:

https://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html
https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
https://tomcat.apache.org/tomcat-8.0-doc/windows-service-howto.html


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -