5 Replies Latest reply on Oct 29, 2005 6:00 AM by Emmanuel Bernard

    Jboss ignores custom datasource in persistence.xml?

    ryan dewell Novice

      Getting the following error when deploying:

      ---
      13:44:05,343 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=bm-core.par
      javax.naming.NameNotFoundException: DefaultDS not bound
      ---

      However, NO where in my persistence.xml for bm-core.par am I referencing DefaultDS... Is Jboss defaulting to this for some reason? My persistence.xml references a custom datasource that is deployed in the normal jboss fashion.

      <jta-datasource>java:/brightDatasource</jta-datasource>
      Dialect isn't even HSQLDB its postgres. Where does Jboss get DefaultDS from that? Any ideas?

      Confused,

      Ryan