You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kwok Peng Tuck <pe...@makmal.com> on 2002/11/15 01:02:29 UTC

Problem getting database connection from datasource.

I seem to have a problem with getting a database connection in tomcat 
4.1.12,
I have set up a jndi datasource in the server.xml and reference in 
web.xml but this line of  code doesn't seem to work

        Connection conn = ds.getConnection() ;
The jsp page would just loop forever and not return a error. Has anyone 
encountered this problem ?

This used to work in tomcat 4.0.X .


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>