Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Tomcat within Eclipse issue

Thread view: 
orphord - 17 Jan 2006 23:03 GMT
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
Joe Attardi - 18 Jan 2006 05:10 GMT
>       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?
orphord - 18 Jan 2006 16:41 GMT
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
Joe Attardi - 18 Jan 2006 16:48 GMT
> 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 */


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.