Some questions re Tracker issue # 33483 New Project setting up web app does not setup app server
Some of the posts here in the last few weeks have put me off trying out
any of the Pallada builds. However, the lure of faster CVS performance
with Linux finally prompted me to give 2061 a go.
I see the same issue as reported in issue # 33483
(<http://www.intellij.net/tracker/idea/viewSCR?publicId=33483>) but since
this is my first attempt at using this EAP I thought I'd ask some
questions here to check I'm not missing something.
When you've created an Application Server entry in the IDE Settings -
Application Servers pane, what are you supposed to add with the Add...
button? I tried the path to a directory containing a Tomcat distribution
(I tried various 4.0 and 5.0 builds) but this didn't work (I got an error
dialog saying it couldn't copy a directory into the system directory
i.e. as if IDEA was expecting to be pointed at jarfiles instead of a
directory), and imports from javax.servlet weren't resolved. I tried
adding jarfiles from Tomcat's common/lib directory - while this let me
'make' the web module I still didn't get a webapp tab (or whatever it's
called now) to let me create a run/debug config.
Should I be able to run/debug webapps with Tomcat 5.0 on Linux?
TIA.
--
Mark Scott
Please sign in to leave a comment.
On Tue, 01 Jun 2004 15:11:13 +0100, Mark Scott wrote:
2072 makes it clear it's looking for jars, so I added servlet-api.jar from
Tomcat 5.0.
I still can't create a run/debug config :(
--
Mark Scott
Hi,
(In 2072)
Please, specify path to Tomcat installation.
In Run/Debug configurations, Tomcat server tab, choose the server
in Application Server combo.
Mark Scott wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Maxim,
For what it's worth, I think you're seeing the confusion of having the setups in 2-3 different locations. I hope that this helps make my case for a unified interface in the IDE settings.
Thanks
R
Thanks for the reply.
On Tue, 01 Jun 2004 18:59:40 +0400, Maxim Mossienko wrote:
[It seems strange to specify a path when (in 2072) the button is now
labelled "Add Jar/Library...". But anyway...]
If I specify the path to the Tomcat installation I get an error dialog as
follows :
Title: Error Copying File
Message:
Cannot copy to .../.IntelliJIdea/system/jars/jakarta-tomcat-5.0.19.ce942e23. ]]> (Is a directory).
and an Assertion failed error (Last Action: ShowSettings).
There isn't a Tomcat server tab in the Run/Debug Configurations :(
(Just Application | Applet | JUnit | Remote.)
--
Mark Scott
Um, do you have the Tomcat plugin installed?
Mark Scott wrote:
>>(In 2072)
>>Please, specify path to Tomcat installation.
>>In Run/Debug configurations, Tomcat server tab, choose the server
>>in Application Server combo.
On Tue, 01 Jun 2004 11:06:11 -0500, Brad wrote:
Funnily enough, it just occurred to me that might be the problem. It's
not listed as installed, nor is it in the list of available plugins. IIRC
it was installed by default in 4.0.x - I wonder if that means it's been
left out of 2061 & 2072 in error?
--
Mark Scott
On Tue, 01 Jun 2004 17:17:41 +0100, Mark Scott wrote:
>> Um, do you have the Tomcat plugin installed?
D'oh, d'oh, d'oh - find me a big rock to hide under :-$.
I set IDEA_PLUGINS_PATH to a directory of my own but didn't symlink the
system plugins from it.
I now have all the Run/Debug tabs. Apologies to all.
--
Mark Scott
Nope, definitely gross user error in this case! I'll play some more with webapps now that I've got things working, but I must say I didn't find it confusing to have two places to set things up.
It seems to me that the config under IDE Settings - Application Servers is for setting up a library so that compilation works, and setting up a Tomcat Server Run/Debug config is all about getting deployment and runtime things sorted out. I see those as separate activities so it seems natural to me to separate them in the UI too. We'll see if I change my mind...