How to get Eclipse to publish somewhere else? [message #176401] |
Tue, 08 August 2006 00:56 |
Eclipse User |
|
|
|
Originally posted by: ssl.radium.jvb.tudelft.nl
Hi,
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.
Regards,
Maarten
|
|
|
|
Re: How to get Eclipse to publish somewhere else? [message #176423 is a reply to message #176409] |
Tue, 08 August 2006 13:38 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
Maarten,
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.
Cheers,
Larry
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.
>
>
> Darryl
|
|
|
Re: How to get Eclipse to publish somewhere else? [message #176665 is a reply to message #176423] |
Wed, 09 August 2006 09:38 |
Eclipse User |
|
|
|
Originally posted by: ssl.radium.jvb.tudelft.nl
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?
Regards,
Maarten
|
|
|
|
Re: How to get Eclipse to publish somewhere else? [message #176695 is a reply to message #176665] |
Wed, 09 August 2006 14:50 |
Eclipse User |
|
|
|
Originally posted by: avinh.verizon.net
Maarten,
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:
http://localhost:8080/myApp/services
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
Maarten wrote:
> 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?
> Regards,
> Maarten
|
|
|
|
Powered by
FUDForum. Page generated in 0.03339 seconds