Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » "Servers" project in workspace
"Servers" project in workspace [message #104810] Wed, 18 May 2005 01:32 Go to next message
Eclipse UserFriend
Since I've been tiinkering with the WTP, I've been wondering what exactly
the "Servers" project is used for... I still don't know.

It contains a directory called "Tomcat v5.5 Server @ localhost", which in
turn contains the basic config files for tomcat. Naturally, I _assumed_
these were the files used by my server entry called "Tomcat v5.5 Server @
localhost". Looking at the launch configuration for the that server
definition though, I see either:

-Dcatalina.base="D:\Applications\Tomcat-5.5.9"
-Dcatalina.home="D:\Applications\Tomcat-5.5.9"
-Djava.endorsed.dirs="D:\Applications\Tomcat-5.5.9\common\endorsed "

or

-Dcatalina.base="C:\Documents and
Settings\cnelson\eclipse\.metadata\.plugins\org.eclipse.wst. server.core\tmp0 "
-Dcatalina.home="D:\Applications\Tomcat-5.5.9"

...depending on whether or not the "Run modules directly from the
workspace" is checked.

So, neither case seems to do anything with the files in the "Servers"
project. When are they used?

Thanks for the clarification!
Christian
Re: "Servers" project in workspace [message #105040 is a reply to message #104810] Wed, 18 May 2005 08:45 Go to previous message
Eclipse UserFriend
The configuration files under the Servers project are your "source"
copies. They can be modified without impacting a running server.
The "publish" operation writes the "runtime" copies that will be used by
the running server. Some tweaks may occur to these files during the
"publish" operation. For example, if your web module contains a
META-INF/context.xml, that configuration will be included in the
corresponding context in the "runtime" server.xml.

Cheers,
Larry


Christian Nelson wrote:
> Since I've been tiinkering with the WTP, I've been wondering what
> exactly the "Servers" project is used for... I still don't know.
>
> It contains a directory called "Tomcat v5.5 Server @ localhost", which
> in turn contains the basic config files for tomcat. Naturally, I
> _assumed_ these were the files used by my server entry called "Tomcat
> v5.5 Server @ localhost". Looking at the launch configuration for the
> that server definition though, I see either:
>
> -Dcatalina.base="D:\Applications\Tomcat-5.5.9"
> -Dcatalina.home="D:\Applications\Tomcat-5.5.9"
> -Djava.endorsed.dirs="D:\Applications\Tomcat-5.5.9\common\endorsed "
>
> or
> -Dcatalina.base="C:\Documents and
> Settings\cnelson\eclipse\.metadata\.plugins\org.eclipse.wst. server.core\tmp0 "
> -Dcatalina.home="D:\Applications\Tomcat-5.5.9"
> ..depending on whether or not the "Run modules directly from the
> workspace" is checked.
>
> So, neither case seems to do anything with the files in the "Servers"
> project. When are they used?
>
> Thanks for the clarification!
> Christian
>
Previous Topic:Problems creating Web Service
Next Topic:Web Service WSDL Top Down Project
Goto Forum:
  


Current Time: Wed Jul 16 13:08:39 EDT 2025

Powered by FUDForum. Page generated in 0.07342 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top