tomcat installation exception

后端 未结 10 767
忘掉有多难
忘掉有多难 2020-12-16 16:06

I\'m trying to install tomcat-7.0.27 on windows 7. I then clicked bin/startup.bat, a window shows up and I see \"INFO: Server startup in 761 ms\" at the last line. I then tr

10条回答
  •  一生所求
    2020-12-16 16:18

    The problem is that the user that is running Tomcat lacks file permissions (read/write) in the install folder.

    Solution

    Right-click on the Tomcat folder (apache-tomcat-7.0.29), select "Properties", go to the "Security tab", try to give it full control to any users profile in you pc, just for be sure.

    Then, click again to C:\Program Files (x86)\Apache Software Foundation\apache-tomcat-7.0.29\bin\startup.bat and wait for self creation of the folders by the application "startup.bat".


    Other option is manually (I created the following directories by hand):

    • apache-tomcat-7.0.14/work/Catalina/localhost:
    • apache-tomcat-7.0.14/work/Catalina/localhost/_
    • apache-tomcat-7.0.14/work/Catalina/localhost/docs
    • apache-tomcat-7.0.14/work/Catalina/localhost/examples
    • apache-tomcat-7.0.14/work/Catalina/localhost/host-manager
    • apache-tomcat-7.0.14/work/Catalina/localhost/manager
    • apache-tomcat-7.0.14/config/Catalina/localhost/
    • apache-tomcat-7.0.14/logs

提交回复
热议问题