Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 16:25 Go to next message
Eclipse UserFriend
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 20:31 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
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 22:37 Go to previous messageGo to next message
Eclipse UserFriend
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 13:11 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
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: Fri Apr 19 11:15:48 GMT 2024

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

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

Back to the top