tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Kirk" <tomcat-u...@web-startup.co.uk>
Subject RE: DBCP datasource works on 5.0.28 but fails on 5.5.9
Date Fri, 20 May 2005 16:17:08 GMT
Thanks nix.

> 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>.


Yes I already changed that.  I used to use the approach you mention in
5.0.28, i.e.:

	<ResourceParams name="jdbc/myResource">
		<parameter>
			<name>username</name>
			<value>...</value>
		</parameter>
		<parameter>
			<name>password</name>
			<value>...</value>
		</parameter>

		etc

	</ResourceParams>

But noticed that the new 5.5 DBCP example used this approach:

<Resource username="...." password="..."  etc />

So I switched to that, but still no joy.

PS does it actually say in the docs anywhere that the
<parameter><name>...</name><value>...</value></parameter>
approach is *NOT*
valid in 5.5?  If so then I've missed some docs somewhere, maybe there is
other new stuff that I haven't seen.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message