You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/15 11:57:01 UTC

DO NOT REPLY [Bug 9107] New: - error in or incomplete documentation ?

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9107>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9107

error in or incomplete documentation ?

           Summary: error in or incomplete documentation ?
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: stijn@cac.be


I have installed apache2 and tomcat 4.0.2
and i have build the mod_jk.so module following the manual on 
http://www.galatea.com/flashguides/apache-tomcat-24-unix.xml
like it also says on the 4.0.x documentation on the jakarte website
the line <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" 
          append="true" />
was added after the line <Host name="localhost" ...>
when trying to start tomcat following output is generated in catalina.out
ERROR reading /var/tomcat4/conf/server.xml
At Line 29 /Server/Service/Engine/Listener/ className=org.apache.ajp.tomcat4.con
fig.ApacheConfig append=true

Catalina.start: java.lang.NoSuchMethodException: addLifecycleListener
java.lang.NoSuchMethodException: addLifecycleListener
        at java.lang.Class.getMethod0(Native Method)
        at java.lang.Class.getMethod(Class.java:920)
        at org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:810)
        at org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419)
        at org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119)
        at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java
)
        at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java)
        at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVa
lidator.java)
        at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java)
 at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java)
        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java)
        at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


tomcat is not running then ...
(listener line to Server-tag was also added)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>