Hi,
i have encountered an very strange problem during
setup mySQL
connection pool.
JBOSSFinal2.0 + JDK1.3
i have added:
jboss.conf:
<MLET CODE="org.jboss.jdbc.XADataSourceLoader"
ARCHIVE="jboss.jar,mm.mysql-2.0.4-bin.jar"
CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="mySQL">
<ARG TYPE="java.lang.String"
VALUE="org.jboss.minerva.xa.XADataSourceImpl">
</MLET>
jboss.jcml:
<mbean
name="DefaultDomain:service=XADataSource,name=mySQL">
<attribute name="Properties"></attribute>
<attribute
name="URL">jdbc:mysql://localhost:3306/Test</attribute>
<attribute
name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">root</attribute>
<attribute name="MaxSize">10</attribute>
<attribute
name="Password">[EMAIL PROTECTED]</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>
When i started jboss, it indicated that [JDBC] Loaded
JDBC-
driver:org.gjt.mm.mysql.Driver
however, i saw nothing about the mbean named 'mySQL'.
when i open the
jboss.jcml again,
i found that jboss has automatically remove those
lines about 'mySQL'
mbean!
anybody have any idea?
Thanx.
guojie.
=====
**************************************
* LI GUOJIE *
* Mobile: (65)9488-8296 *
* Email: [EMAIL PROTECTED] *
**************************************
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]