tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Class loading problem in TomEE 1.5.1
Date Thu, 31 Jan 2013 06:50:01 GMT
Note: did you put commons-logging in your app too?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/1/30 Romain Manni-Bucau <rmannibucau@gmail.com>

> Hi,
>
> can you reproduce it in a sample webapp?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/1/30 <dmitry.volkov@eiskonzept.com>
>
> Hello,
>>
>> I have following exception after version upgrade from 1.5.0 to 1.5.1.
>> Just replacing all jars in lib folder with jars from version 1.5.0 solves
>> the problem. I have tried 1.5.2-SNAPSHOT and got the same exception.
>> The class "org.apache.commons.logging.impl.Log4JLogger" contained in
>> commons-logging.jar which provided by TomEE. (Have tried to place
>> commons-logging.jar in webapp.war too with same effect)
>> What could be?
>>
>> java.lang.ExceptionInInitializerError
>>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>         at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>         at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>>         at
>> org.apache.webbeans.inject.InjectableConstructor.doInjection(InjectableConstructor.java:89)
>>         at
>> org.apache.openejb.cdi.ConstructorInjectionBean.createInstance(ConstructorInjectionBean.java:77)
>>         at
>> org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:186)
>>         at
>> org.apache.openejb.core.WebContext.newInstance(WebContext.java:107)
>>         at
>> org.apache.tomee.catalina.JavaeeInstanceManager.newInstance(JavaeeInstanceManager.java:55)
>>         at
>> org.apache.tomee.catalina.JavaeeInstanceManager.newInstance(JavaeeInstanceManager.java:48)
>>         at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
>>         at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
>>         at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>         at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>>         at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>>         at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>>         at
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
>>         at
>> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
>>         at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>         at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>         at java.lang.Thread.run(Thread.java:722)
>> Caused by: org.apache.commons.logging.LogConfigurationException:
>> User-specified log class 'org.apache.commons.logging.impl.Log4JLogger'
>> cannot be found or is not useable.
>>         at
>> org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)
>>         at
>> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
>>         at
>> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
>>         at
>> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
>>         at
>> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
>>         at
>> com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener.<clinit>(ApplicationLifecycleListener.java:31)
>>         ... 24 more
>>
>>
>>
>>
>> Dmitry Volkov
>> e.i.s. Konzept AG
>> Elektronische Informations Systeme
>> Brunnenweg 19
>> 64331 Weiterstadt, Germany
>> FON: +49 (6150) 1080-0
>> FAX: +49 (6150) 1080-80
>> dmitry.volkov@eiskonzept.com
>> http://www.eiskonzept.com
>>
>> Vorstandsmitglieder: Cornelius Kuschnereit und Christopher Urban
>> Vorsitzender des Aufsichtsrates: Jan Mayerhöfer
>> Registergericht Darmstadt, HRB 7951
>> Ust.-ID-Nr. DE 111 626 898
>>
>> Ihre Prozesse bestimmen Ihre Position am Markt!
>>
>> Nutzen Sie Ihre Prozesspotentiale - setzen Sie auf
>> webbasierte Lösungen und offene Technologien.
>>
>> Die e.i.s. Konzept AG ist zertifizierter IBM Premier
>> Partner und spezialisiert auf das mit Software-
>> Individualentwicklung verbundene Projektgeschäft.
>>
>>
>>
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message