Thanks lutz, that's in fact exactly how I now have it.  I have also deleted
the webapp (and the context xml file under /conf) and recompiled/restarted,
to make sure the new context config is loaded, but still no joy.

> -----Original Message-----
> From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] 
> Sent: Friday 20 May 2005 16:59
> To: Tomcat Users List
> Subject: Re: DBCP datasource works on 5.0.28 but fails on 5.5.9
> 
> 
> Hi,
> 
> Am Freitag, 20. Mai 2005 17:22 schrieb Nikola Milutinovic:
> > Steve Kirk wrote:
> > This most commonly means that the definition of the DataSource
> > resource lacks driver definition. Could it be that you've missed the
> > fact that DataSource JNDI resource setup definition has 
> changed in TC
> > 5.5? It is no longer with those
> > <parameter><name>...</name><value>...</value></parameter>. Check it
> > out.
> 
> This is exactly what I would guess, too. From Tomcat 5.0 to 5.5, the 
> Resource element syntax has changed. It is now like:
> 
> <Resource
>                         name="..."
>                         auth="Container"
>                         type="javax.sql.DataSource"
>                         driverClassName="..."
>                         url="jdbc:..."
>                         username="..."
>                         password="..."
>                         maxActive="20"
>                         maxIdle="10"
>                         maxWait="-1"
> 
>                         removeAbandoned="true"
>                         removeAbandonedTimeout="300"
>                         logAbandoned="true" />
> 
> 
> Best wishes
> 
> Lutz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to