How do I run Tomcat with IDEA?
I have looked into all the available configuration options in IDEA to
set up a project as a webapp. I have set the Catalina Home variable in
the Run/Debug window to point to my Tomcat 4.0.4 installation. But when
I try to run the debugger I get an error window with the message: "Could
not find the main class. Program will exit" followed by a a second popup
title "VM terminated" with the message "VM initialization failed
for...." and listing the Tomcat startup up command with the full classpath.
What is going wrong here? My Tomcat works fine on its own.
How do I get IDEA working with Tomcat?
Any help or pointers gratefully accepted and urgently needed.
JDL
Please sign in to leave a comment.
John Lagrue <jlagrue@checkfree.com> wrote:
I found it easiest to start Tomcat standalone and use remote debugging,
set up a remote debugging target in Idea and use the command line
parameters it provides in addition to whatever you use to start Tomcat
normaly (i.e. edit the Link in Win32 or modify the .sh-file on Unix).
Then just run Tomcat and start the debugger, works like a charm for me.
regards
Joachim Sauer
--
Hungarian Notation is the tactical nuclear weapon of source code
obfuscation techniques
- http://mindprod.com/unmainnaming.html
In most cases using the remote debugger is much
better.
I found only one drawback though, you cannot
do JSP debugging (this is a new feature as of 639).
Marius
Joachim Sauer wrote:
>>How do I get IDEA working with Tomcat?
John,
Please try build 642 (will be available soon).
If the problem still exists, could you please send me the whole error
message?
--
Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"
"John Lagrue" <jlagrue@checkfree.com> wrote in message
news:3D4E66F5.4080301@checkfree.com...
classpath.
>
>
>
>
>