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) mapping

Re: Is resource-ref really needed?

2009-09-02 Thread Robert Whane
On Wed, Sep 2, 2009 at 1:22 AM, Martin Gaintymgai...@hotmail.com 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

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: GnuPG

Re: Is resource-ref really needed?

2009-09-01 Thread Robert Whane
On Tue, Sep 1, 2009 at 5:41 PM, Christopher Schultzch...@christopherschultz.net 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

Re: Is resource-ref really needed?

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

RE: Is resource-ref really needed?

2009-09-01 Thread Martin Gainty
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 Gaintymgai...@hotmail.com wrote: both the entries ContextResource and web.xml resource-ref reference ContextResource

Re: Is resource-ref really needed?

2009-08-31 Thread Robert Whane
On Mon, Aug 31, 2009 at 2:27 AM, Martin Gaintymgai...@hotmail.com wrote: you can enter a documentation change to correct either 1)duplicate behaviour of ApplicationContext.xml Resource by web.xml resource-ref 2)or make the documentation a bit clearer on what is required and what is optional

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 Martin Gainty
@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. Someone really badly wants you to use it, yet it seemingly has

Re: Is resource-ref really needed?

2009-08-31 Thread Robert Whane
On Mon, Aug 31, 2009 at 1:50 PM, Martin Gaintymgai...@hotmail.com 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

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: ?xml version=1.0? Context reloadable=false Resource name=jdbc/mydb factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory type=javax.sql.DataSource

RE: Is resource-ref really needed?

2009-08-30 Thread Martin Gainty
peuvent 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 using Tomcat 6.20 and have

Re: Is resource-ref really needed?

2009-08-30 Thread Robert Whane
Hi, On Mon, Aug 31, 2009 at 1:12 AM, Martin Gaintymgai...@hotmail.com wrote: mandatory: define the attributes in ContextResource in applicationContext.xml OR optionally define the resource attributes resource-env-ref or resource-ref in web.xml

RE: Is resource-ref really needed?

2009-08-30 Thread Martin Gainty
obligatoire. Étant donné que les email peuvent facilement ê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