Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Problem with WAR File Export (lastmodified)(WAR File Export produces files with timestamp in future)
Problem with WAR File Export (lastmodified) [message #855368] Tue, 24 April 2012 15:07 Go to next message
Eclipse UserFriend
Hello I tried to google my problem but did not find anything helpfull.
Here is my problem:
I use the current "Eclipse IDE for Java EE Developers" edition of eclipse.
When I run my JSF application directly in eclipse everything works. If I export the project as a WAR file over the menu in eclipse and put this in a tomcat on my server the application behaves weired (partly not works). It took me two hours to find out that the files in the generated WAR files have a lastmodified which is in the future. In result tomcat always tries to reload the files....
It seem that it has something todo with timezones because it is 1 hour offset. But it seems that only the WAR file export is effected the files in the project have the right lastmodified...

Is there a special setting where I can stop this behaviour?

Thanks in advance
Martin Grüneberg
Re: Problem with WAR File Export (lastmodified) [message #855894 is a reply to message #855368] Wed, 25 April 2012 03:32 Go to previous messageGo to next message
Eclipse UserFriend
Found a workaround (no solution!): I disabled facelets recompilation. Now the generated WAR works again on my tomcat instance. It seems that it ignores the files with lastmodified in future now.
Still interested in an advice to fix the behaviour of the export-->WAR function.

Thanks in advance
Martin Grüneberg
Re: Problem with WAR File Export (lastmodified) [message #1740161 is a reply to message #855894] Tue, 09 August 2016 18:13 Go to previous messageGo to next message
Eclipse UserFriend
Windows 7
Tomcat 7
Neon 4.6 (Eclipse for RCP and RAP Developers package )
git 4.4
I am having a very similar issue. All my .class files in the WAR are a random number of minutes into the future. Sometimes three minutes sometimes 35 minutes.

Unchecking "Optimize for a specific server runtime" when the option is Apache Tomcat v7.0 TomEE does not seems to make a difference.

[Updated on: Tue, 09 August 2016 18:49] by Moderator

Re: Problem with WAR File Export (lastmodified) [message #1744705 is a reply to message #1740161] Thu, 29 September 2016 10:54 Go to previous message
Eclipse UserFriend
Paul Roubekas wrote on Tue, 09 August 2016 22:13

I am having a very similar issue. All my .class files in the WAR are a random number of minutes into the future. Sometimes three minutes sometimes 35 minutes.

i have the same issue with Windows 7 and Eclipse Juno
Last modified data files (.java , .html ....) are always in the future (in the hour or minutes part)

@Paul Roubekas
Did you solve somehow ?

[Updated on: Thu, 29 September 2016 11:48] by Moderator

Previous Topic:No Tomcat Server Adapter for Helios? Really?
Next Topic:Removing obsolete files from the server
Goto Forum:
  


Current Time: Wed Jul 23 21:13:48 EDT 2025

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

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

Back to the top