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

vickyk do-not-reply at jboss.com
Mon Nov 26 11:01:21 EST 2007


anonymous wrote : <sql:setDataSource dataSource="java:PostgresDS" /> 
Custom Tag libraries are not used properly .
You should be using it in this way 

  | <sql:setDataSource
  |   var="example"
  |   driver="org.postgresql.Driver"
  |   url="jdbc:postgresql://localhost:5432/jboss"
  |   user="jboss"
  |   password=""
  | />
  | 
For more details look here 
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/jstlsql.html

And use GOOGLE  it is free :) 



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

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



More information about the jboss-user mailing list