Hi,
I am running Eclipse (Version: 3.1.2 Build id: M20060118-1600) and MyEclipse (Version: 4.1.1 Build id: 20060309-4.1.1-GA). I also have Sun’s Java JDK 1.5.0_04 and Tomcat 5.5.
When I start Tomcat “standalone” – i.e. from the command prompt, then any classes/jar’s in the “common/endorsed” directory are found and Tomcat starts fine and so does my application.
If, however, I start Tomcat from within Eclipse (having set up the server through the MyEclipse provided options), it appears that the “common/endorsed” directory is being ignored, so Tomcat start properly, but my application does not see the classes it needs in the “common/endorsed” directory.
My “application” is simply a web service that uses the JAX-WS (2.1 EA3) stack (these are the jar files in common/endorsed) to provide the service and works just fine “outside” of Eclipse, but having just installed MyEclipse, I wanted to be able to do some extra debugging, so want to start Tomcat within Eclipse.
I could move the files to common/lib and hey-presto, it works, but I have several Tomcat instances and each of these uses the same Tomcat (and hence common/endorsed) code-base, so I don’t want to have to have a copy per instance.
Any help appreciated.
Thanks.
Dominic.