gpt4 book ai didi

tomcat - 在 8080 端口打开 Tomcat 页面时出错

转载 作者:行者123 更新时间:2023-11-28 22:31:07 24 4
gpt4 key购买 nike

我设法将整个 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

有人知道我如何访问该页面吗?

最佳答案

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

还有:

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

关于tomcat - 在 8080 端口打开 Tomcat 页面时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17858878/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com