1 Reply Latest reply on Aug 17, 2003 7:22 PM by dmalenic

    JUDDI/MySQL with JBOSS/JETTI

    dmalenic Newbie

      Has anyone configured JUDDI with msSQL data-store to work with JBOSS?
      The problem I have encountered is that juddi web-application deployment descriptor uses following data source definition:

      <resource-ref>
      jUDDI DataSource
      <res-ref-name>jdbc/juddiDB</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>CONTAINER</res-auth>
      </resource-ref>

      JNDI name resolves to: java:comp/env/jdbc/juddiDB

      I use mySQL connector version 3.0.8 and I have configured data source descriptor mysql-ds.xml to look like:


      <local-tx-datasource>
      <jndi-name>comp/env/jdbc/juddiDB</jndi-name>
      <connection-url>jdbc:mysql://localhost/juddi</connection-url>
      <driver-class>com.mysql.jdbc.Driver</driver-class>
      <user-name>...</user-name>
      ...
      <min-pool-size>50</min-pool-size>
      <max-pool-size>100</max-pool-size>
      <blocking-timeout-millis>10000</blocking-timeout-millis>
      <idle-timeout-minutes>15</idle-timeout-minutes>
      </local-tx-datasource>


      The problem is that data source is deployed under following JNDI: java:/comp/env/jdbc/juddiDB

      It looks like that JBOSS adds '/' infant of JNDI path. Is it possible to get rid of the leading '/' or is there another way to resolve that problem?