Hi, I think that David Jencks is right here. To me this looks like a bug in the Informix driver - as if it assumes that all resources are Informix driver resources.
The reason the proposed patch works in this case is probably due to the ordering of resource registration coming from the order of resource use in the application. Best Regards, Ole Husgaard. "Dan A. Dickey" wrote: > > On Wednesday 13 November 2002 08:10 pm, David Jencks wrote: > > What is the bug and why does this patch change anything? Why do you think > > it won't cause equal and opposite bugs with other drivers? > > > > I haven't tested actual drivers extensively but have always assumed > > isSameRM was intended to be symmetric.. > > > > (for all a) (for all b) (a.isSameRM(b) == b.isSameRM(a)) > > > > The efficacy of your patch appears to depend on this identity failing: if > > other drivers have opposite failings won't this patch break them? > > > > > > thanks > > david jencks > > David, > calling xaRes.isSameRM() for my Informix driver threw a class cast > exception. I'm sorry, but I think that I no longer have this trace around. > Changing it to be resources[i].isSameRM(xaRes) matches the > other calls to it in TxCapsule.java. > Changing it to be resources[i].isSameRM(xaRes) made it stop > with the class cast exceptions. > Beyond that, I have little knowledge of what actually may or > may not be broken. > > If you or someone else would like me to help track down this > problem further, I'm willing to do that. Just let me know what > I should do. I can regenerate the class cast exception > trace if need be. > -Dan > > -- > Dan A. Dickey > [EMAIL PROTECTED] > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
