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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -