在CapeDwarf JBoss AS7中部署WAR

时间:2013-02-03 01:22:55

标签: java jboss capedwarf

我尝试在CapeDwarf Jboss AS7中部署我的Web应用程序war文件但是我收到此错误:

更新

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 gae:run

可能是什么问题?

1 个答案:

答案 0 :(得分:2)

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

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

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