Release 3.1 installation problems

From GEANT2-JRA1 Wiki

Cleanup [yes/no] - whether a service was installed from scratch (complete manual remove of dependecies and old version) or it was an upgrade from 3.0 or other (please describe)

Tester Service Distribution Platform OS Java Cleanup Problem description
Domenico rrd-ma-3.1rc2-1.noarch rpm 64bit RedHat EL 5 Java 1.6 (JDK 6.6) Yes After installin Tomcat with you despite of the good catalina.out, Tomcat welcomes me on <hostname>:8080 with a blank page. The port 8080 is listening (checked with netstat)

If I try to stop it but then got errors:

Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:      Created MBeanServer with ID: lu1mlc:fkdu5ydm.0:localhost:1
27-Aug-08 11:00:35 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
27-Aug-08 11:00:35 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.UnknownHostException: sdtesting2 

Example errors when starting Tomcat from catalina out:

27-Aug-08 11:00:45 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
27-Aug-08 11:00:45 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/geant2-java-rrd-ma] startup failed due to previous errors
- Exception sending context destroyed event to listener instance of
class org.perfsonar.service.base.container.listeners.StartupInitializer
java.lang.NoClassDefFoundError: 
org.perfsonar.base.auxiliary.AuxiliaryComponentManager

And with eXist initialization:

27 Aug 2008 11:01:22,185 [main] ERROR (? [log]:?) - StandardWrapper.Throwable
java.lang.NoClassDefFoundError: org.apache.xerces.util.XMLCatalogResolver 
Michalis rrd-ma-3.1rc2-1.noarch rpm 64bit CentOS Java 1.6 Yes The tomcat5 package was installed through yum and the rest directly using rpm. The trouble was that after the installation the web admin page did not appear on the browser at all and the eXist admin page(the one that comes with exist) presented an error. Also the service was not responding to any request. After investigating tomcat logs I found out that the service was never initialized because an auxiliary class used by the service was not found in the classpath, which was not true because that particular class was packaged in the same jar as the rest of the classes.

Example errors from catalina out:

25-Aug-08 2:34:46 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
25-Aug-08 2:34:46 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/geant2-java-rrd-ma] startup failed due to previous errors
- - Exception sending context destroyed event to listener instance of
class org.perfsonar.service.base.container.listeners.StartupInitializer
java.lang.NoClassDefFoundError:
org.perfsonar.base.auxiliary.AuxiliaryComponentManager
25 Aug 2008 14:35:28,480 [main] ERROR (? [log]:?) -
StandardWrapper.Throwable
java.lang.NoClassDefFoundError: org.apache.xml.resolver.CatalogManager
Personal tools