由于早期的日志记录配置,JBoss拒绝作为Install4j服务运行

时间:2013-12-05 22:33:10

标签: jboss install4j

我正在尝试使用Install4j的Service Launcher在我们的应用程序中部署捆绑的JBoss EAP 6.1。 JBoss拒绝开始,因为:

java.lang.RuntimeException: JBAS014670: Failed initializing module org.jboss.as.logging
...
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: JBAS011592: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"

我已经有了这个java.util.logging.manager系统属性集,但我相信Install4j的包装器在JBoss获得机会之前以某种方式初始化一个JRE范围的日志工具。所以JBoss只是拒绝运行。

请参阅this JBoss issue用户使用TanukiSoftware包装器遇到类似问题。是否有任何方法可以在Install4j服务启动器中禁用此早期初始化,以便JBoss运行?

1 个答案:

答案 0 :(得分:0)

在install4j 5.1.8中,将有一个系统属性“install4j.noLoggingFix”,它阻止了日志记录系统的初始化。请联系support@ej-technologies.com获取此功能的临时版本。