【问题标题】:glassfish server admin console stalls saying: The admin console application is loadedglassfish 服务器管理控制台停止说:管理控制台应用程序已加载
【发布时间】:2011-10-06 23:18:49
【问题描述】:

我在进入 glassfish 服务器管理控制台时遇到了一些问题(尽管我认为这实际上可能是更大问题的征兆)

我看到的是,当我转到:http://localhost:4848/ 时,我得到一个页面,上面写着:欢迎使用 glassfish 服务器开源版本 3.1(内部版本 43),然后是下面的状态部分。状态使其变为“管理控制台应用程序已加载”,但似乎停在那里。如果我刷新页面,它只是一个空白页面。我必须从 Eclipse 重新启动 glassfish 服务器才能返回到“欢迎使用 glassfish”页面。

我查看了我的服务器日志,发现了大量“严重”问题,所有这些似乎都与这个问题有关:

[#|2011-10-06T18:03:10.869-0500|SEVERE|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=100;_ThreadName=Thread-1;|Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Error reading configuration file
    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:130)
    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
    at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364)
    at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:210)
    at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:108)
|#]

有人对这里可能发生的事情有任何想法吗?我对 glassfish 很陌生,而且很困惑!提前致谢。

头像

【问题讨论】:

    标签: glassfish ejb jersey ear


    【解决方案1】:

    我想我在 Open JDK 上运行时遇到了类似的问题,检查你使用的是哪个 JDK,如果它是 openjdk 然后下载并设置为你的默认 sun-jdk

    【讨论】:

    • 我使用的是开放式 jdk,但在此过程的早期它不起作用。实际上,我必须在 eclipse 中切换它才能做到这一点。我通过转到窗口/首选项/服务器/运行时环境来切换它,编辑我的 glassfish 服务器并将其设置为 sun-jdk。还有其他需要设置的地方吗?
    猜你喜欢
    • 1970-01-01
    • 2013-02-03
    • 2013-05-01
    • 1970-01-01
    • 2016-09-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多