Re: [Resin-interest] Question about JEE Containers

2009-03-28 Thread Matt Pangaro
Scott Ferguson wrote:
> Oh. I'd forgotten that we'd done that.  I'm pretty sure that's outside  
> the spec, so you can't rely on it.

Yeah, from some quick testing, Tomcat 6 did keep dates, but Glassfish V3 
does not. As you say, certainly not something I can depend on. It 
complicates the clustered deployment of something like a JNLP app, but 
really any form of caching that uses the timestamp of the resource to 
determine whether it's current.

Thanks for the follow-up.

Matt



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Question about JEE Containers

2009-03-27 Thread Scott Ferguson

On Mar 27, 2009, at 10:04 AM, Matt Pangaro wrote:

> Scott Ferguson wrote:
>> Hmm.  Not that I know of.  Resin doesn't preserve the dates, but it
>> would be something we could add fairly easily.
>
> Hmm back. At least in my Windows development environment, with Resin  
> Pro
> 3.0.x, when I drop a war file, the dates of all the files in the
> resulting webapps/foo dir are the same as the dates of the entries in
> webapps/foo.war.
>
> That's actually what drove the question. I'm used to that behavior  
> from
> Resin, and in another app server all the exploded files were getting  
> the
> time of the expansion for their modified dates.
>
> Either way, it sounds like either behavior is allowed, since the specs
> don't speak to it.

Oh. I'd forgotten that we'd done that.  I'm pretty sure that's outside  
the spec, so you can't rely on it.

-- Scott

>
>
> Thanks,
> Matt
>
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Question about JEE Containers

2009-03-27 Thread Matt Pangaro
Scott Ferguson wrote:
> Hmm.  Not that I know of.  Resin doesn't preserve the dates, but it  
> would be something we could add fairly easily.

Hmm back. At least in my Windows development environment, with Resin Pro 
3.0.x, when I drop a war file, the dates of all the files in the 
resulting webapps/foo dir are the same as the dates of the entries in 
webapps/foo.war.

That's actually what drove the question. I'm used to that behavior from 
Resin, and in another app server all the exploded files were getting the 
time of the expansion for their modified dates.

Either way, it sounds like either behavior is allowed, since the specs 
don't speak to it.

Thanks,
Matt



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Question about JEE Containers

2009-03-27 Thread Scott Ferguson

On Mar 27, 2009, at 9:02 AM, Matt Pangaro wrote:

> Caucho, et. al,
>
> I've been looking through the relevant specs, but can't find anything,
> so I figured I'd ask here.
>
> When a war file is unpacked to create the deployment directory, does  
> the
> spec say anything about whether dates of the files in the archive are
> supposed to be preserved?

Hmm.  Not that I know of.  Resin doesn't preserve the dates, but it  
would be something we could add fairly easily.

-- Scott

>
>
> Any info would be much appreciated.
>
> Thanks,
>
> --
> Matt Pangaro
> Lokitech >> software . strategy . design
> http://www.lokitech.com
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest