简体   繁体   English

Tomcat无法在Mac OS X上运行

[英]Tomcat not running on Mac OS X

I'm trying to run Tomcat on Mac OS X (leopard) according to the directions on this article: 我试图根据本文上的说明在Mac OS X(豹)上运行Tomcat:

http://computersight.com/software/how-to-install-mondrian-the-complete-guide/ http://computersight.com/software/how-to-install-mondrian-the-complete-guide/

I was able to run ./startup.sh properly and see the screen in step#3 at one point, but after I got through all 16 steps, I was longer able to view that same screen at localhost:8080. 我能够正常运行./startup.sh并一次看到步骤3中的屏幕,但是在完成所有16个步骤之后,我再也无法在localhost:8080上查看相同的屏幕。 I followed the instructions closely. 我严格按照说明进行操作。 The only thing I changed different was in step #15, I changed jdbcUser and jdbcPassword for the following files: (arrows.jsp, colors.jsp, fourhier.jsp, mondrian.jsp). 我唯一不同的是在步骤15中,我为以下文件更改了jdbcUser和jdbcPassword:(arrows.jsp,colors.jsp,fourhier.jsp,mondrian.jsp)。 I changed those to root user. 我将那些更改为root用户。

Java and Mysql are installed and functioning properly; Java和Mysql已安装并正常运行; I'm just trying to get Tomcat to run properly. 我只是想让Tomcat正常运行。 Any help or advice to get me looking in the right direction would be greatly appreciated! 任何帮助我朝正确方向看的帮助或建议,将不胜感激! Thanks! 谢谢!

Do you have Homebrew? 你有自制的吗?

paste this into your shell to install homebrew 将此粘贴到您的外壳中以安装自制软件

/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

Then try 然后尝试

brew search tomcat

to run 跑步

catalina run

see this 看到这个

http://www.railscoder.com/installing-tomcat-with-homebrew-on-osx/ http://www.railscoder.com/installing-tomcat-with-homebrew-on-osx/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM