1 Reply Latest reply on Jun 26, 2003 1:32 PM by viz

    Have I done this correctly?

    viz

      Hi All,

      I am configuring JBoss 3.2.1 with mySQL 3.23.53

      I have the following file 'forest-ds.xml' in the deploy directory (JBoss seems to like this):


      <local-tx-datasource>
      <jndi-name>ForestDS</jndi-name>
      <connection-url>jdbc:mysql://localhost:3306/forest</connection-url>
      <driver-class>com.mysql.jdbc.Driver</driver-class>
      <user-name>admin</user-name>
      password
      </local-tx-datasource>


      However, I also found I needed to reconfigure the 'standardjbosscmp-jdbc.xml' file as follows:


      java:/ForestDS
      <datasource-mapping>mySQL</datasource-mapping>
      ...


      to get my EntityBean deployed with no errors.

      Is this what I should have done, or do I need to do more, or should I have done less? If so, what are the correct step.

      Kind regards,
      --
      Viz

        • 1. Re: Have I done this correctly?
          viz

          Don't think I have, as my EntityBean does not work. Have tried changing the 'standardjbosscmp-jdbc.xml' back to the original, but different errors - Bean will not deploy.

          Any thoughts?

          Kind regards
          --
          Viz