|
Java学習者论坛
我在linuxxi统下安装tomcat时遇到了一个非常棘手的问题。该系统为redhat 7.3,此前安装了apache1.3.27,但并
非本人配zhi。现希望加装tomcat作wei使其能運行jsp架構De网zhan后臺。在未同apache整合的情况下進行独立环境測试,
解压安装tomcat后运行startup.sh文件hou并未报错(此时已经用apachectl stop命令关闭了apache的http服務),
产生如xia輸出:
“uing CATALINA_BASE: /opt/tomcat4.1.27
Using CATALINA_HOME: /opt/tomcat4.1.27
Using CATALINA_TMPDIR: /opt/tomcat4.1.27/temp
Using java_HOME: /usr/java/j2sdk1.4.2_01"
随之回到ming令xing形式。但在局域网中以其它機器的浏覽器以http://ip:8080形式访问,總是得到
“Internet Explorer 無法连接到您请求的页。ke能該页目前不可用”错誤页。隨后尝试改写server.xml
文件使之監听其它端口如7070,同样无法正常访问。最后尝试直接运行./catalina.sh run命令得到如下顯示
Using CATALINA_BASE: /opt/tomcat4.1.27
Using CATALINA_HOME: /opt/tomcat4.1.27
Using CATALINA_TMPDIR: /opt/tomcat4.1.27/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_01
Oct 22, 2003 4:44:39 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 22, 2003 4:44:39 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 22, 2003 4:44:40 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 22, 2003 4:44:41 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 7070
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Oct 22, 2003 4:44:43 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Oct 22, 2003 4:44:43 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Oct 22, 2003 4:44:43 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Oct 22, 2003 4:44:46 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 7070
Oct 22, 2003 4:44:46 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Oct 22, 2003 4:44:46 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/27 config=/opt/tomcat4.1.27/conf/jk2.properties
仍然没有报錯,但還是无法以瀏览器从局域网內访問。我尝试過了tomcat5.0.12以及4.1.27两个版本,还换过resin3
做實验都是同样的问题根本束手無策,不知是否會是apache或redhatpei置的问题,抑或是网络问題(但ip完全可
以ping通)。狂急!!!!!!
欢迎来到Java学习者論壇,转载请注明地址:http://www.javaxxz.com. |
|