Hi anyone,
I'm still trying to figure it out. I will reinstate the problem now:
If I try to connect using the code below, it WORKS:
<%
InitialContext ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup( "java:PostgresDS");
Connection con=ds.getConnection();
con.close();
If I try to this one, it DOESN'T WORKS:
<sql:setDataSource dataSource="java:PostgresDS" />
Anyone knows why?
Thank you all,
Andre
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107753#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...