从终端启动 Tomcat(管理器应用程序)
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(管理器应用程序)。我不知道我做错了什么。我收到以下错误 - 日志记录时出现 401 未经授权的错误在Tomcat的Manager-App中。
谢谢!
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
The above steps are for starting the Tomcat(Manager App) on Mac 10.7. I don't know what I am doing wrong. I am getting the following error - 401 Unauthorized error while logging in Manager-App of Tomcat.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它在 sh shutdown.sh 之后工作,然后 shstartup.sh
It worked after sh shutdown.sh and then sh startup.sh