[jboss-user] [JNDI/Naming/Network] - Could not retrieve datasource via JNDI url

sachins do-not-reply at jboss.com
Fri Jan 16 04:40:54 EST 2009


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202370#4202370

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202370



More information about the jboss-user mailing list