|How to get Eclipse to publish somewhere else? [message #176401]
||Mon, 07 August 2006 20:56
Originally posted by: ssl.radium.jvb.tudelft.nl|
I'm just starting out with WTP, and I have a question. When Eclipse
publishes my web project, it puts it in the
folder, which is also what it tells tomcat to use as CATALINA_BASE.
I'd like to know how I can change that directory to something else, say,
TOMCAT_HOME, where I've got my manager app installed etc.
|Re: How to get Eclipse to publish somewhere else? [message #176423 is a reply to message #176409]
||Tue, 08 August 2006 09:38
| Larry Isaacs
Registered: July 2009
Darryl is correct that unchecking "Run modules directly from the
workspace" will make catalina.base == catalina.home. However, be aware
that in this configuration, the Tomcat files found under the Servers
project in your workspace will overwrite those in your Tomcat
installation each time the Tomcat server is started in Eclipse. They
effectively become the "master" files. This means that your Tomcat
installation may no longer be "manageable" in the way you expect.
Darryl L. Miles wrote:
> Maarten wrote:
>> I'm just starting out with WTP, and I have a question. When Eclipse
>> publishes my web project, it puts it in the
>> eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server. core\tmp0
>> folder, which is also what it tells tomcat to use as CATALINA_BASE.
>> I'd like to know how I can change that directory to something else,
>> say, TOMCAT_HOME, where I've got my manager app installed etc.
> Does Unticking "Run modules directly from workspace" do this ?
> Right click the Server runtime (from servers tab), select "Open".
> You might need to make sure the tomcat installation is writable by your
> eclipse userid.
|Re: How to get Eclipse to publish somewhere else? [message #176695 is a reply to message #176665]
||Wed, 09 August 2006 10:50
Originally posted by: avinh.verizon.net|
The tmp0/webapps/myApp is your application. I copied the whole "myApp"
directory to the TOMCAT_HOME/webapps directory, then I restarted Tomcat
and the "myApp" Web Service application is recognized by Tomcat and can be
monitored by the manager/html page. To see the WSDL services page, you can
use a URL similar to the following:
If you copy the whole test client application that was automatically
created by the Web Services Tool over to your Tomcat platform using the
same steps as described above (make sure all needed jar files are placed
in the myApp/WEB-INF/lib directory), you can then use the test client
application/JSP to test the "myApp" interface just like how it works
within Eclipse - this is how I've been testing my services.
I hope this works for you and others too - Alan
> Thanks for the anwers, Larry and Darryl.
> I guess my next question is, how do I get eclipse to simply publish my
> webapp to a directory in CATALINA_BASE, and leave my config files alone?
> Or would that hamper the Server=plugin functionality?
Powered by FUDForum
. Page generated in 0.02563 seconds