在端口8080打开Tomcat页时出错

时间:2013-07-25 13:05:27

标签: tomcat liferay

我设法将整个Liferay + Tomcat 7软件包复制到服务器上。

当我运行startup.sh文件时,Tomcat会在catalina.out中生成以下结果:

Jul 25, 2013 12:22:01 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /data/java/jdk1.6.0_37/jre/lib/amd64/server:/data/java/jdk1.6.0_37/jre/lib/amd64:/data/java/jdk1.6.0_37/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 25, 2013 12:22:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 25, 2013 12:22:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 25, 2013 12:22:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1965 ms
Jul 25, 2013 12:22:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 25, 2013 12:22:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jul 25, 2013 12:22:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/conf/Catalina/localhost/ROOT.xml
Jul 25, 2013 12:23:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/welcome-theme
Jul 25, 2013 12:23:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/resources-importer-web
Jul 25, 2013 12:23:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/marketplace-portlet
Jul 25, 2013 12:23:10 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 25, 2013 12:23:10 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 25, 2013 12:23:10 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 67754 ms

但是,当我尝试输入ipaddress_of_server:8080时,他们说找不到网站。

我在服务器上运行了一个lsof

[henry@batik1 ~]$ lsof -i:8080
COMMAND  PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    6643 henry   52u  IPv6 184032      0t0  TCP *:webcache (LISTEN)
java    6643 henry  277u  IPv6 184072      0t0  TCP localhost.localdomain:47100->localhost.local 

有谁知道如何访问该页面?

1 个答案:

答案 0 :(得分:0)

看起来Liferay正常启动(但添加更多信息 - catalina.out或其他,正如游戏玩家在评论中所要求的那样)

此外:

  • 检查防火墙设置(8080可能被阻止)
  • 您的lsof输出列出了IPV6(自从我解释lsof输出和命令行以来已经很久了 - 这可能是正常的,或者没有。你没有说你是否尝试IPV4连接)
  • 尝试从该服务器连接浏览器。如果它是仅限shell的服务器,请在w3m上使用lynxhttp://localhost:8080/