Hi,
I am passing through this problem nowadays in Tomcat6:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
Invalid class loader hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.
(Caused by org.apache.commons.logging.LogConfigurationException: Invalid
class loader hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.)
This is my context:
- App1 accessing App2 to start a service, and App2 accessing back
App1 to get some information.
- Problem occurs when App2 is accessing back App1.
I have this configuration in server.xml
<Resource name="jcpbatch/plugin-server"
type="com.powerlogic.jcpbatch.pluginservice.JBatchPluginService"
factory="com.powerlogic.jcpbatch.pluginservice.JBatchPluginServiceFactory"/>
and this one in web.xml:
<resource-env-ref>
<description> JBatchPluginService</description>
<resource-env-ref-name>jcpbatch/plugin-server</resource-env-ref-name>
<resource-env-ref-type>com.powerlogic.jcpbatch.pluginservice.JBatchPluginSer
vice</resource-env-ref-type>
</resource-env-ref>
- Both of them have commons-logging-1.0.4.jar in the WEB-INF/lib
VERY IMPORTANT: It has worked perfectly in Tomcat 5.5.9
Any ideas ?
Thanks
Rogerio Baldini
jCompany Suite - Product Owner
+55 (31) 3555-0050
[EMAIL PROTECTED]
Powerlogic S.A.
img
<<image003.jpg>>
