jboss5.x - JBOSS 5 LOG4J ExceptionInInitializerError -


am migrating application jboss5 jboss4

i below exception while doing so

i did make work, replaced new log4j, tried without log4j, changed common-logging jar.

but still facing exception. appreciate on this.

also, in project maintaing jars in 3 folders purpose 1.) webapp/lib 2.) common/lib 3.) services/lib

am pasting here list of jars in each folder here

1.) webapp/lib folder

03/08/2012  06:54 pm    <dir>          . 03/08/2012  06:54 pm    <dir>          .. 03/01/2012  02:24 pm           458,647 admin.jar 03/01/2012  02:24 pm            49,170 bootstrap.jar 03/01/2012  02:24 pm             5,956 channel.jfap.jar 03/01/2012  02:24 pm           246,395 channel.tcp.jar 03/01/2012  02:24 pm           303,805 channelfw.jar 03/01/2012  02:25 pm           188,671 commons-beanutils-1.7.0.jar 03/01/2012  02:24 pm            31,909 commons-fileupload-1.1.1.jar 03/01/2012  02:23 pm            65,621 commons-io-1.2.jar 03/01/2012  02:24 pm           245,274 commons-lang-2.3.jar 03/08/2012  06:54 pm            55,423 commons-logging.jar 03/01/2012  02:24 pm           534,203 dom4j-full.jar 03/01/2012  02:24 pm         2,124,154 emf.jar 03/01/2012  02:24 pm            90,193 ffdc.jar 03/01/2012  02:24 pm           802,494 freemarker-2.3.8.jar 03/01/2012  02:23 pm           892,456 ibmorb.jar 03/01/2012  02:23 pm         1,500,466 idl.jar 03/01/2012  02:24 pm           411,400 j2cimpl.jar 03/01/2012  02:24 pm           140,745 j2cintf.jar 03/08/2012  03:17 pm           372,224 log4j.jar 03/01/2012  02:24 pm           140,592 naming.jar 03/01/2012  02:24 pm           318,980 namingclient.jar 03/01/2012  02:24 pm           167,958 ognl-2.6.9.jar 03/01/2012  02:24 pm           695,816 pmi.jar 03/01/2012  02:24 pm             3,246 pmirm-sib.jar 03/01/2012  02:24 pm           331,712 quartz-1.5.0.jar 03/01/2012  02:24 pm           450,121 ras.jar 03/01/2012  02:24 pm           383,227 rsadapterspi.jar 03/01/2012  02:23 pm           445,493 runtime.jar 03/01/2012  02:24 pm            85,758 runtimefw.jar 03/01/2012  02:23 pm         4,148,686 sib.common.jar 03/01/2012  02:24 pm           572,695 sibws.jar 03/01/2012  02:24 pm            12,628 struts2-api-2.0.5.jar 03/01/2012  02:23 pm         2,206,214 struts2-core-2.0.5.jar 03/01/2012  02:25 pm            13,909 struts2-sitemesh-plugin-2.0.5.jar 03/01/2012  02:23 pm            16,105 tcss-batch_1.0.jar 03/08/2012  03:12 pm            71,435 tcss-stub.jar 03/01/2012  02:24 pm            21,838 txclient.jar 03/01/2012  02:24 pm            53,565 txclientprivate.jar 03/01/2012  02:25 pm           343,292 utils.jar 03/01/2012  02:24 pm         9,675,478 wccm_base.jar 03/01/2012  02:24 pm               354 websphere-jars.txt 03/01/2012  02:24 pm             5,799 wsexception.jar 03/08/2012  03:20 pm           139,889 xmlschema-1.4.2.jar 03/01/2012  02:24 pm           448,273 xwork-2.0.0.jar               44 file(s)     29,272,269 bytes                2 dir(s)  156,930,625,536 bytes free 

2.) common/lib folder

