Skip to Content.
Sympa Menu

perfsonar-dev - Re: detailed feedback from GARR on RRD MA installation via YUM on Fedora Core 9

Subject: perfsonar development work

List archive

Re: detailed feedback from GARR on RRD MA installation via YUM on Fedora Core 9


Chronological Thread 
  • From: Fausto Vetter <>
  • To:
  • Cc: Nicolas Simar <>, Szymon Trocha <>, Roman Lapacz <>, Frederic LOUI <>, Sasa Cavara <>, MDM pilot <>, "" <>, Stephan Kraft <>, , Alessandro Inzerilli <>, Giovanni Cesaroni <>,
  • Subject: Re: detailed feedback from GARR on RRD MA installation via YUM on Fedora Core 9
  • Date: Thu, 16 Oct 2008 09:40:07 +0100

Hi Mario,

I had this problem before when running eXist. Please see below the notes inline with the solution.

Cheers,


but one cannot connect to the end point (http://grid-4.dir.garr.it:8080/geant2-java-rrd-ma) and catalina.out states:

java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager
at org.apache.xerces.util.XMLCatalogResolver.init(Unknown Source)
at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)
at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)
at org.exist.validation.resolver.eXistXMLCatalogResolver.<init>(eXistXMLCatalogResolver.java:49)
at org.exist.util.Configuration.configureValidation(Configuration.java:1097)
at org.exist.util.Configuration.<init>(Configuration.java:339)
at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:111)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
15 Oct 2008 19:19:18,759 [main] INFO (FileProvider.java [check]:124) - Configuration file read-only so engine configuration changes will not be saved.
15 Oct 2008 19:19:19,350 [main] WARN (JavaUtils.java [isAttachmentSupported]:1305) - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Oct 15, 2008 7:19:22 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 15, 2008 7:19:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 15, 2008 7:19:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/396 config=null
Oct 15, 2008 7:19:25 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 15, 2008 7:19:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 34918 ms

So what follows [ the log here below ] may be (hopefully) useful to get the RRD MA installed, but to get it working one needs to understand what's going on with tomcat and exist exactly now.

Problem:



eXist administration page is broken

Symptoms:



A blue screen with error messages on the browser and the following content in /var/log/tomcat5/catalina.out:

============= eXist Initialization =============

Wed Sep 17 16:36:39 GMT+00:00 2008 - eXist logs dir=/usr/share/tomcat5/webapps/exist/WEB-INF/logs

Wed Sep 17 16:36:39 GMT+00:00 2008 - eXist log4j configuration=/usr/share/tomcat5/webapps/exist/WEB-INF/TMPfile.xml

Wed Sep 17 16:36:39 GMT+00:00 2008 - eXist-DB configuration=/usr/share/tomcat5/webapps/exist/WEB-INF/conf.xml

17 Sep 2008 16:36:39,642 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR (ApplicationContext.java [log]:678) - StandardWrapper.Throwable

java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager

at org.apache.xerces.util.XMLCatalogResolver.init(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.exist.validation.resolver.eXistXMLCatalogResolver.<init>(eXistXMLCatalogResolver.java:49)

at org.exist.util.Configuration.configureValidation(Configuration.java:1097)

at org.exist.util.Configuration.<init>(Configuration.java:339)

at org.exist.util.Configuration.<init>(Configuration.java:212)

at org.exist.http.servlets.Log4jInit.init(Log4jInit.java:148)

at javax.servlet.GenericServlet.init(GenericServlet.java:212)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)

at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)

at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)

at java.lang.Thread.run(Thread.java:595)

17 Sep 2008 16:36:39,644 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR (StandardContext.java [loadOnStartup]:3958) - Servlet /exist threw lo

ad() exception

java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager

at org.apache.xerces.util.XMLCatalogResolver.init(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.exist.validation.resolver.eXistXMLCatalogResolver.<init>(eXistXMLCatalogResolver.java:49)

at org.exist.util.Configuration.configureValidation(Configuration.java:1097)

at org.exist.util.Configuration.<init>(Configuration.java:339)

at org.exist.util.Configuration.<init>(Configuration.java:212)

at org.exist.http.servlets.Log4jInit.init(Log4jInit.java:148)

at javax.servlet.GenericServlet.init(GenericServlet.java:212)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)

at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)

at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)

at java.lang.Thread.run(Thread.java:595)

17 Sep 2008 16:36:39,677 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR (ApplicationContext.java [log]:678) - StandardWrapper.Throwable

java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager

at org.apache.xerces.util.XMLCatalogResolver.init(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.exist.validation.resolver.eXistXMLCatalogResolver.<init>(eXistXMLCatalogResolver.java:49)

at org.exist.util.Configuration.configureValidation(Configuration.java:1097)

at org.exist.util.Configuration.<init>(Configuration.java:339)

at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:111)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)

at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)

at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)

at java.lang.Thread.run(Thread.java:595)

17 Sep 2008 16:36:39,678 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR (StandardContext.java [loadOnStartup]:3958) - Servlet /exist threw lo

ad() exception

java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager

at org.apache.xerces.util.XMLCatalogResolver.init(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.apache.xerces.util.XMLCatalogResolver.<init>(Unknown Source)

at org.exist.validation.resolver.eXistXMLCatalogResolver.<init>(eXistXMLCatalogResolver.java:49)

at org.exist.util.Configuration.configureValidation(Configuration.java:1097)

at org.exist.util.Configuration.<init>(Configuration.java:339)

at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:111)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)

at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)

at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)

at java.lang.Thread.run(Thread.java:595)

Reason:



eXist cannot find some libraries in the endorsed folder that normally contains them.

Solution:



Copy the libraries and restart Tomcat using the following commands:

cp /var/lib/tomcat5/webapps/exist/WEB-INF/lib/resolver-1.2.jar /var/lib/tomcat5/common/endorsed

cp /var/lib/tomcat5/webapps/exist/WEB-INF/lib/xalan-2.7.1.jar /var/lib/tomcat5/common/endorsed

cp /var/lib/tomcat5/webapps/exist/WEB-INF/lib/xml-apis.jar /var/lib/tomcat5/common/endorsed

cp /var/lib/tomcat5/webapps/exist/WEB-INF/lib/serializer-2.9.1.jar /var/lib/tomcat5/common/endorsed

cp /var/lib/tomcat5/webapps/geant2-java-rrd-ma/WEB-INF/lib/xercesImpl-2.8.0.jar /var/lib/tomcat5/common/endorsed

/etc/init.d/tomcat5 restart



--
______________________________________________________________________

Fausto Vetter
Services Support/Network Engineer

DANTE - www.dante.net

Tel: +44 (0)1223 371 357
Fax: +44 (0)1223 371 371
Email:



City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________



Archive powered by MHonArc 2.6.16.

Top of Page