I just ran an application on both JBoss 2.4.4 and JBoss 2.4.6
and it perfectly works on both. However, on 2.4.6 JBoss keeps
spilling "[INFO,XAPoolDataSource] Creating XA Pool" in the log
file all the time.
It seems to me that the message is printed every time the
database is accessed - when DataSource.getConnection() is
called, I suppose (though I haven't tested this).
Now I'm wondering if JBoss 2.4.6. is really creating a new
pool for every connection? I doubt this is what it should do...
About my config (the same used with both versions):
----------------
Using mysql and mm.mysql-2.0.11
DataSource config in jboss.jcml:
<mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">org.gjt.mm.mysql.Driver</attribute>
</mbean>
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=testiDS">
<attribute name="PoolName">XXXXXX/testi</attribute>
<attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:mysql://localhost/testi</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">XXXXXXXX</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="Password">XXXXXXXX</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">1700000</attribute>
<attribute name="IdleTimeoutEnabled">true</attribute>
<attribute name="LoggingEnabled">false</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">0</attribute>
</mbean>
----------------
Panu
--
Panu H�llfors, [EMAIL PROTECTED]| CS Student, Helsinki University of Technology
http://www.iki.fi/panupa/ | Internet Application Developer, Viloke Oy
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user