Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » What is "Location" field in Server Properties
What is "Location" field in Server Properties [message #209326] Sun, 02 March 2008 16:51 Go to next message
David M. Karr is currently offline David M. Karr
Messages: 143
Registered: July 2009
Senior Member
When viewing the "Properties" dialog for a Server, the "Info" section has
a "Location" field, with values "[workspace metadata]" or "/Servers/Tomcat
v6.0 Server at localhost.server", switchable by the "Switch Location"
button next to the field.

What exactly does this field and its values signify, and what would be the
point of setting it to either of those particular values?
Re: What is "Location" field in Server Properties [message #209374 is a reply to message #209326] Mon, 03 March 2008 10:37 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
Registered: July 2009
Senior Member
David Karr wrote:
> When viewing the "Properties" dialog for a Server, the "Info" section
> has a "Location" field, with values "[workspace metadata]" or
> "/Servers/Tomcat v6.0 Server at localhost.server", switchable by the
> "Switch Location" button next to the field.
>
> What exactly does this field and its values signify, and what would be
> the point of setting it to either of those particular values?
>

The Tomcat server configuration is edited by the server editor[1] and
the configuration settings stored in XML. Normally, this XML is written
to the ".metadata\.plugins\org.eclipse.wst.server.core\servers.xml" file
under your workspace directory. This corresponds to the "[workspace
metadata]" selection. If you switch the location, this XML will be
removed from the "servers.xml" file and written to a file directly under
the "Servers" project in your workspace based on the name of the server,
i.e. "Tomcat v6.0 Server at localhost.server" in your case. It becomes
more visible there and easier to tweak, if desired. In early versions
of WTP, there were some tweaks that were useful which couldn't be
accomplished with any UI. I don't think this feature is as useful as it
was back then due to improvements in the UI. It has been a while, so I
don't remember what those tweaks were.

Cheers,
Larry

[1]
http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_modify_the_T omcat_server.27s_configuration.3F
Previous Topic:tomCat Does not recognize my servelt
Next Topic:Using WSDL Explorer with a wsdl that incorporates Transport-Level/SSL Security
Goto Forum:
  


Current Time: Wed Aug 20 18:31:45 EDT 2014

Powered by FUDForum. Page generated in 0.01872 seconds