Home » Language IDEs » ServerTools (WTP) » tomcat 6 with eclipse 3.2.2 ?
tomcat 6 with eclipse 3.2.2 ? [message #215127] |
Wed, 11 June 2008 20:46 |
Eclipse User |
|
|
|
Originally posted by: cuco2772.gmail.com
Hi, I had originally posted this on the newcomers newsgroup.
I'm trying to decide which way to go with this:
I have Java 1.6 JVM, tomcat 6.0.14 and eclipse 3.2.2 installed on my Linux
box (ubuntu) and want to be able to do some J2EE development.
I installed the WTP from the update manager in eclipse.
When I start eclipse and from the welcome page go to Help->About
and look at the plug-in details I notice a Tomcat wrapper that says
version 5.5.17. I haven't been able to find any info on using eclipse 3.2.2
with tomcat 6 from the web surfing I've done.
I did come across something called the Sysdeo Eclipse Tomcat Launcher
plugin.
( if you Google eclipsetotale you will see it)
I'm wondering, though, if it would be more painless to just install Tomcat
5.5 instead, as that appears to be the correct version for eclipse 3.2.2,
at least thats been the impression I've gotten.
Anybody have any opinions on what would be the best way to go ?
|
|
|
Re: tomcat 6 with eclipse 3.2.2 ? [message #215135 is a reply to message #215127] |
Thu, 12 June 2008 00:15 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
Adam Posner wrote:
> I'm wondering, though, if it would be more painless to just install
> Tomcat 5.5 instead, as that appears to be the correct version for
> eclipse 3.2.2,
> at least thats been the impression I've gotten.
> Anybody have any opinions on what would be the best way to go ?
Adam, I would recommend download Eclipse 3.4 in the next week or so
directly from the eclipse web site. Get the Eclipse for Java EE
developer package. I know for a fact that Tomcat 6 is supported with
Eclipse 3.4. It may have also been supported with Eclipse 3.3 as well.
You can get a release candidate version of Eclipse 3.4 that will
contain what you need from the following url:
http://www.eclipse.org/downloads/packages/
Also you will want to review the WTP Tomcat FAQ if you haven't already:
http://wiki.eclipse.org/WTP_Tomcat_FAQ
Dave
|
|
|
Re: tomcat 6 with eclipse 3.2.2 ? [message #215143 is a reply to message #215135] |
Thu, 12 June 2008 03:17 |
|
David Carver wrote:
> Adam Posner wrote:
>> I'm wondering, though, if it would be more painless to just install
>> Tomcat 5.5 instead, as that appears to be the correct version for
>> eclipse 3.2.2,
>> at least thats been the impression I've gotten.
>> Anybody have any opinions on what would be the best way to go ?
>
> Adam, I would recommend download Eclipse 3.4 in the next week or so
> directly from the eclipse web site. Get the Eclipse for Java EE
> developer package. I know for a fact that Tomcat 6 is supported with
> Eclipse 3.4. It may have also been supported with Eclipse 3.3 as well.
> You can get a release candidate version of Eclipse 3.4 that will
> contain what you need from the following url:
>
> http://www.eclipse.org/downloads/packages/
>
> Also you will want to review the WTP Tomcat FAQ if you haven't already:
>
> http://wiki.eclipse.org/WTP_Tomcat_FAQ
>
> Dave
Yes, I'm using Tomcat 6 and Eclipse 3.3.2 which work well together, but
why would you want to work on anything but the latest Eclipse (unless
problems with what you want to do show up in that version). In any case,
don't stick back with 3.2.x. I'm about to move up myself this next week.
Russ Bateman
|
|
| |
Re: tomcat 6 with eclipse 3.2.2 ? [message #215219 is a reply to message #215163] |
Fri, 13 June 2008 00:08 |
Eclipse User |
|
|
|
Originally posted by: cuco2772.gmail.com
Ok, you guys have convinced me I need to upgrade to 3.4.
The reason I had 3.2.2 was actually because I had installed it using
apt-get, which is more convenient than doing the binary download and
installing it,
plus it makes a link from Applications->Programming which is nice.
A couple of questions, though.
David, in the following link that you provided:
http://www.eclipse.org/downloads/packages/
I see this download at the top:
eclipse-jee-ganymede-RC3-linux-gtk.tar.gz
Is it ok to download this one now or should I wait a week for a newer
release candidate ?
Secondly, the apt-get download I did before put everything into
/usr/lib.(or /usr/lib/eclipse)
Is it better to delete everything in the eclipse directory,
ie, rm -rf eclipse beforehand before unzipping the
tarball?
Also, am I correct in assuming that when I unzip eclipse it will create
it's
own directory so in fact I could just install it in /usr/lib ?
Thanks
|
|
|
Re: tomcat 6 with eclipse 3.2.2 ? [message #215227 is a reply to message #215219] |
Fri, 13 June 2008 02:22 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
Adam Posner wrote:
> Ok, you guys have convinced me I need to upgrade to 3.4. The reason I
> had 3.2.2 was actually because I had installed it using apt-get, which
> is more convenient than doing the binary download and installing it,
> plus it makes a link from Applications->Programming which is nice.
>
> A couple of questions, though.
> David, in the following link that you provided:
>
> http://www.eclipse.org/downloads/packages/
>
> I see this download at the top:
>
> eclipse-jee-ganymede-RC3-linux-gtk.tar.gz
>
> Is it ok to download this one now or should I wait a week for a newer
> release candidate ?
I'm using the RC candidates now and haven't had any problems. Your
mileage may vary though
>
> Secondly, the apt-get download I did before put everything into
> /usr/lib.(or /usr/lib/eclipse)
> Is it better to delete everything in the eclipse directory,
> ie, rm -rf eclipse beforehand before unzipping the
> tarball?
I personally star mine in my home directory and then execute it from
there by creating the necessary icons on the panel or desktop.
> Also, am I correct in assuming that when I unzip eclipse it will create
> it's
> own directory so in fact I could just install it in /usr/lib ?
You could. The only issue you might get is if you do another apt-get
it might overwrite it. As I said, unless you need to share it with
multiple users, I would just install it in your home directory.
Dave
> Thanks
>
>
|
|
| |
Re: tomcat 6 with eclipse 3.2.2 ? [message #215321 is a reply to message #215243] |
Fri, 13 June 2008 17:15 |
Eclipse User |
|
|
|
Originally posted by: cuco2772.gmail.com
I'm using sun-java-6 which is in /usr/lib also. (tomcat is also in there)
I'm thinking because the JVM is in /usr/lib, it's probably best to put
eclipse in there also, no ?
Would eclipse have any issues with linking to the JVM and tomcat, which
are in
/usr if I put eclipse in home directory where there's different
permissions ?
Would I need to create a new user group that includes all three, or does
eclipse automatically take care of all those little details ?
Thanx
|
|
|
Re: tomcat 6 with eclipse 3.2.2 ? [message #215327 is a reply to message #215321] |
Fri, 13 June 2008 17:56 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
Adam Posner wrote:
> I'm using sun-java-6 which is in /usr/lib also. (tomcat is also in there)
> I'm thinking because the JVM is in /usr/lib, it's probably best to put
> eclipse in there also, no ?
>
> Would eclipse have any issues with linking to the JVM and tomcat, which
> are in
> /usr if I put eclipse in home directory where there's different
> permissions ?
> Would I need to create a new user group that includes all three, or does
> eclipse automatically take care of all those little details ?
>
> Thanx
>
You can review the Trouble Shooting section of the Tomcat FAQ, found
here: http://wiki.eclipse.org/WTP_Tomcat_FAQ. Some of those answers
mention some permission problems that can be encountered when using Linux.
When WTP creates runtimes and servers for Tomcat, it expects to find
various Tomcat files somewhere under a single "home" folder. The one
use case not yet supported is where a packaged Tomcat spreads those
files among multiple folders. It should be possible to "link" to your
Tomcat as long as you don't hit this use case. If you encounter this
problem, it's easiest to just download a Tomcat from Apache and use
that. For what it needs from the Tomcat installation, the default
Tomcat configuration in WTP only needs read access.
Cheers,
Larry
|
|
|
Re: tomcat 6 with eclipse 3.2.2 ? [message #215362 is a reply to message #215327] |
Fri, 13 June 2008 21:56 |
Eclipse User |
|
|
|
Originally posted by: cuco2772.gmail.com
I was thinking that I could just download both tomcat and eclipse to my
home directory, but then I realized I'm using Apache as my webserver, my
http server.
I'm using tomcat just as a servlet container, not to surf the web,
so I go to localhost:8080 to load my pages through tomcat.
Just wondering if I download another version of tomcat to my home directory
and then try to do localhost:8080, if that will point to the tomcat that's
in
/usr/local, as I think it's still going to go through Apache first, since
it says http:. (Apache, of course, is not in my home directory)
Maybe I'm making this more complicated than it needs to be, thanks again
for your replies.
|
|
|
Re: tomcat 6 with eclipse 3.2.2 ? [message #215369 is a reply to message #215362] |
Fri, 13 June 2008 23:59 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
Adam posner wrote:
> I was thinking that I could just download both tomcat and eclipse to my
> home directory, but then I realized I'm using Apache as my webserver, my
> http server.
> I'm using tomcat just as a servlet container, not to surf the web,
> so I go to localhost:8080 to load my pages through tomcat.
>
> Just wondering if I download another version of tomcat to my home directory
> and then try to do localhost:8080, if that will point to the tomcat
> that's in
> /usr/local, as I think it's still going to go through Apache first,
> since it says http:. (Apache, of course, is not in my home directory)
>
Just change the port number of the instance that runs from your home
directory. You should be able to do this through the eclipse interface
when you add the server.
|
|
|
Goto Forum:
Current Time: Tue Sep 24 01:37:52 GMT 2024
Powered by FUDForum. Page generated in 0.05238 seconds
|