Hello,
I've read the archives about how to set up the MySQL database pool,
but I'm still having problems. Once the pool is set up, the server
hangs. The last messages I see on startup are:
[JDBC provider] Starting
[JDBC provider] Started
[Hypersonic] Starting
[Hypersonic] Server 1.4 is running
[Hypersonic] Database started
[Hypersonic] Started
[MySqlDS] Starting
[MySqlDS] XA Connection pool MySqlDS bound to java:/MySqlDS
[Hypersonic] Press [Ctrl]+[C] to abort
That's it. The system hangs afterwards. If I take out the JDBC pool,
everything is fine.
I'm using:
jBoss 2.2
MySQL driver mm.mysql-2.0.4-bin.jar
RedHat 2.2.12-20 384MB RAM
MySQL-3.23.37-1.i386.rpm
What to do?
Thanks.
jboss.jcml:
<mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
<attribute
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,g.gjt.mm.mysql.Driver</attribute>
</mbean>
.
.
.
.
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=MySqlDS">
<attribute name="PoolName">MySqlDS</attribute>
<attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourcmpl</attribute>
<attribute name="Properties" />
<attribute
namre="URL">jdbc:mysql://localhost/pht:3306</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">mysql</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="Password">mysql</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="LoggingEnabled">false</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">0</attribute>
</mbean>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user