Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Wrong server path but the Eclipse won't let me fix it
Wrong server path but the Eclipse won't let me fix it [message #885276] Tue, 12 June 2012 18:16 Go to next message
Rob Tanner is currently offline Rob TannerFriend
Messages: 20
Registered: July 2009
Junior Member
Hi,

Whenever I modify and source code, it gets deployed by Eclipse to .metadata/.plugins/org.eclipse.wst.server.core/tmp0, and that's correct. But when I go into the server view and click on a server (in this case, Tomcat 6), the overview shows that the path Tomcat defaults to is /org.eclipse.wst.server.core/tmp2. And I don't know where that came from. When I attempt, in the server locations section, to set a custom location to point to tmp0 rather than tmp2, I get the following error:

The server cannot be saved for the following reasons:
[Overview]The server path may not be under the ".metadata" folder of your
workspace unless it is the workspace metadata location.

There is obviously something locked somewhere. Anyone have any idea what or where?

Thanks,

Rob Tanner
Linfield College
Re: Wrong server path but the Eclipse won't let me fix it [message #889656 is a reply to message #885276] Tue, 19 June 2012 12:55 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 6/12/2012 2:16 PM, Rob Tanner wrote:
> Hi,
>
> Whenever I modify and source code, it gets deployed by Eclipse to
> .metadata/.plugins/org.eclipse.wst.server.core/tmp0, and that's
> correct. But when I go into the server view and click on a server (in
> this case, Tomcat 6), the overview shows that the path Tomcat defaults
> to is /org.eclipse.wst.server.core/tmp2. And I don't know where that
> came from. When I attempt, in the server locations section, to set a
> custom location to point to tmp0 rather than tmp2, I get the following
> error:
> The server cannot be saved for the following reasons: [Overview]The
> server path may not be under the ".metadata" folder of your workspace
> unless it is the workspace metadata location.
>
> There is obviously something locked somewhere. Anyone have any idea
> what or where?
>
> Thanks,
>
> Rob Tanner
> Linfield College

I don't know if you have resolved this by now, but for the record, the
"/org.eclipse.wst.server.core/tmp?" locations are internally assigned
and managed. To ensure that one server can't step on another server's
"tmp?" directory, you aren't allowed to assign a custom location under
".metadata". You have to pick some other custom location. I'm not
aware of a reason you would need to change the "tmp?" directory assigned
to a server.

Note that because of the support for "separate instances" you can have
multiple Tomcat servers, including servers defined from the same
installation provided no more that one from that installation is set to
"Use Tomcat installation...". As you would expect, each would be
assigned a different "tmp?" directory when set for "Use workspace
metadata...". You can add the same projects to all of the servers and
they will be published to each server.

Cheers,
Larry
Previous Topic:Adding jar in Deployment Assembly
Next Topic:Axis2 Namespace for every element at soap response
Goto Forum:
  


Current Time: Fri Apr 26 04:58:38 GMT 2024

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

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

Back to the top