Tomcat within Eclipse issue

O

orphord

I am trying to make a change (add a jdbc resource) to the server.xml
file within the "workspace/Servers/Tomcat v5.5 Server @
localhost-config" directory (running on Win XP Home).

Unfortunately, if the server.xml file *appears* to have been updated --
such as "touch server.xml" -- I get the following message the next time
I try to start the server.

"Publishing results
Publishing the configuration...
Could not publish server configuration: Resource is out of sync
with the file system: /Servers5/Tomcat v5.5 Server @
localhost-config/server.xml..
Resource is out of sync with the file system: /Servers5/Tomcat
v5.5 Server @ localhost-config/server.xml."

Any help would be greatly appreciated.
Jeff
 
J

Joe Attardi

Resource is out of sync with the file system: /Servers5/Tomcat
v5.5 Server @ localhost-config/server.xml."

Hi Jeff,

I haven't used Tomcat from within Eclipse, but I have run into a
similar error message if I try to do a search within files if something
has been modified outside of a project. In those cases, refreshing the
project (F5 or right click on project->Refresh) has cleared it up.

Perhaps you can do something similar with Tomcat?
 
O

orphord

Joe-
Thanks so much this worked like a charm!

One addendum if anyone else runs into a similar problem. The way
"Refresh" worked for me was when I was in the J2EE (which is very
similar to Java) perspective.

Jeff
 
J

Joe Attardi

Thanks so much this worked like a charm!

I'm glad to hear it! That has been one of my annoyances with Eclipse -
it's fairly easy for the project to get out of sync with the
filesystem, especially if you do an Ant/Maven build outside of Eclipse.

I wonder if there's a preference buried somewhere to automatically
refresh a project after a certain interval? I admit I haven't even
looked so it may be abundantly clear and not in fact buried, but I
haven't used Eclipse in a while. :)

/* Joe Attardi */
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top