1

我试图在 CapeDwarf Jboss AS7 中部署我的 web 应用程序战争文件,但是我收到了这个错误:

更新:

05:49:43,957 WARN  [org.jboss.as.capedwarf.deployment.CapedwarfLoggingParseProcessor] (MSC service thread 1-3) No such logging config file exists: WEB-INF/classes/logging-temp.properties
05:49:44,299 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."explorer.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."explorer.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "explorer.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.3.GA.jar:1.0.3.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.3.GA.jar:1.0.3.GA]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011555: Failed to configure logging using 'logging.properties' configuration file.
    at org.jboss.as.logging.LoggingDeploymentUnitProcessor.configure(LoggingDeploymentUnitProcessor.java:305) [jboss-as-logging-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    at org.jboss.as.logging.LoggingDeploymentUnitProcessor.processDeploymentLogging(LoggingDeploymentUnitProcessor.java:164) [jboss-as-logging-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    at org.jboss.as.logging.LoggingDeploymentUnitProcessor.deploy(LoggingDeploymentUnitProcessor.java:79) [jboss-as-logging-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    ... 5 more
Caused by: java.lang.IllegalArgumentException: ClassLoader instance is already registered to a log context (ModuleClassLoader for Module "deployment.explorer.war:main" from Service Module Loader)
    at org.jboss.logmanager.ContextClassLoaderLogContextSelector.registerLogContext(ContextClassLoaderLogContextSelector.java:101) [jboss-logmanager-1.4.0.Beta1.jar:1.4.0.Beta1]
    at org.jboss.as.logging.LoggingDeploymentUnitProcessor.configure(LoggingDeploymentUnitProcessor.java:270) [jboss-as-logging-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
    ... 8 more

05:49:44,384 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "explorer.war" (runtime-name : "explorer.war")
05:49:44,438 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."explorer.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."explorer.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "explorer.war"

这个 Web 应用程序使用 Maven 可以正常工作

https://github.com/maven-gae-plugin/maven-gae-plugin

mvn 盖:运行

可能是什么问题呢?

4

1 回答 1

2

这是我们的 Beta2 版本中的一个错误。

它已经在上游修复,它将在下一个 Beta3 中。

作为临时解决方法,您可以重命名 logging.properties(例如 logging-tmp.properties),但请确保您还在 appengine-web.xml sys 属性中更改了对它的引用。

于 2013-02-03T09:39:47.940 回答