OK, OK,

A shower and breakfast later....

Of course I am working across NFS, and the clock on my
laptop is screwed.

However this does make it look like JBoss is comparing
file times against it's own clock, rather than against
the time that the file was last seen modified at.

In many environments (and this happens at the banks at
which I work), machines are regularly badly synched
and time lags of a minute or so are common-place.

Maybe something we should consider in the next
Deployer iteration.




Jules


 --- Jules Gosnell <[EMAIL PROTECTED]> wrote: >
Something screwed here :
> 
> [jules@zeuglodon jetty]$ touch
> ~/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ ls -l
> ~/deploy/jetty-plugin.sar
> -rw-rw-r--    1 jules    jules      532190 Apr 11
> 07:07
> /home/jules/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ touch
> ~/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ ls -l
> ~/deploy/jetty-plugin.sar
> -rw-rw-r--    1 jules    jules      532190 Apr 11
> 07:08
> /home/jules/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ touch
> ~/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ ls -l
> ~/deploy/jetty-plugin.sar
> -rw-rw-r--    1 jules    jules      532190 Apr 11
> 07:08
> /home/jules/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ touch
> ~/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ ls -l
> ~/deploy/jetty-plugin.sar
> -rw-rw-r--    1 jules    jules      532190 Apr 11
> 07:08
> /home/jules/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ touch
> ~/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ ls -l
> ~/deploy/jetty-plugin.sar
> -rw-rw-r--    1 jules    jules      532190 Apr 11
> 07:08
> /home/jules/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ touch
> ~/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$ ls -l
> ~/deploy/jetty-plugin.sar
> -rw-rw-r--    1 jules    jules      532190 Apr 11
> 07:09
> /home/jules/deploy/jetty-plugin.sar
> [jules@zeuglodon jetty]$
> 
> 
> I did this on a fresh build of 10 minutes ago - id
> did not reload the
> jetty-plugin.
> 
> but look at this !!!!
> 
> [jules@zeuglodon jetty]$ date
> Thu Apr 11 08:11:10 GMT 2002
> 
> Anyone have any idea howcome the stamps on my files
> are an hour behind my
> system clock ?
> 
> I guess this must be something to do with British
> Summer Time (+1).
> 
> Could this cause the problem ?
> 
> 
> Jules
> 
> P.S.
> 
> [jules@zeuglodon jetty]$ touch foo; date; ls -l foo
> Thu Apr 11 08:15:04 GMT 2002
> -rw-rw-r--    1 jules    jules           0 Apr 11
> 07:14 foo
> [[jules@zeuglodon jetty]$ touch foo; date; ls -l foo
> Thu Apr 11 08:15:44 GMT 2002
> -rw-rw-r--    1 jules    jules           0 Apr 11
> 07:14 foo
> [jules@zeuglodon jetty]$ touch foo; date; ls -l foo
> Thu Apr 11 08:15:49 GMT 2002
> -rw-rw-r--    1 jules    jules           0 Apr 11
> 07:14 foo
> [jules@zeuglodon jetty]$
> 
> Now I am really confused
> 
> David Jencks wrote:
> 
> > On 2002.04.10 17:32:35 -0400 Jules Gosnell wrote:
> > >
> > > I was under the impression that the deploer was
> meant to redeploy files
> > > in ./deploy that changed.
> > >
> > > i.e. I could over a new version of a .sar, or
> edit and update e.g.
> > > jetty-service.xml and the service would be
> restarted with the new
> > > classes/configuration.
> > >
> > > It seems that I have to remove the file and then
> put it back.
> > >
> > > Is this the intended behaviour ?
> >
> > No. Your impression matches mine.  I have
> sometimes had the experience of
> > refreshing a file and having it not redeploy,
> sometimes it does.  Since I
> > was busy I didn't pay much attention.  Do you have
> a specific example that
> > doesn't redeploy?
> >
> > thanks
> > david jencks
> > >
> > >
> > > Jules
> > >
> > >
> > >
> > >
>
_________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at
> http://mail.yahoo.com
> > >
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > >
>
https://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> > >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-development 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to