I believe you need to add your jdbc driver class in the mbean entry attribute
name="Drivers" in the jboss.jcml

dovan

Bas Cancrinus wrote:

> Hi,
>
> I'd like to connect JBoss 2.2.1 to a MySQL server.
> According to the manual (chapter 3 - Introduction) I copied the
> driver-JAR to the lib/ext directory and I added an mbean-entry to
> jboss.jcml. When I start JBoss my entry is ignored (no extra [JDBC]
> output in log) and JBoss erases it from jboss.jcml.
> Because this approach didn't work, I added my JDBC driver-class to the
> "jdbc.drivers"-value in jboss.properties. After starting JBoss, my log
> contained the output "[JDBC] Loaded
> JDBC-driver:org.gjt.mm.mysql.Driver", which is the added JDBC driver-class.
>
> I have the following questions about the above:
> - Why does JBoss behave like this towards the manual approach?
> - Does my approach have any consequences for the functioning of JBoss
> compared to the manual approach?
>
> Thanks in advance,
> Bas
>
> --
> Bas E. Cancrinus                <[EMAIL PROTECTED]>
> Product Manager RepTrack (TM)   <http://www.reptrack.nl>
> Developer Cancrinus Search      <http://www.csearch.nl>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


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

Reply via email to