hello,
Fedora core 4 installed and updated ( by yum ) to the most lated version. Apache & Tomcat is installed. http://localhost:8080 check is OK.
The eclipse web tool (wtp 0.7) installed via eclipse's "software updates" feature.
Now I failed to add the Tomcat server to eclipse's reach. In the "New Server Runtime" dialog, eclipse refused to accept "/usr/share/tomcat5" as the "Tomcat installation directory" where I checked do tomcat resides.
I just wondered what are eclipse looking for and how it check for a valid server runtime. Or could it be cause that the installation of Tomcat differs in FC4 to other platforms?
On Sat, 2005-09-24 at 10:42 +0800, Sagi Ye wrote:
hello,
Fedora core 4 installed and updated ( by yum ) to the most lated version. Apache & Tomcat is installed. http://localhost:8080 check is OK.
The eclipse web tool (wtp 0.7) installed via eclipse's "software updates" feature.
Now I failed to add the Tomcat server to eclipse's reach. In the "New Server Runtime" dialog, eclipse refused to accept "/usr/share/tomcat5" as the "Tomcat installation directory" where I checked do tomcat resides.
I just wondered what are eclipse looking for and how it check for a valid server runtime. Or could it be cause that the installation of Tomcat differs in FC4 to other platforms?
I played around with wtp project (upstream eclipse and tomcat) a while back and had some trouble myself getting tomcat to be accepted.
The issue seemed to be more with wtp not accepting the tomcat installation directory when creating certain types of projects for some reason. One project type I do recall working is Dynamic Web Project (though it wasn't rpm installed).
Are you able to use /usr/share/tomcat5 using a Dynamic Web Project?
thanks, Aaron
Without the success of ADD a NEW SERVER RUNTIME to eclipse. There will be no available Target Server to be selected while creating a new project of "Dynamic Web Project".
I think what i need to do is try to add the server in first.
On Fri, 2005-09-23 at 21:40 +0000, Aaron Luchko wrote:
On Sat, 2005-09-24 at 10:42 +0800, Sagi Ye wrote:
hello,
Fedora core 4 installed and updated ( by yum ) to the most lated version. Apache & Tomcat is installed. http://localhost:8080 check is OK.
The eclipse web tool (wtp 0.7) installed via eclipse's "software updates" feature.
Now I failed to add the Tomcat server to eclipse's reach. In the "New Server Runtime" dialog, eclipse refused to accept "/usr/share/tomcat5" as the "Tomcat installation directory" where I checked do tomcat resides.
I just wondered what are eclipse looking for and how it check for a valid server runtime. Or could it be cause that the installation of Tomcat differs in FC4 to other platforms?
I played around with wtp project (upstream eclipse and tomcat) a while back and had some trouble myself getting tomcat to be accepted.
The issue seemed to be more with wtp not accepting the tomcat installation directory when creating certain types of projects for some reason. One project type I do recall working is Dynamic Web Project (though it wasn't rpm installed).
Are you able to use /usr/share/tomcat5 using a Dynamic Web Project?
thanks, Aaron
On Sat, 2005-09-24 at 13:45 +0800, Sagi Ye wrote:
Without the success of ADD a NEW SERVER RUNTIME to eclipse. There will be no available Target Server to be selected while creating a new project of "Dynamic Web Project".
I think what i need to do is try to add the server in first.
Are you able to add the server using upstream tomcat?
Aaron
I don't know what u mean by "upstream". The version of tomcat i use is 5.0.30-5jpp_6fc. Isn't this the newest version in the fedora's official yum repo.?
I can't add it!
BTW, my eclipse is "Native Eclipse 3.1M6".
I just found there is no "startup.sh, shutdown.sh, tomcat.sh" in "/usr/share/tomcat5/bin/", but only a "bootstrap.jar". And there do has a "/usr/bin/tomcat5" script which can be used to start/stop tomcat. Could this be the problem?
On Sat, 2005-09-24 at 00:07 +0000, Aaron Luchko wrote:
On Sat, 2005-09-24 at 13:45 +0800, Sagi Ye wrote:
Without the success of ADD a NEW SERVER RUNTIME to eclipse. There will be no available Target Server to be selected while creating a new project of "Dynamic Web Project".
I think what i need to do is try to add the server in first.
Are you able to add the server using upstream tomcat?
Aaron
On Sat, 2005-09-24 at 14:54 +0800, Sagi Ye wrote:
I don't know what u mean by "upstream". The version of tomcat i use is 5.0.30-5jpp_6fc. Isn't this the newest version in the fedora's official yum repo.?
Sorry, upstream means the original source of the software, in this case http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi download http://apache.sunsite.ualberta.ca/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomca... than 'tar -zxf jakarta-tomcat-5.0.30.tar.gz' to expand it now you'll have a directory jakarta-tomcat/ try adding this as your server in the same way you did with /usr/share/tomcat5
BTW, my eclipse is "Native Eclipse 3.1M6".
The old version of eclipse in FC4 might cause trouble but I suspect not since they'd already done the API freeze for M6 so plugins shouldn't have trouble.
I just found there is no "startup.sh, shutdown.sh, tomcat.sh" in "/usr/share/tomcat5/bin/", but only a "bootstrap.jar". And there do has a "/usr/bin/tomcat5" script which can be used to start/stop tomcat. Could this be the problem?
Unfortunately I don't know that much about tomcat or how it's packaged for FC4. If the upstream tomcat works with wtp my suspicion would be culprit is the way it's packaged and the location of files, if this is the case someone more familiar with tomcat may be able to shed light on the issue and find a way to trick wtp into using the rpm installed tomcat.
Aaron
OK, I downloaded tomcat-5.5.9, and installed it. Now it can be added as a server. But while I tried to create a Dynamic Web Project. It still wasn't in the available server list.
BTW, I tried also to download the eclipse 3.1 from www.eclipse.org. This can almost work with tomcat-5.5.9. ( Though still has some problems. )
On Sat, 2005-09-24 at 14:55 +0000, Aaron Luchko wrote:
On Sat, 2005-09-24 at 14:54 +0800, Sagi Ye wrote:
I don't know what u mean by "upstream". The version of tomcat i use is 5.0.30-5jpp_6fc. Isn't this the newest version in the fedora's official yum repo.?
Sorry, upstream means the original source of the software, in this case http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi download http://apache.sunsite.ualberta.ca/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomca... than 'tar -zxf jakarta-tomcat-5.0.30.tar.gz' to expand it now you'll have a directory jakarta-tomcat/ try adding this as your server in the same way you did with /usr/share/tomcat5
BTW, my eclipse is "Native Eclipse 3.1M6".
The old version of eclipse in FC4 might cause trouble but I suspect not since they'd already done the API freeze for M6 so plugins shouldn't have trouble.
I just found there is no "startup.sh, shutdown.sh, tomcat.sh" in "/usr/share/tomcat5/bin/", but only a "bootstrap.jar". And there do has a "/usr/bin/tomcat5" script which can be used to start/stop tomcat. Could this be the problem?
Unfortunately I don't know that much about tomcat or how it's packaged for FC4. If the upstream tomcat works with wtp my suspicion would be culprit is the way it's packaged and the location of files, if this is the case someone more familiar with tomcat may be able to shed light on the issue and find a way to trick wtp into using the rpm installed tomcat.
Aaron
On Sun, 2005-09-25 at 10:50 +0800, Sagi Ye wrote:
OK, I downloaded tomcat-5.5.9, and installed it. Now it can be added as a server. But while I tried to create a Dynamic Web Project. It still wasn't in the available server list.
BTW, I tried also to download the eclipse 3.1 from www.eclipse.org. This can almost work with tomcat-5.5.9. ( Though still has some problems. )
Ok I've tried with upstream eclipse with upstream tomcat along with /var/lib/tomcat5 and /usr/share/tomcat5
Upstream was accepted but neither of the two rpm installed directories worked.
Does anyone more tomcat-wise know what wtp might be looking for and not finding that it doesn't accept either of these directories?
thanks, Aaron
On Sat, 2005-09-24 at 10:42 +0800, Sagi Ye wrote:
hello,
Fedora core 4 installed and updated ( by yum ) to the most lated version. Apache & Tomcat is installed. http://localhost:8080 check is OK.
The eclipse web tool (wtp 0.7) installed via eclipse's "software updates" feature.
Now I failed to add the Tomcat server to eclipse's reach. In the "New Server Runtime" dialog, eclipse refused to accept "/usr/share/tomcat5" as the "Tomcat installation directory" where I checked do tomcat resides.
Your problem could be connected to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159881
snip
"...Eclipse embeds its own version of tomcat. We would like to symlink out to the tomcat that we ship, but it is tomcat5 and Eclipse uses tomcat4 (currently). I'm working on patching Eclipse to use tomcat 5.0.30."
This will be fixed when Eclipse in FC4 gets an update to 3.1 final.
Hope to help,
Tadej
* Tadej Janež tadej.janez@tadej.hicsalta.si [2005-09-24 06:20]:
On Sat, 2005-09-24 at 10:42 +0800, Sagi Ye wrote:
hello,
Fedora core 4 installed and updated ( by yum ) to the most lated version. Apache & Tomcat is installed. http://localhost:8080 check is OK.
The eclipse web tool (wtp 0.7) installed via eclipse's "software updates" feature.
Now I failed to add the Tomcat server to eclipse's reach. In the "New Server Runtime" dialog, eclipse refused to accept "/usr/share/tomcat5" as the "Tomcat installation directory" where I checked do tomcat resides.
Your problem could be connected to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159881
No, I don't think so. This has nothing to do with the system tomcat that he's trying to use with WTP.
Andrew
java-devel@lists.fedoraproject.org