免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 987 | 回复: 3
打印 上一主题 下一主题

我的tomcat怎么会这样啊?请大家来帮我看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-03 20:13 |只看该作者 |倒序浏览
rh9+jdk1.4.2+tomcat5.5
jdk安装成功可以正常运行java,tomcat有如下的问题:
#startup.sh运行之后显示:
Using CATALINA_BASE /usr/local/jakarta-tomcat-5
Using CATALINA_HOME /usr/local/jakarta-tomcat-5
Using CATALINA_TMPDIR /usr/local/jakarta-tomcat-5/temp
Using JAVA_HOME /usr/java/jdk

我在ie里面输入http://localhost:8080/怎么总是提示:当试图于http://localhost:8080联系时,连接被拒绝.
我一开始以为是防火墙把端口封了,就用
#service iptables stop
把它关了可是还是出现同样的话,请问该怎么办啊?

论坛徽章:
0
2 [报告]
发表于 2005-01-03 22:49 |只看该作者

我的tomcat怎么会这样啊?请大家来帮我看看

# vi /etc/profile
加入:
JAVA_HOME
CATALINA_BASE和CATALINA_HOME
export JAVA_HOME CATALINA_BASE CATALINA_HOME
另外确定你的apache是否已经正常启动

论坛徽章:
0
3 [报告]
发表于 2005-01-04 08:54 |只看该作者

我的tomcat怎么会这样啊?请大家来帮我看看

我的java是好的(当然你说的环境变量也设好了),测过了,apache也能在浏览器中打开!

论坛徽章:
0
4 [报告]
发表于 2005-01-04 10:42 |只看该作者

我的tomcat怎么会这样啊?请大家来帮我看看

原帖由 "cleverforever" 发表:
rh9+jdk1.4.2+tomcat5.5
jdk安装成功可以正常运行java,tomcat有如下的问题:
#startup.sh运行之后显示:
Using CATALINA_BASE /usr/local/jakarta-tomcat-5
Using CATALINA_HOME /usr/local/jakarta-tomcat-5 ..........




in jakarta-tomcat-5.5.6/RELEASE-NOTES

  1. ....
  2. ===================
  3. Dependency Changes:
  4. ===================
  5. Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires
  6. configuration to run on J2SE 1.4.  Make sure to read the "RUNNING.txt"
  7. file in this directory if you are using J2SE 1.4.

  8. ....
复制代码


in RUNNINT.txt

  1. ...
  2. ===========================================
  3. Running Tomcat With J2SE Version 1.4 or 1.3
  4. ===========================================

  5. (1) Obtain the compat package:

  6. (1.1) Download the compat package from the binary download site:
  7.       http://jakarta.apache.org/site/binindex.cgi

  8.       * Or build this package yourself from the source code: see
  9.         "BUILDING.txt" in this directory.

  10. (2) Unzip the package in $CATALINA_HOME.  It will place the XML
  11.     parser APIs and Xerces implementation in the common/endorsed
  12.     directory, and the JMX API jar (jmx.jar from Sun) in the bin
  13.     directory.

  14. (3) Follow the same directions for starting and stopping the
  15.     server as if you were using J2SE 5.0.

  16. ...
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP