【问题标题】:Blank page opening OpenEMM on Tomcat 8在 Tomcat 8 上打开 OpenEMM 的空白页面
【发布时间】:2013-10-12 22:49:55
【问题描述】:

好的,所以我仍在努力让 OpenEMM 在我的 Centos6 服务器上运行。当我运行 /bin/openemm.sh start 命令时,看起来 Tomcat 正在工作,因为我没有收到错误消息,并且我的选项卡中有 Tomcat 图标。但是,我得到的只是一个空白页。

建议?这是日志:

***启动******* 2013 年 10 月 12 日 15:21:20.848 INFO [main] org.apache.catalina.core.AprLifecycleListener.init 使用 APR 版本 1.3.9 加载了基于 APR 的 Apache Tomcat 本机库 1.1.28。

12-Oct-2013 15:21:20.855 INFO [main] org.apache.catalina.core.AprLifecycleListener.init APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

12-Oct-2013 15:21:21.041 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.0-fips 29 Mar 2010)

12-Oct-2013 15:21:21.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]

12-Oct-2013 15:21:21.201 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]

12-Oct-2013 15:21:21.204 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 790 ms

12-Oct-2013 15:21:21.233 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

12-Oct-2013 15:21:21.234 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.0-RC3

12-Oct-2013 15:21:21.243 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /home/openemm-2013/webapps/openemm

12-Oct-2013 15:21:27.879 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /home/openemm-2013/webapps/openemm-ws

12-Oct-2013 15:21:33.911 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /home/openemm-2013/webapps/manual

12-Oct-2013 15:21:34.507 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

12-Oct-2013 15:21:34.514 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"]

12-Oct-2013 15:21:34.519 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"]

12-Oct-2013 15:21:34.521 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 13315 ms

【问题讨论】:

  • 您要求返回空白页的 URL 是什么?
  • www.[mywebsite].com:8080

标签: tomcat centos centos6


【解决方案1】:

您正在尝试访问 ROOT Web 应用程序,但您没有部署 ROOT Web 应用程序。从您的日志中,您只有 /openemm、/openemm-ws 和 /manual

查看最新的 OpenEMM 下载 (2013-R2),它包含一个 sever.xml 文件,该文件为其中一些 Web 应用程序配置不同的上下文路径。有几种方法可以解决这个问题。我建议在您的 $CATALINA_BASE/webapps 目录中进行以下重命名。确保在重命名之前停止 Tomcat。

  • openemm -> 根
  • openemm-ws -> openemm-ws2

【讨论】:

  • 哇哦!那行得通!非常感谢你的帮助。我会重新检查,但我不记得在 OpenEMM 文档中看到过那个有用的小消息。
  • 好的——还有一个问题。 index.html 页面打开,但登录链接将我带到 404 错误。在我们刚刚重命名为 ROOT 的文件夹中有一个 logon.jsp 文件。不知道为什么链接没有指向文件。有任何想法吗?随着时间的推移,我将再次查看安装文档。
  • OpenEMM 建议我应该使用 Tomcat 6 而不是 Tomcat 8。这种差异会导致在处理 logon.jsp 文件时引发错误吗?
  • 仅当 OpenEMM 直接使用 Tomcat 内部而不是 Servlet API 时(总是可能的 - JIRA 在 Tomcat 6 到 Tomcat 7 的迁移中遇到了类似的问题)。我怀疑您缺少某些配置设置的可能性更大。您要么必须通过安装程序来找出它们,要么您可以尝试安装默认的 OpenEMM 安装,然后查看它的配置。
  • 谢谢,马克——我删除了 Tomcat 8 并安装了 Tomcat 6,现在一切正常,所以这显然是问题所在。
猜你喜欢
  • 2017-10-30
  • 2016-08-21
  • 2018-02-27
  • 1970-01-01
  • 2012-11-27
  • 2020-10-09
  • 2015-08-05
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多