you are calling this method

public Connection getConnection(String username, String password) throws SQLException { throw new UnsupportedOperationException("Not supported by BasicDataSource");
   }

try calling

DataSource.getConnection() without a username and password

Filip


jpmad4it wrote:
David Smith-2 wrote:
Case matters.  Make sure you match case in all places where you refer to
the jndi name of your datasource.  Off the top, I see you configured
jdbc/TestIDMS, but then try to use jdbc/testIDMS in the test jsp.

--David



Ah thanks for spotting that.

I am now getting the error:

Error: java.lang.UnsupportedOperationException: Not supported by
BasicDataSource Not supported by BasicDataSource

Is this to do with the JNDI not recognising the IDMS driver??


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to