Newer versions of tomcat have been dissected into a couple of dirs, according to: http://www.gentoo.org/proj/en/java/tomcat-guide.xml I think we shouldn't change where a program put himself. This creates some problems. For example i'm running eclipse with the J2EE development tools. There is a wizard to add webapp servers and of course he doesn't want to add my tomcat server. In fact he probably looks for the webapps dir, the bin dir and so on...and of course he can't find them all in one place. Reproducible: Always
This is a problem with the Eclipse Tomcat plugin. It does not respect CATALINA_BASE and CATALINA_HOME. It assumes both are the same. It's been know to be a problem for quite some time. But upstream has not addressed. It's come up on other lists as well. http://marc.theaimsgroup.com/?l=tomcat-dev&m=116352215118692&w=2 You can follow that thread for a bit more info. If you could filing a bug with upstream might be ideal. If one does not exist already. Either way if you could update this bug with a link, that would be great so others can follow it. I myself use Netbeans, and it has support for CATALINA_BASE and CATALINA_HOME
I reported it upstream quite some time ago.
Updated info: Eclipse WST 2.0: http://www.eclipse.org/webtools/wst/main.php Which is not been released should (not tested) make possible to choose CATALINA_HOME and BASE. So you can try the new version or wait it to be stable. (i will remain with the old tomcat 5.0 for a while)
Adding back the URL: Here it is if it gets removed again: https://bugs.eclipse.org/bugs/show_bug.cgi?id=113484
(In reply to comment #3) > > So you can try the new version or wait it to be stable. (i will remain with the > old tomcat 5.0 for a while) Tomcat 5.0.28 in tree has been masked for some time, and is going to be removed quite soon. FYI you can make symlinks in /usr/share/tomcat-5.5 to make Eclipse happy. Pretty much need everything in /var/lib/tomcat-5.5/* in /usr/share/tomcat.
This has been fixed in Eclipse 3.3
(In reply to comment #6) > This has been fixed in Eclipse 3.3 > The upstream bug is still open?
So has this been resolved or not UPSTREAM?
(In reply to comment #8) > So has this been resolved or not UPSTREAM? > https://bugs.eclipse.org/bugs/show_bug.cgi?id=113484#c9 no
I've been away from Gentoo for a while, and it's sad that this bug still afflicts us, j2ee devs. I'm aware it's an upstream bug, I'm not pointing fingers. Just "bumping" and signing this bug, anyways. I ended grabbing a binary pack of Tomcat from Apache itself.
Closing as this version is ancient and the package has been removed from the tree. If the package ever returns and this issue persists, please reopen.