Re: Problem with o.a.c.webresources and packed WARs

2013-09-14 Thread Mark Thomas
Konstantin Kolinko wrote: >2013/9/13 Mark Thomas : >> I started to look at Bug 52489 [1] which is requesting code signing >> support for WARs. I decided to work with an unpacked version of the >> examples application. During testing, I noticed that WEB-INF/classes >and >> WEB-INF/lib were always b

Re: Problem with o.a.c.webresources and packed WARs

2013-09-13 Thread Violeta Georgieva
Hi Mark, 2013/9/13 Mark Thomas > > a) Unpack JAR resources to the work dir and return a URL to the unpacked > location -1 > > In trying to decide between b) and c) I came to the conclusion that it > would be better to keep the war:// url scheme and generic tomcat:// url > schemes separated even

Re: Problem with o.a.c.webresources and packed WARs

2013-09-13 Thread Konstantin Kolinko
2013/9/13 Mark Thomas : > I started to look at Bug 52489 [1] which is requesting code signing > support for WARs. I decided to work with an unpacked version of the > examples application. During testing, I noticed that WEB-INF/classes and > WEB-INF/lib were always being unpacked to the work directo

Re: Problem with o.a.c.webresources and packed WARs

2013-09-13 Thread Mark Thomas
On 13/09/2013 17:23, Christopher Schultz wrote: > Mark, > > On 9/13/13 9:16 AM, Mark Thomas wrote: >> The Javadoc for ServletContext#getResource() [3] is clear. The >> container must provide a URL for every resource and that URL must >> be usable. > > Usable by whom? (Sounds like a dumb question,

Re: Problem with o.a.c.webresources and packed WARs

2013-09-13 Thread Christopher Schultz
Mark, On 9/13/13 9:16 AM, Mark Thomas wrote: > The Javadoc for ServletContext#getResource() [3] is clear. The container > must provide a URL for every resource and that URL must be usable. Usable by whom? (Sounds like a dumb question, but please see below) > There > is an immediate issue with re

Problem with o.a.c.webresources and packed WARs

2013-09-13 Thread Mark Thomas
I started to look at Bug 52489 [1] which is requesting code signing support for WARs. I decided to work with an unpacked version of the examples application. During testing, I noticed that WEB-INF/classes and WEB-INF/lib were always being unpacked to the work directory. As well as looking to be un