xiaohong wrote:

> Hello
> 
> I'm new user of JBoss, here is my problem, can anyone help me out? thanks.
> 
> 
> Buf after I add the following lines to $JBOSS_HOME/etc/default/jboss.jcml to
> add data sources to mySQL.
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> --------
>   <!-- JDBC -->
>   <!-- mysql -->
>   <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
>     <attribute name="Drivers">org.gjt.mm.mysql.Driver</attribute>
>   </mbean>


I assume you literally added this? If so you should take it out
and simply add ",org.gjt.mm.mysql.Driver" to the original
JdbcProvider section in jboss.xml. What you're doing here is
your overriding the original and now the JdbcProvider isn't
loading the InstantDB and HyperSQL drivers.


> 
>   <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=mySQLDB">
>      <attribute
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l</attribute>
>      <attribute name="PoolName">mySQLDS</attribute>
>      <attribute name="URL">jdbc:mysql://localhost/test</attribute>
>      <attribute name="JDBCUser">root</attribute>
>      <attribute name="Password"></attribute>
>   </mbean>
> ----------------------------------------------------------------------------

> [InstantDB] Starting
> [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB

It's hanging here trying to connect to InstantDB - it probably
can't find an appropriate driver for the URL.

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to