1
我試圖部署在CapeDwarf Jboss的AS7但是我得到這個錯誤我的Web應用程序WAR文件:部署WAR在CapeDwarf的JBoss AS7
更新時間:
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
可能是什麼問題?
你的意思是重命名我的web應用程序logging.properties文件?像\ WEB-INF \ logging-tmp.properties?我這樣做,但仍然得到錯誤 – xybrek
嗯,如果你完全刪除logging.properties文件呢? – alesj
我很快就會發布新版本 - 可能會在本週末或下週初發布,這應該有所修復。 – alesj