Last login: Fri Oct 14 02:32:10 on ttys000
➜ ~ git:(master) ✗ cd ..
➜ /Users cd ..
➜ / cd ..
➜ / cd Developer
➜ /Developer cd usr
➜ usr cd local
➜ local cd apache-tomcat-7.0.22
➜ apache-tomcat-7.0.22 cd bin
➜ bin sudo chown -R Vinisa /Developer/usr/local/apache-tomcat-7.0.22/bin
Password:
➜ bin sudo chmod +x /Developer/usr/local/apache-tomcat-7.0.22/bin/*.sh
➜ bin sh startup
sh: startup: No such file or directory
➜ bin sh startup.sh
Using CATALINA_BASE: /Developer/usr/local/apache-tomcat-7.0.22
Using CATALINA_HOME: /Developer/usr/local/apache-tomcat-7.0.22
Using CATALINA_TMPDIR: /Developer/usr/local/apache-tomcat-7.0.22/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Developer/usr/local/apache-tomcat-7.0.22/bin/bootstrap.jar:/Developer/usr/local/apache-tomcat-7.0.22/bin/tomcat-juli.jar
➜ bin
以上步骤适用于在Mac 10.7上启动Tomcat(Manager App)。我不知道我做错了什么。我收到以下错误 - 401 Unauthorized error while logging in Manager-App of Tomcat。
谢谢!
答案 0 :(得分:0)
它在sh shutdown.sh之后运行,然后是sh startup.sh