Can't install Tomcat 7 as a Service in Windows

后端 未结 4 621
旧时难觅i
旧时难觅i 2021-01-06 16:50

I\'m trying to install tomcat as a service in Windows Server 2008.

I searched in stackoverflow and can\'t find any answer to this problem, i can see other related qu

4条回答
  •  别那么骄傲
    2021-01-06 16:58

    I solved it simply installing the service with other method:

    service.bat install
    

    this command will uninstall the service:

    service.bat uninstall
    

    Also to start it and to enable autostart, you must enter to the Services Manager of Windows (Servicios in spanish version) and start the service and enable autostart.

    If you cand find service.bat file in tomcat/bin directory, read this:

    apache-tomcat-[version].zip or .tar.gz
           Base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native library for Windows.
    
    apache-tomcat-[version]-windows-x86.zip
           32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 32-bit JVMs on both 32 and 64 bit Windows platforms.
    
    apache-tomcat-[version]-windows-x64.zip
           64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 64-bit JVMs on x64 Windows platforms.
    

提交回复
热议问题