Can't debug with Tomcat 4.0.6

I am using ver 660 with JDK 1.4.1 and trying to connect to Tomcat 4.0.6

In the WebApp Tab I have checked "Launch server before debugger attaches"

The launch fails with:

"java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap"
and show a message box with the message "could not find main class. Program will exit!

I looked in Catalina.jar and sure enough the class doesn't exits.

I double checked my Application server run configuration and it's points to the right locations:
Catalina home: D:\Program Files\Apache Tomcat 4.0
Path to Catalina configs: D:\Program Files\Apache Tomcat 4.0\conf

Any ideas?

Aryeh



5 comments
Comment actions Permalink

Well, that class is in the bootstrap.jar in tomcat's bin directory. I don't think you should have to include that in your classpath when using a WebApp debug, but try adding it and see if it works.

0
Comment actions Permalink

I didn't try with #660, but at least from #663 on everything works fine.

0
Comment actions Permalink

Please use the lates build (665). Everything should work fine there.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Aryeh Sivan" <jiveadmin@intellij.net> wrote in message
news:5187457.1035476270993.JavaMail.jrun@is.intellij.net...

I am using ver 660 with JDK 1.4.1 and trying to connect to Tomcat 4.0.6

>

In the WebApp Tab I have checked "Launch server before debugger attaches"

>

The launch fails with:

>

"java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap"
and show a message box with the message "could not find main class.

Program will exit!
>

I looked in Catalina.jar and sure enough the class doesn't exits.

>

I double checked my Application server run configuration and it's points

to the right locations:

Catalina home: D:\Program Files\Apache Tomcat 4.0
Path to Catalina configs: D:\Program Files\Apache Tomcat 4.0\conf

>

Any ideas?

>

Aryeh

>
>
>
>


0
Comment actions Permalink

Aryeh Sivan wrote:

I am using ver 660 with JDK 1.4.1 and trying to connect to Tomcat 4.0.6

In the WebApp Tab I have checked "Launch server before debugger attaches"

The launch fails with:

"java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap"
and show a message box with the message "could not find main class. Program will exit!


Make sure the path to Tomcat does not have a space in it.

Stefan

0
Comment actions Permalink

But in my configuration the path does have spaces and everything works fine.
Could you please send me a test project, with the WebApp configuration for
investigation?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Stefan Mainz" <Stefan.Mainz@Dynaware.de> wrote in message
news:apb6f4$s72$1@is.intellij.net...

Aryeh Sivan wrote:

I am using ver 660 with JDK 1.4.1 and trying to connect to Tomcat 4.0.6

>

In the WebApp Tab I have checked "Launch server before debugger

attaches"

>

The launch fails with:

>

"java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap"
and show a message box with the message "could not find main class.

Program will exit!
>

Make sure the path to Tomcat does not have a space in it.

>

Stefan

>


0

Please sign in to leave a comment.