Can't install Tomcat 7 as a Service in Windows

后端 未结 4 623
旧时难觅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 could not make Apache Tomcat install as a Service in either Windows 10 or in Windows 2012. Upon running the Service.bat install command the routine would find the JDK but always failed with something like: Service Install Failed.

    My solution: Create a Windows Task Scheduler task pointing to

    C:\tomcat7\bin\startup.bat
    

    and make that Task start upon System start without requiring system login. Works like a charm in both operating systems.

    HTH.

提交回复
热议问题