I've got a problem runnig catalina after using the install.pl script. I'm using jakarta-tomcat-4.1.18, j2sdk1.4.1_02 and opennms-1.0.2-1
I have put tomcat in /usr/local/tomcat , jdk in/usr/local/java and openNMS in /usr/local/openNMS.
I have make a link from /usr/local/openNMS/webapps/onpennms to /usr/local/tomcat/webapps/opennms
I put the line "$serverxml = '/usr/local/tomcat/conf/server.xml';" in the install.pl" and here is my tomcat's server.xml lines for opennms:
<Context path="/opennms" docBase="opennms" debug="0" reloadable="true">
<Logger className="org.opennms.web.log.Log4JLogger" homeDir="/usr/local/openNMS"/>
<Realm className="org.opennms.web.authenticate.OpenNMSTomcatRealm" homeDir="/usr/local/openNMS"/>
</Context>
(I try with homeDir="/usr/local/openNMS" and have the same result)
And i have the following output in my catalina.out :
20 mars 2003 10:43:00 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
20 mars 2003 10:43:00 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
20 mars 2003 10:43:01 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
20 mars 2003 10:43:02 org.apache.commons.digester.Digester startElement
GRAVE: Begin event threw exception
java.lang.ClassNotFoundException: org.opennms.web.log.Log4JLogger
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252)
at org.apache.commons.digester.Digester.startElement(Digester.java:1237)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:595)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: java.lang.ClassNotFoundException: org.opennms.web.log.Log4JLogger
java.lang.ClassNotFoundException: org.opennms.web.log.Log4JLogger
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
at org.apache.commons.digester.Digester.startElement(Digester.java:1240)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:595)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
I don't understand what is the matter, the jar files are in /usr/local/tomcat/webapps/opennms/WEB-INF/lib/ and i don't see anything wrong, please help me.
thanks
Yannis
p.s. : Sorry for my bad english
-- / _/||/\\|| Yannis Avenel Tel:(33) 02 32 74 42 52 Fax:(33) 02 35 21 49 59 ||_ ||_//|| Mail : [EMAIL PROTECTED] CRI Universite du HAVRE \__\|| \\|| CRI Universite du HAVRE BP 1123 76063 LE HAVRE CEDEX France
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]