RE: JNDI JDBC COnnection pooling problem...

2002-08-13 Thread Alexander Wallace
: Alexander Wallace [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:33 AM To: [EMAIL PROTECTED] Subject: JNDI JDBC COnnection pooling problem... Hello. This has to be a very simple one for those who know. I'm getting a java.lang.NullPointerException in my app

JNDI JDBC COnnection pooling problem...

2002-08-12 Thread Alexander Wallace
Hello. This has to be a very simple one for those who know. I'm getting a java.lang.NullPointerException in my app, in the second line here: Context ctx = (Context) new InitialContext().lookup(java:comp/env); conn = ((DataSource) ctx.lookup(jdbc/pgsql)).getConnection(); **Error happens here**

RE: JNDI JDBC COnnection pooling problem...

2002-08-12 Thread Andrew
] Subject: JNDI JDBC COnnection pooling problem... Hello. This has to be a very simple one for those who know. I'm getting a java.lang.NullPointerException in my app, in the second line here: Context ctx = (Context) new InitialContext().lookup(java:comp/env); conn = ((DataSource) ctx.lookup