I've tried to use mySQL with JBoss3.0 RC3.
I modified the file "jboss-service.xml" in order to create a pool of 
connections:

<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=DefaultDS">
        <attribute name="PoolName">DefaultDS</attribute>
        <attribute 
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribut
e>
        <attribute name="URL">jdbc:mysql://localhost:3306/test</attribute>
        <attribute name="JDBCUser">root</attribute>
        <attribute name="Password"></attribute>
        <attribute name="MinSize">1</attribute>
        <attribute name="MaxSize">5</attribute>
  </mbean>

Unfortunalty, JBoss is unable to "create bean", I always receive this message 
(in JBOSS_DIST\server\default\log\server.log):

2002-05-28 13:15:03,770 DEBUG [org.jboss.system.ServiceCreator] About to create 
bean: jboss:service=JdbcProvider
2002-05-28 13:15:03,770 DEBUG [org.jboss.system.ServiceCreator] code: 
org.jboss.jdbc.JdbcProvider
2002-05-28 13:15:03,880 DEBUG [org.jboss.system.ServiceCreator] Class not found 
for mbean: jboss:service=JdbcProvider
2002-05-28 13:15:03,880 DEBUG [org.jboss.system.ServiceCreator] About to create 
bean: jboss:service=XADataSource,name=DefaultDS
2002-05-28 13:15:03,880 DEBUG [org.jboss.system.ServiceCreator] code: 
org.jboss.jdbc.XADataSourceLoader
2002-05-28 13:15:03,940 DEBUG [org.jboss.system.ServiceCreator] Class not found 
for mbean: jboss:service=XADataSource,name=DefaultDS

I went over every "jar" files, and I didn't manage to find any classes ????

Can someone help me ?
Thx
Anjarivo RAZAFINIMANANA

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to