03/08/2012  06:51 pm    <dir>          . 03/08/2012  06:51 pm    <dir>          .. 03/01/2012  02:11 pm           327,810 backport-util-concurrent-3.0.jar 03/01/2012  02:11 pm           610,790 c3p0-0.9.1.2.jar 03/01/2012  02:11 pm             2,686 c3p0-oracle-thin-extras-0.9.1.2.jar 03/01/2012  02:11 pm           174,535 commons-math-1.1.jar 03/01/2012  02:11 pm           534,203 dom4j-full-1.3.jar 03/01/2012  02:11 pm           243,457 ehcache-1.4.0.jar 03/01/2012  02:11 pm            50,626 ejb3-persistence-3.0.jar 03/01/2012  02:11 pm           338,447 hibernate-annotations-3.2.0.cr1.jar 03/01/2012  02:11 pm           338,447 hibernate-annotations.jar 03/01/2012  02:11 pm            97,570 hibernate-entitymanager-3.2.0.cr1.jar 03/01/2012  02:11 pm            97,570 hibernate-entitymanager.jar 03/01/2012  02:11 pm         2,112,010 hibernate3-3.2.0.cr2.jar 03/01/2012  02:11 pm         2,112,010 hibernate3.jar 03/01/2012  02:11 pm         4,498,893 icu4j-3_8_1.jar 03/01/2012  02:11 pm           143,792 jsch-0.1.34.jar 03/01/2012  02:11 pm             8,277 jsr107cache-1.0.jar 03/01/2012  02:11 pm         1,941,501 jython-2.2.1.jar 03/08/2012  03:17 pm           372,224 log4j.jar 03/01/2012  02:11 pm         1,545,954 ojdbc14.zip 03/08/2012  06:51 pm            70,516 tcss-stub.jar 03/08/2012  03:20 pm           139,889 xmlschema-1.4.2.jar 

3.) services/lib folder

03/08/2012  06:53 pm    <dir>          . 03/08/2012  06:53 pm    <dir>          .. 03/01/2012  02:08 pm            62,983 activation-1.1.jar 03/01/2012  02:09 pm           248,639 annogen-0.1.0.jar 03/05/2012  02:22 pm           427,742 axiom-api-1.2.11.jar 03/05/2012  02:22 pm           159,057 axiom-dom-1.2.11.jar 03/05/2012  02:22 pm           122,415 axiom-impl-1.2.11.jar 03/05/2012  02:20 pm           689,180 axis2-adb-1.6.0.jar 03/05/2012  02:20 pm           179,618 axis2-adb-codegen-1.6.0.jar 03/05/2012  02:20 pm            18,269 axis2-ant-plugin-1.6.0.jar 03/05/2012  02:20 pm            96,876 axis2-clustering-1.6.0.jar 03/05/2012  02:20 pm           254,358 axis2-codegen-1.6.0.jar 03/05/2012  02:20 pm           147,166 axis2-corba-1.6.0.jar 03/05/2012  02:20 pm            16,422 axis2-fastinfoset-1.6.0.jar 03/05/2012  02:20 pm            27,739 axis2-java2wsdl-1.6.0.jar 03/05/2012  02:20 pm            28,679 axis2-jaxbri-1.6.0.jar 03/05/2012  02:20 pm           741,267 axis2-jaxws-1.6.0.jar 03/05/2012  02:20 pm            35,725 axis2-jibx-1.6.0.jar 03/05/2012  02:20 pm            19,184 axis2-json-1.6.0.jar 03/05/2012  02:20 pm         1,040,584 axis2-kernel-1.6.0.jar 03/05/2012  02:20 pm           430,582 axis2-metadata-1.6.0.jar 03/05/2012  02:20 pm            13,728 axis2-mtompolicy-1.6.0.jar 03/05/2012  02:20 pm            89,063 axis2-saaj-1.6.0.jar 03/05/2012  02:20 pm            33,739 axis2-soapmonitor-servlet-1.6.0.jar 03/05/2012  02:20 pm            11,453 axis2-spring-1.6.0.jar 03/08/2012  03:07 pm           284,405 axis2-transport-all-1.0.0.jar 03/05/2012  02:20 pm           152,386 axis2-transport-http-1.6.0.jar 03/05/2012  02:20 pm            16,106 axis2-transport-local-1.6.0.jar 03/05/2012  02:20 pm            26,613 axis2-xmlbeans-1.6.0.jar 03/01/2012  02:08 pm           331,716 backport-util-concurrent-3.1.jar 03/01/2012  02:09 pm            46,725 commons-codec-1.3.jar 03/01/2012  02:09 pm            53,082 commons-fileupload-1.2.jar 03/01/2012  02:08 pm           305,001 commons-httpclient-3.1.jar 03/01/2012  02:08 pm           109,043 commons-io-1.4.jar 03/08/2012  06:53 pm            55,423 commons-logging.jar 03/01/2012  02:08 pm            12,232 geronimo-annotation_1.0_spec-1.1.jar 03/01/2012  02:09 pm            28,804 geronimo-stax-api_1.0_spec-1.0.1.jar 03/01/2012  02:08 pm           168,160 httpcore-4.0-beta1.jar 03/01/2012  02:08 pm           152,058 httpcore-nio-4.0-beta1.jar 03/01/2012  02:09 pm         1,335,669 jalopy-1.5rc3.jar 03/01/2012  02:08 pm            54,187 jettison-1.0-rc2.jar 03/05/2012  02:20 pm           407,900 jibx-bind-1.2.jar 03/05/2012  02:20 pm           128,520 jibx-run-1.2.jar 03/08/2012  03:17 pm           372,224 log4j.jar 03/01/2012  02:08 pm           388,864 mail-1.4.jar 03/01/2012  02:09 pm            34,750 mex-1.4.1.jar 03/05/2012  02:20 pm            34,162 neethi-2.0.5.jar 03/01/2012  02:08 pm            32,108 soapmonitor-1.4.1.jar 03/01/2012  02:09 pm           149,442 woden-api-1.0m8.jar 03/01/2012  02:09 pm           225,594 woden-impl-dom-1.0m8.jar 03/01/2012  02:08 pm           148,429 wsdl4j-1.6.2.jar 03/01/2012  02:09 pm           520,092 wstx-asl-3.2.4.jar 03/08/2012  03:20 pm           139,889 xmlschema-1.4.2.jar               51 file(s)     10,608,052 bytes                2 dir(s)  156,930,625,536 bytes free 

and here goes real exception

java.lang.exceptionininitializererror     @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39)     @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27)     @ java.lang.reflect.constructor.newinstance(constructor.java:513)     @ java.lang.class.newinstance0(class.java:355)     @ java.lang.class.newinstance(class.java:308)     @ org.jboss.web.tomcat.service.tomcatinjectioncontainer.newinstance(tomcatinjectioncontainer.java:264)     @ org.jboss.web.tomcat.service.tomcatinjectioncontainer.newinstance(tomcatinjectioncontainer.java:256)     @ org.apache.catalina.core.applicationfilterconfig.getfilter(applicationfilterconfig.java:220)     @ org.apache.catalina.core.applicationfilterconfig.setfilterdef(applicationfilterconfig.java:332)     @ org.apache.catalina.core.applicationfilterconfig.<init>(applicationfilterconfig.java:90)     @ org.apache.catalina.core.standardcontext.filterstart(standardcontext.java:3783)     @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4413)     @ org.jboss.web.tomcat.service.deployers.tomcatdeployment.performdeployinternal(tomcatdeployment.java:310)     @ org.jboss.web.tomcat.service.deployers.tomcatdeployment.performdeploy(tomcatdeployment.java:142)     @ org.jboss.web.deployers.abstractwardeployment.start(abstractwardeployment.java:461)     @ org.jboss.web.deployers.webmodule.startmodule(webmodule.java:118)     @ org.jboss.web.deployers.webmodule.start(webmodule.java:97)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)     @ java.lang.reflect.method.invoke(method.java:597)     @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:157)     @ org.jboss.mx.server.invocation.dispatch(invocation.java:96)     @ org.jboss.mx.server.invocation.invoke(invocation.java:88)     @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264)     @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:668)     @ org.jboss.system.microcontainer.serviceproxy.invoke(serviceproxy.java:206)     @ $proxy38.start(unknown source)     @ org.jboss.system.microcontainer.startstoplifecycleaction.installaction(startstoplifecycleaction.java:42)     @ org.jboss.system.microcontainer.startstoplifecycleaction.installaction(startstoplifecycleaction.java:37)     @ org.jboss.dependency.plugins.action.simplecontrollercontextaction.simpleinstallaction(simplecontrollercontextaction.java:62)     @ org.jboss.dependency.plugins.action.accesscontrollercontextaction.install(accesscontrollercontextaction.java:71)     @ org.jboss.dependency.plugins.abstractcontrollercontextactions.install(abstractcontrollercontextactions.java:51)     @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)     @ org.jboss.system.microcontainer.servicecontrollercontext.install(servicecontrollercontext.java:286)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)     @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)     @ org.jboss.system.servicecontroller.dochange(servicecontroller.java:688)     @ org.jboss.system.servicecontroller.start(servicecontroller.java:460)     @ org.jboss.system.deployers.servicedeployer.start(servicedeployer.java:163)     @ org.jboss.system.deployers.servicedeployer.deploy(servicedeployer.java:99)     @ org.jboss.system.deployers.servicedeployer.deploy(servicedeployer.java:46)     @ org.jboss.deployers.spi.deployer.helpers.abstractsimplerealdeployer.internaldeploy(abstractsimplerealdeployer.java:62)     @ org.jboss.deployers.spi.deployer.helpers.abstractrealdeployer.deploy(abstractrealdeployer.java:50)     @ org.jboss.deployers.plugins.deployers.deployerwrapper.deploy(deployerwrapper.java:171)     @ org.jboss.deployers.plugins.deployers.deployersimpl.dodeploy(deployersimpl.java:1439)     @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1157)     @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1178)     @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1210)     @ org.jboss.deployers.plugins.deployers.deployersimpl.install(deployersimpl.java:1098)     @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)     @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)     @ org.jboss.deployers.plugins.deployers.deployersimpl.process(deployersimpl.java:781)     @ org.jboss.deployers.plugins.main.maindeployerimpl.process(maindeployerimpl.java:702)     @ org.jboss.system.server.profileservice.repository.maindeployeradapter.process(maindeployeradapter.java:117)     @ org.jboss.system.server.profileservice.repository.profiledeployaction.install(profiledeployaction.java:70)     @ org.jboss.system.server.profileservice.repository.abstractprofileaction.install(abstractprofileaction.java:53)     @ org.jboss.system.server.profileservice.repository.abstractprofileservice.install(abstractprofileservice.java:361)     @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)     @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)     @ org.jboss.system.server.profileservice.repository.abstractprofileservice.activateprofile(abstractprofileservice.java:306)     @ org.jboss.system.server.profileservice.profileservicebootstrap.start(profileservicebootstrap.java:271)     @ org.jboss.bootstrap.abstractserverimpl.start(abstractserverimpl.java:461)     @ org.jboss.main.boot(main.java:221)     @ org.jboss.main$1.run(main.java:556)     @ java.lang.thread.run(thread.java:662) caused by: org.apache.commons.logging.logconfigurationexception: user-specified log class 'org.apache.commons.logging.impl.log4jlogger' cannot found or not useable.     @ org.apache.commons.logging.impl.logfactoryimpl.discoverlogimplementation(logfactoryimpl.java:798)     @ org.apache.commons.logging.impl.logfactoryimpl.newinstance(logfactoryimpl.java:601)     @ org.apache.commons.logging.impl.logfactoryimpl.getinstance(logfactoryimpl.java:333)     @ org.apache.commons.logging.impl.logfactoryimpl.getinstance(logfactoryimpl.java:307)     @ org.apache.commons.logging.logfactory.getlog(logfactory.java:645)     @ org.apache.struts2.dispatcher.filterdispatcher.<clinit>(filterdispatcher.java:151)     ... 81 more 

try change :

<property name="filteredpackages">javax.servlet,org.apache.commons.logging</property> 

by

<property name="filteredpackages">javax.servlet</property> 

in jboss_home/server/name/deployers/jbossweb.deployer/meta-inf/war-deployers-jboss-beans.xml

tell me if resolves problem.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -