Generally jboss kills jcml file as the result of an error.  Do you see
any errors in the console output when you start jboss?

Is the URL correct - can you use it to get a direct jdbc connection to
the db?

"LI.GUOJIE" wrote:

> 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]





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to