This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes server end exception-where do I find the file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "server end exception-where do I find the file?" Watch "server end exception-where do I find the file?" New topic
Author

server end exception-where do I find the file?

Pat Peg
Ranch Hand

Joined: Feb 04, 2005
Posts: 194
Hi,

I get this message when I start tomcat....

SEVERE: End event threw exception
org.apache.commons.logging.LogConfigurationException: 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.) (Caused by 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.))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:130)
at org.apache.commons.beanutils.BeanUtilsBean.<init>(BeanUtilsBean.java:110)
at org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
at org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
at org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
at org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
at org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:560)
at org.apache.commons.digester.Rule.end(Rule.java:230)
at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1647)
at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:487)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:578)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:181)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3643)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:776)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:759)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:537)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:260)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:730)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:558)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:373)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:784)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:330)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1155)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:696)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1147)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:310)
at org.apache.catalina.core.StandardService.start(StandardService.java:449)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2212)
at org.apache.catalina.startup.Catalina.start(Catalina.java:458)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)...


and it goes on but I figured I have to locate the file"org.apache.commons.logging.Log" and delete it but I can't find this. What should I do?

By the way, it as working fine untile I installed the sysdeo plugin...
Pat Peg
Ranch Hand

Joined: Feb 04, 2005
Posts: 194
I have tried unistalling and reinstalling everything but I am still getting the same error. Also, when I dropped in the example applications from struts and tried to pull them up. I get a 404 error. When I log into tomcat manager I do not see either the struts-example application or the struts-documentation application. Both of these war files are in my struts webapps dir and they were both expanded on start up. Any ideas?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Look for commons-logging***.jar

Look in {tomcat-install}/common/lib
and in {tomcat-install}/shared/lib
and in {your app}/WEB-INF/lib


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: server end exception-where do I find the file?
 
Similar Threads
Problem with a simple struts application
Log4j Error during installation
problem with logger
Invalid <url-pattern> Login in servlet mapping
http status 404 error