Tomcat 4.0.6 and Idea 3.0.2 debug problem

I've got everything, to my knowledge, set up correctly in the web app
settings of idea, but when I try to debug using tomcat 4.0.6, allowing idea
to start tomcat I get this

ERROR reading C:\Documents and
Settings\dmccoy\.IntelliJIdea\system\tomcat_cdManagerSample_41ef5665\conf\se
rver.xml
At Line 14 /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.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
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:243)

I've included all the tomcat libs in my classpath. Tomcat works by itself,
but the debugging is failing. Any ideas?



2 comments
Comment actions Permalink

3.0.2??? Where did you get that??? Also you sure you're running 4.0.6, and if so did you download the LE version of the full version with all the libs?

0
Comment actions Permalink

Sorry, meant Idea 3.0.1. Anyway, I fixed, if not found the problem. I was
using the full version of Tomcat, but I found some integration directions on
Idea's website that walked me through the set up.

I'll wager that if I had check my setup before following thoses
instructions, I would have seen a missing jar file.


Currently, I can now debug from JSP to servlets using Tomcat and from
Servlet through EJB using JRun 4. I should be able to launch both Tomcat and
JRun simultaneously and then attach to one or the other to fake end-to-end
debugging.

We'll see...

"Robert S. Sfeir" <sfeir@mail.nih.gov> wrote in message
news:4254883.1040146333460.JavaMail.jrun@is.intellij.net...

3.0.2??? Where did you get that??? Also you sure you're running 4.0.6,

and if so did you download the LE version of the full version with all the
libs?


0

Please sign in to leave a comment.