Re: Is resource-ref really needed?

2009-09-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 9/2/2009 6:15 AM, Robert Whane wrote: > The way I now understand this > element to work is that it's some sort of hint to the container > processing the deployment descriptor that it should go looking for a > magical (vendor specific) mappi

Re: Is resource-ref really needed?

2009-09-02 Thread Robert Whane
On Wed, Sep 2, 2009 at 1:22 AM, Martin Gainty wrote: > > the fellow who wrote it was writing code for at least 2 other projects > it may have been a case of where he accomplished 75% of what was needed then > some other task got moved to his front burner I hear you, we've all been there a couple o

RE: Is resource-ref really needed?

2009-09-01 Thread Martin Gainty
; Date: Wed, 2 Sep 2009 01:11:41 +0200 > Subject: Re: Is resource-ref really needed? > From: robert.wh...@gmail.com > To: mgai...@hotmail.com; users@tomcat.apache.org > > On Tue, Sep 1, 2009 at 5:07 AM, Martin Gainty wrote: > > both the entries and web.xml reference > >

Re: Is resource-ref really needed?

2009-09-01 Thread Robert Whane
On Tue, Sep 1, 2009 at 5:07 AM, Martin Gainty wrote: > both the entries and web.xml reference > ContextResource > > //WebAnnotationSet.java >     protected static void addResource(Context context, Resource annotation) > { > > //if the annotation is > DataSource,ConnectionFactory,QueueConnectionFa

Re: Is resource-ref really needed?

2009-09-01 Thread Robert Whane
On Tue, Sep 1, 2009 at 5:41 PM, Christopher Schultz wrote: >On 8/31/2009 6:19 PM, Robert Whane wrote: >> Okay, it's optional, so I don't HAVE to use, but if I DO use it, what >> possible advantage does it have? > > Adherence to the Servlet Specification? Which is what I indeed suspected what might

Re: Is resource-ref really needed?

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 8/31/2009 6:19 PM, Robert Whane wrote: > Okay, it's optional, so I don't HAVE to use, but if I DO use it, what > possible advantage does it have? Adherence to the Servlet Specification? - -chris -BEGIN PGP SIGNATURE- Version: GnuP

Re: Is resource-ref really needed?

2009-08-31 Thread Robert Whane
On Mon, Aug 31, 2009 at 1:50 PM, Martin Gainty wrote: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=47769 That's a very good start. Thanks! There is however still one vital piece of information missing in the proposed documentation update. It now clearly states that resource-ref in the w

RE: Is resource-ref really needed?

2009-08-31 Thread Martin Gainty
0 > From: m...@as-guides.com > To: users@tomcat.apache.org > Subject: Re: Is resource-ref really needed? > > Robert Whane schrieb: > > > There has to be some use of that resource-ref element. All the Tomcat > > examples and tutorials instruct you to create this element.

Re: Is resource-ref really needed?

2009-08-31 Thread Michael Ludwig
Robert Whane schrieb: There has to be some use of that resource-ref element. All the Tomcat examples and tutorials instruct you to create this element. Someone really badly wants you to use it, yet it seemingly has not function whatsoever. Something just doesn't add up, or maybe it's just me...

Re: Is resource-ref really needed?

2009-08-31 Thread Robert Whane
On Mon, Aug 31, 2009 at 2:27 AM, Martin Gainty wrote: > you can enter a documentation change to correct either > 1)duplicate behaviour of ApplicationContext.xml by web.xml > > 2)or make the documentation a bit clearer on what is required and what is > optional That's not a bad idea really, but

RE: Is resource-ref really needed?

2009-08-30 Thread Martin Gainty
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 31 Aug 2009 01:36:47 +0200 > Subject: Re: Is resource-ref really needed? > From: robert.wh...@gmail.com > To: users@tomcat.apache.org > > Hi, >

Re: Is resource-ref really needed?

2009-08-30 Thread Robert Whane
Hi, On Mon, Aug 31, 2009 at 1:12 AM, Martin Gainty wrote: > > mandatory: define the attributes in in > applicationContext.xml > OR > optionally define the resource attributes or > in web.xml > > http://proteinbank.vbi.vt.edu/tomcat-docs/config/context.html#Resource%20Definitions Thanks for t

RE: Is resource-ref really needed?

2009-08-30 Thread Martin Gainty
t facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 31 Aug 2009 00:42:15 +0200 > Subject: Is resource-ref really needed? > From: robert.wh...@gmail.com > To: users@tomcat.apache.org > > Hi, > I'm usin

Is resource-ref really needed?

2009-08-30 Thread Robert Whane
Hi, I'm using Tomcat 6.20 and have configured a datasource in META-INF/context.xml, which looks basically like this: For brevity I have removed some attributes, but this is basically my definition. I can now just directly look up this DataSource using JDNI under the java:comp/env/jdbc/myd