i encountered classnotfoundexception during deploying war file jboss server. think related log4j since returns "deployment error processing sci jar: log4j-web-2.2.jar" error. however, web app works on apache tomcat on eclipse. have no idea of how solve it. thank in advance.
log:
12:32:52,002 error [org.jboss.msc.service.fail] (msc service thread 1-1) msc00001: failed start service jboss.deployment.unit."wartest.war".install: org.jboss.msc.service.startexception in service jboss.deployment.unit."wartest.war".install: failed process phase install of deployment "wartest.war" @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:119) [jboss-as-server-7.1.1.final.jar:7.1.1.final] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1811) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1746) [jboss-msc-1.0.2.ga.jar:1.0.2.ga] @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) [rt.jar:1.7.0_91] @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) [rt.jar:1.7.0_91] @ java.lang.thread.run(thread.java:745) [rt.jar:1.7.0_91] caused by: org.jboss.as.server.deployment.deploymentunitprocessingexception: deployment error processing sci jar: log4j-web-2.2.jar @ org.jboss.as.web.deployment.servletcontainerinitializerdeploymentprocessor.loadsci(servletcontainerinitializerdeploymentprocessor.java:186) @ org.jboss.as.web.deployment.servletcontainerinitializerdeploymentprocessor.deploy(servletcontainerinitializerdeploymentprocessor.java:121) @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:113) [jboss-as-server-7.1.1.final.jar:7.1.1.final] ... 5 more caused by: java.lang.classnotfoundexception: # [module "deployment.wartest.war:main" service module loader] @ org.jboss.modules.moduleclassloader.findclass(moduleclassloader.java:190) @ org.jboss.modules.concurrentclassloader.performloadclassunchecked(concurrentclassloader.java:468) @ org.jboss.modules.concurrentclassloader.performloadclasschecked(concurrentclassloader.java:456) @ org.jboss.modules.concurrentclassloader.performloadclass(concurrentclassloader.java:398) @ org.jboss.modules.concurrentclassloader.loadclass(concurrentclassloader.java:120) @ org.jboss.as.web.deployment.servletcontainerinitializerdeploymentprocessor.loadsci(servletcontainerinitializerdeploymentprocessor.java:183) ... 7 more
from log looks jboss needs jar in war's web-inf/lib - mean when says java.lang.classnotfoundexception: # [module "deployment.wartest.war:main" service module loader]
there detailed discussion here: https://issues.apache.org/jira/browse/log4j2-890
Comments
Post a Comment