Bugs item #542371, was opened at 2002-04-11 07:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=542371&group_id=22866

Category: JBossServer
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Harris (charris)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.4.5 no XA JDBC w/ XADataSourceLoader

Initial Comment:
Testing an upgrade from 2.4.3 to 2.4.5RC1 we find we 
are unable to use our existing configuration for our 
database connections.

<mbean code="org.jboss.jdbc.XADataSourceLoader" 
name="DefaultDomain:service=XADataSource,name=DefaultDS
">
    <attribute name="PoolName">DefaultDS</attribute>
    <attribute 
name="DataSourceClass">com.inet.tds.XDataSource</attrib
ute>
    <attribute 
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.X
ADataSourceImpl</attribute>
    <attribute 
name="URL">jdbc:inetdae7:127.0.0.1</attribute>
    <attribute name="JDBCUser">chrisharris</attribute>
    <attribute name="Password">chrisharris</attribute>
        <attribute 
name="LoggingEnabled">false</attribute>
        <attribute 
name="Properties">host=127.0.0.1;database=chrisharris</
attribute>
        <attribute 
name="GCMinIdleTime">1200000</attribute>
        <attribute name="MaxSize">20</attribute>
        <attribute name="GCEnabled">false</attribute>
        <attribute 
name="InvalidateOnError">false</attribute>
        <attribute 
name="TimestampUsed">false</attribute>
        <attribute name="Blocking">true</attribute>
        <attribute name="GCInterval">120000</attribute>
        <attribute 
name="IdleTimeout">1800000</attribute>
        <attribute 
name="IdleTimeoutEnabled">false</attribute>
        <attribute 
name="MaxIdleTimeoutPercent">1.0</attribute>
        <attribute name="MinSize">0</attribute>
  </mbean>

This previously worked very well, but now triggers 
ClassCastExceptions in XAConnectionFactory because it 
is assumed that all JDBC Connections are in fact 
jboss' own XAConnectionImpl. In other words, using 
XADataSourceLoader is now *only* possible if you have 
a non-XA driver and the loader uses its own datasource 
implementation (XADataSourceImpl)!

I will try and use a RAR instead from the 3.0 
codebase. However this is a big, incompatible, change 
and I don't know if the JCA support is there in 2.4.5.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=542371&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to