Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Tomcal server.xml out of sync - any way to refresh ?
Tomcal server.xml out of sync - any way to refresh ? [message #198765] Wed, 22 August 2007 12:25 Go to next message
Eclipse User
Originally posted by: hypertree.yahoo.com

Hi Folks !

I am trying to import a webapp into Eclipse/WTP and since this app doesn't
use servlet mapping I have to use much maligned "invoker" servlet which
requires privileged="true" flag to be set in its context. Since I can't
set this property in Tomcat Modules editor, I edited server.xml in my
/Servers/..Tomcatserver.. folder. problem is that Eclipse now complains
that server.xml is out of sync with no aparant way to reload refresh it.

I have tried:
project - clean and refresh and build
Tomcat installation with clean build and publishing. But no help - the
error doesn't go away. How do you force Eclipse to reload hand-edited
server.xml or any such conf/*.xml file ?

thanks,

-Sanjay
Re: Tomcal server.xml out of sync - any way to refresh ? [message #198796 is a reply to message #198765] Wed, 22 August 2007 16:31 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
Try right-clicking on the server.xml or a parent folder in a "navigator
type" view (i.e. Project Explorer, Package Explorer, Navigator view) and
select Refresh.

Larry

Sanjay Kumar wrote:
> Hi Folks !
>
> I am trying to import a webapp into Eclipse/WTP and since this app
> doesn't use servlet mapping I have to use much maligned "invoker"
> servlet which requires privileged="true" flag to be set in its context.
> Since I can't set this property in Tomcat Modules editor, I edited
> server.xml in my /Servers/..Tomcatserver.. folder. problem is that
> Eclipse now complains that server.xml is out of sync with no aparant way
> to reload refresh it.
>
> I have tried:
> project - clean and refresh and build
> Tomcat installation with clean build and publishing. But no help - the
> error doesn't go away. How do you force Eclipse to reload hand-edited
> server.xml or any such conf/*.xml file ?
>
> thanks,
>
> -Sanjay
>
Re: Tomcal server.xml out of sync - any way to refresh ? [message #198827 is a reply to message #198796] Wed, 22 August 2007 18:37 Go to previous messageGo to next message
Eclipse User
Originally posted by: hypertree.yahoo.com

Thanks Larry.

I don't see server.xml anywhere in those three views. Only things close is
the Tomcat Version 6.0 tree in Package explorer and it has tomcat common
jars.
I did a refresh of the project in Package Explorer. No luck so far.

I will try to setup project again tomorrow and see if Navigator or Project
Explorer refresh helps.

thanks,

-Sanjay

Larry Isaacs wrote:

> Try right-clicking on the server.xml or a parent folder in a "navigator
> type" view (i.e. Project Explorer, Package Explorer, Navigator view) and
> select Refresh.

> Larry
Re: Tomcal server.xml out of sync - any way to refresh ? [message #198888 is a reply to message #198827] Thu, 23 August 2007 09:11 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
See http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#info _06 for
details about the location of the server.xml in those views.

Cheers,
Larry

Sanjay Kumar wrote:
> Thanks Larry.
>
> I don't see server.xml anywhere in those three views. Only things close
> is the Tomcat Version 6.0 tree in Package explorer and it has tomcat
> common jars.
> I did a refresh of the project in Package Explorer. No luck so far.
> I will try to setup project again tomorrow and see if Navigator or
> Project Explorer refresh helps.
>
> thanks,
>
> -Sanjay
>
> Larry Isaacs wrote:
>
>> Try right-clicking on the server.xml or a parent folder in a
>> "navigator type" view (i.e. Project Explorer, Package Explorer,
>> Navigator view) and select Refresh.
>
>> Larry
>
>
>
Previous Topic:working with XML and XML schemas
Next Topic:scanning for tasks
Goto Forum:
  


Current Time: Thu Apr 17 21:02:34 EDT 2014

Powered by FUDForum. Page generated in 0.01810 seconds