[jboss-user] [JCA/JBoss] - Re: No suitable driver found for java:PostgresDS

vickyk do-not-reply at jboss.com
Mon Nov 26 07:47:35 EST 2007


Andre,
Try this simple code in jsp and let me know what exception do you get 

  | <%
  | InitialContext ctx = new InitialContext();
  | DataSource ds = (DataSource)ctx.lookup("java:PostgresDS");
  | Connection con = ds.getConnection();
  | con.close();
  | %>
  | 
Also make sure that you don't have any other version of postgres driver present in Jboss distribution .

Vicky

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

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



More information about the jboss-user mailing list