Hi Vicky,

 I managed to run the test, and it worked. I used the follwing JSP code:

<%
InitialContext ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup( "java:PostgresDS");
Connection con=ds.getConnection();
System.out.println("Connection successful");
con.close();
%>

and it printed 'Connection successful' in the JBoss console window.

What does it means? That the JDBC driver is correct?

Thank you,

Andre

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107718
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to