从终端启动 Tomcat(管理器应用程序)

发布于 2024-12-09 21:00:07 字数 1175 浏览 1 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

奈何桥上唱咆哮 2024-12-16 21:00:07

它在 sh shutdown.sh 之后工作,然后 shstartup.sh

It worked after sh shutdown.sh and then sh startup.sh

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文