首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GlassFish 4无法部署

GlassFish 4无法部署
EN

Stack Overflow用户
提问于 2018-05-05 18:37:56
回答 1查看 767关注 0票数 0

我在中使用GlassFish4。GlassFish不能再部署我的项目了。我已经在堆栈溢出和一般的互联网上尝试过几种方法来修复它。

我甚至无法通过localhost:4848访问管理控制台。我看到了glassfish控制台的表面,但是上面写着"Status: Admin还没有安装“。

这是我的错误:

代码语言:javascript
复制
 [2018-05-05T20:28:14.580+0200] [glassfish 4.1] [INFO] [NCLS-CORE-00093] [javax.enterprise.system.core] [tid: _ThreadID=104 _ThreadName=Thread-23] [timeMillis: 1525544894580] [levelValue: 800] [[
  Problem while attempting to install admin console!
org.jvnet.hk2.config.TransactionFailure: A ApplicationRef with the same key "__admingui" already exists in Server server
    at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:209)
    at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:139)
    at com.sun.enterprise.v3.admin.adapter.InstallerThread.install(InstallerThread.java:166)
    at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:99)
Caused by: java.lang.IllegalArgumentException: A ApplicationRef with the same key "__admingui" already exists in Server server
    at org.jvnet.hk2.config.WriteableView$ProtectedList.add(WriteableView.java:648)
    at com.sun.enterprise.v3.admin.adapter.InstallerThread$1.run(InstallerThread.java:161)
    at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:180)
    ... 3 more
]] 

我很感激每一种帮助。

EN

回答 1

Stack Overflow用户

发布于 2018-05-06 09:52:23

我假设您正在使用glassfish应用服务器的本地实例。在安装之前,您可以检查是否符合GF 4.1发行说明中列出的要求。

您可以采取的另一个操作是使用安装目录/bin文件夹中的命令asadmin verify-domain-xml验证您的asadmin verify-domain-xml配置文件的完整性。

您说您不能访问管理控制台,但是您的服务器是否正在运行?(http://localhost:8080/)。

您还可以查看server.log,以获得更多关于正在发生的事情的提示,您可以在server.log中找到这些提示,或者尝试执行通过asadmin进行手动部署并查看发生了什么。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50192835

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档