Debugging Tomcat

Using Build:1108 (Windows)
Jakarta Tomcat 4.1.29

Setup Run configuration:
Setup my Catalina Home to above Tomcat directory. Conf is set too.

Application Server = Tomcat 4.0.x (could this be problem?).

Debugee Host = localhost, with "Launch Server before debugger attaches".

Debugee Port = 5050.

Ok, now to the problem. When I click "Run" I get the output below. Wierd, its looking in my home directory for the catalina.base, etc...

TIA

C:/j2sdk1.4.1_02\bin\java -Djava.endorsed.dirs=C:\obox\jakarta-tomcat-4.1.29\bin;C:\obox\jakarta-tomcat-4.1.29\common\lib "-Dcatalina.base=C:\Documents and Settings\Bryce Fischer\.IntelliJIdea\system\tomcat_bis-web_1991ba7" -Dcatalina.home=C:\obox\jakarta-tomcat-4.1.29 -Djava.io.tmpdir=C:\obox\jakarta-tomcat-4.1.29\temp -Dfile.encoding=windows-1252 -classpath "C:\j2sdk1.4.1_02\lib\tools.jar;C:\obox\jakarta-tomcat-4.1.29\bin\bootstrap.jar;C:\j2sdk1.4.1_02\jre\lib\charsets.jar;C:\j2sdk1.4.1_02\jre\lib\jaws.jar;C:\j2sdk1.4.1_02\jre\lib\jce.jar;C:\j2sdk1.4.1_02\jre\lib\jsse.jar;C:\j2sdk1.4.1_02\jre\lib\rt.jar;C:\j2sdk1.4.1_02\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1_02\jre\lib\ext\BCEL.jar;C:\j2sdk1.4.1_02\jre\lib\ext\bsf.jar;C:\j2sdk1.4.1_02\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1_02\jre\lib\ext\java_cup.jar;C:\j2sdk1.4.1_02\jre\lib\ext\JLex.jar;C:\j2sdk1.4.1_02\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1_02\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1_02\jre\lib\ext\regexp.jar;C:\j2sdk1.4.1_02\jre\lib\ext\runtime.jar;C:\j2sdk1.4.1_02\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.1_02\jre\lib\ext\xalan.jar;C:\j2sdk1.4.1_02\jre\lib\ext\xalansamples.jar;C:\j2sdk1.4.1_02\jre\lib\ext\xercesImpl.jar;C:\j2sdk1.4.1_02\jre\lib\ext\xml-apis.jar;C:\j2sdk1.4.1_02\jre\lib\ext\xsltc.jar;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-collections.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-digester.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-lang-2.0.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-logging.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\commons-validator.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\displaytag-1.0-b3-SNAPSHOT.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\log4j-1.2.8.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\struts-legacy.jar;C:\Documents and Settings\Bryce Fischer\IdeaProjects\bisweb\WebContent\WEB-INF\lib\struts.jar;C:\obox\jakarta-tomcat-4.1.29\common\lib\servlet.jar;C:\idea1108\lib\idea_rt.jar" -Didea.launcher.port=7534 -Didea.launcher.library=C:\idea1108\bin\breakgen.dll com.intellij.rt.execution.application.AppMain org.apache.catalina.startup.Bootstrap start
ERROR reading C:\Documents and Settings\Bryce Fischer\.IntelliJIdea\system\tomcat_bis-web_1991ba7\conf\server.xml
At Line 20 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0

Catalina.start: java.lang.ClassNotFoundException: org.apache.catalina.mbeans.ServerLifecycleListener
java.lang.ClassNotFoundException: org.apache.catalina.mbeans.ServerLifecycleListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:253)
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 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)
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 com.intellij.rt.execution.application.AppMain.main(Unknown Source)
Process terminated with exit code 1

Please sign in to leave a comment.