0 Replies Latest reply on Aug 4, 2005 10:48 PM by flarosa

    Datasource configuration

    flarosa

      Hello,

      I have several different EJBs which each look for a datasource using a different JNDI name.

      In some cases (on some servers) I will create a unique datasource for each name. On others, I prefer to combine the tables used by two or more of the EJBs into one database and set up a single datasource that can be accessed using multiple JNDI names. Is this possible?

      I tried putting multiple jndi-name elements inside the local-tx-datasource element, but JBoss only appears to read the first one.

      Also, can anyone tell me where to find the DTD file that goes with the datasources XML file? I can't find an example anywhere that includes the DOCTYPE.

      Thanks,
      Frank