2 Replies Latest reply on Oct 12, 2001 7:04 AM by kristom

    Jboss doesn't start with my MySQL configuration

    gizmo

      after i installed MySQL, JBoss stops the start with the follow line :

      [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS

      here is my configuration :
      <!-- JDBC -->

      org.gjt.mm.mysql.Driver



      DefaultDS
      org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:mysql://localhost:3306/jboss
      1200000
      sa
      10

      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0


      I'm using JBoss-2.2.1_Tomcat-3.2.1, my database is configured not to ask for a password.
      i remember it worked already some days ago - after i reinstalled my system i didn't get it working anymore.
      anyone there who can help me ?
      thanks in advance !!
      :-)

        • 1. Re: Jboss doesn't start with my MySQL configuration
          quennie

          instead of using DefaultDS why don't you try using mySQLDB and the poolname is mySQLDS. hope it helped

          • 2. Re: Jboss doesn't start with my MySQL configuration
            kristom

            As I've written in a response to an earlier discussion, I've experienced hanging mySql connection when the connection pools are being set up while running JBoss on Linux. Reason was that the pool tried to connect as 'mysql@localhost.localdomain', whereas only 'msql@localhost' was defined in the user database in mySQL. If you'ære running Linux, try adding 'mysql@localhost.localdomain'.

            Also note that the attribute 'Blocking' seems to make the pool block e.g. when a connection can't be made. Setting the attribute to false probably reveals the error, e.g. a Nullpointer.

            regards,


            Kristoffer