dev@glassfish.java.net

Re: After svn update and rebuild web apps fail to deploy: more than one version of com.sun.org.apache.commons.logging.Log' visible ???

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Fri, 15 Feb 2008 09:29:28 -0800

What is the status of this?
I'm also seeing this exception with this morning's build.

Jane


Jerome Dochez wrote:

> Shing Wai
>
> How many web modules are importing the common logger ?
>
> jerome
>
> On Feb 14, 2008, at 8:28 AM, Tim Quinn wrote:
>
>> Sorry for the long trace.
>>
>> The subject line says it all.
>>
>> Any ideas?
>>
>> - Tim
>>
>> Feb 14, 2008 10:25:06 AM
>> com.sun.enterprise.v3.deployment.DeployCommand execute
>> INFO: Deployment of web-simple-servlet-web done is 1156 ms
>> Feb 14, 2008 10:25:06 AM com.sun.enterprise.v3.admin.CommandRunner
>> doCommand
>> SEVERE: Exception in command execution :
>> java.lang.ExceptionInInitializerError
>> java.lang.ExceptionInInitializerError
>> at
>> com.sun.enterprise.web.WebContainer.setNoTldScan(WebContainer.java:
>> 2846)
>> at
>> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:
>> 205)
>> at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>> 114)
>> at com
>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
>> at com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java: 22)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
>> at com .sun .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:19)
>> at com .sun .enterprise
>> .v3.server.ContainerStarter.startContainer(ContainerStarter.java:129)
>> at com .sun .enterprise .v3 .server
>> .ApplicationLifecycle.startContainer(ApplicationLifecycle.java:430)
>> at com .sun .enterprise
>> .v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:253)
>> at com.sun.enterprise.v3.deployment.DeployCommand
>> $1.run(DeployCommand.java:261)
>> at com.sun.enterprise.v3.deployment.DeployCommand
>> $1.run(DeployCommand.java:237)
>> at org.jvnet.hk2.config.ConfigSupport$1.run(ConfigSupport.java:
>> 99)
>> at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:
>> 163)
>> at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:
>> 96)
>> at com .sun
>> .enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java: 236)
>> at com
>> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
>> 171)
>> at com
>> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java: 79)
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
>> 158)
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java: 105)
>> at com .sun .grizzly
>> .http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java: 599)
>> at com .sun .grizzly
>> .http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:530)
>> at com .sun
>> .grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:
>> 774)
>> at com .sun .grizzly
>> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130)
>> at com .sun .enterprise
>> .v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:
>> 106)
>> at com .sun .grizzly .DefaultProtocolChain
>> .executeProtocolFilter(DefaultProtocolChain.java:102)
>> at com
>> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: 78)
>> at com.sun.grizzly.http.SelectorThread
>> $1.execute(SelectorThread.java:639)
>> at com .sun
>> .grizzly.ProtocolChainContextTask.call(ProtocolChainContextTask.java:
>> 61)
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
>> Caused by:
>> com.sun.org.apache.commons.logging.LogConfigurationException:
>> com.sun.org.apache.commons.logging.LogConfigurationExceptio
>> n: com.sun.org.apache.commons.logging.LogConfigurationException:
>> Invalid class loader hierarchy. You have more than one version of
>> 'com.sun.org.apache.commons.logging.Log' visible, which is not
>> allowed. (Caused by com.sun.org.apache.commons.logging.LogConfigurati
>> onException: Invalid class loader hierarchy. You have more than one
>> version of 'com.sun.org.apache.commons.logging.Log' visible, wh
>> ich is not allowed.) (Caused by
>> com.sun.org.apache.commons.logging.LogConfigurationException:
>> com.sun.org.apache.commons.logging.Log
>> ConfigurationException: Invalid class loader hierarchy. You have
>> more than one version of 'com.sun.org.apache.commons.logging.Log'
>> visible, which is not allowed. (Caused by
>> com.sun.org.apache.commons.logging.LogConfigurationException:
>> Invalid class loader hierarc
>> hy. You have more than one version of
>> 'com.sun.org.apache.commons.logging.Log' visible, which is not
>> allowed.))
>> at com .sun .org .apache
>> .commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:
>> 543)
>> at com .sun .org .apache
>> .commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:
>> 235)
>> at com .sun .org .apache
>> .commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:
>> 209)
>> at
>> com.sun.org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
>> 351)
>> at
>> org.apache.catalina.startup.TldConfig.<clinit>(TldConfig.java:93)
>> ... 31 more
>> Caused by:
>> com.sun.org.apache.commons.logging.LogConfigurationException:
>> com.sun.org.apache.commons.logging.LogConfigurationExceptio
>> n: Invalid class loader hierarchy. You have more than one version
>> of 'com.sun.org.apache.commons.logging.Log' visible, which is not
>> allowed. (Caused by
>> com.sun.org.apache.commons.logging.LogConfigurationException:
>> Invalid class loader hierarchy. You have more th
>> an one version of 'com.sun.org.apache.commons.logging.Log' visible,
>> which is not allowed.)
>> at com .sun .org .apache .commons
>> .logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java: 397)
>> at com .sun .org .apache
>> .commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:
>> 529)
>> ... 35 more
>> Caused by:
>> com.sun.org.apache.commons.logging.LogConfigurationException:
>> Invalid class loader hierarchy. You have more than one ver
>> sion of 'com.sun.org.apache.commons.logging.Log' visible, which is
>> not allowed.
>> at com .sun .org .apache .commons
>> .logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java: 385)
>> ... 36 more
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>