3 Replies Latest reply on Jan 16, 2009 7:57 AM by jaikiran pai

    Could not retrieve datasource via JNDI url

    Sachin Srivastava Newbie

      I have configured Jboss 5.0.0 with PostgreSQL, I renamed the PostgreSQLDS to DefaultDS in the postgres-ds.xml.

      When I deploy an application, it is giving me:

      org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:/DefaultDS' java.sql.SQLException: Object at JNDI URL 'java:/DefaultDS' is not a DataSource. [See nested exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 'java:/DefaultDS' java.sql.SQLException: Object at JNDI URL 'java:/DefaultDS' is not a DataSource.

      Am I missing something here?