WebSphere Application Server - Re: WAS JDBC Connection Pool Data Source problem....DSRA0010E:

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > March 2007 > Re: WAS JDBC Connection Pool Data Source problem....DSRA0010E:





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: WAS JDBC Connection Pool Data Source problem....DSRA0010E:

2007-03-30, 1:21 pm

1. Yes, the servlet can get a connection successful and also retrieve ResultSet return by SQL select statement

2. The code failed at retrieving the Connection from DataSource.
// This OK...
DataSource ds = (DataSource) initialContext.lookup("jdbc/DB2_UDB_TEST");
// Failed at this...
Connection conn = ds.getConnection();

Andrew
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com