tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <>
Subject Re: Tyrex transactions: a workaround
Date Sat, 02 Feb 2002 23:34:39 GMT
> > Unfortunately this does not work, and I believe this is a
> > tomcat bug (in facts, try to set 'type' to "I.DO.NOT.EXIST"
> > and you'll discover that catalina doesn't notice it).
> > The Resource gets always bound in JNDI with type
> > javax.sql.DataSource.
> Remy make me understand that this is not a bug in the way
> I described it. My problem was that I had declared the resource
> twice, both in server.xml and web.xml; in the latter I used
> javax.sql.DataSource and it overrode the former.

Well, that's a (small, but quite annoying to fix, so it probably won't be in
4.0.2) bug, because the one in server.xml is the one set by the admin. So it
is the Law ;-)

> Nevertheless, removing the entry from web.xml and using
> tyrex.jdbc.ServerDataSource doesn't work, so it seems that
> the workaround is still needed. I will try again tomorrow.

You may need to use a ResourceParams element to specify the factory.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message