Hello everyone,

I read the tomcat jndi how to manual. searched the mailing list archive. and 
did everything which has made other happily get a connection from the jndi 
of the pool but I just can't do it.

DataSource ds  = (javax.sql.DataSource) 
initCtx.lookup("java:comp/env/jdbc/MPSSource");
return ds.getConnection(); ///// RETURNS NULL !!

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to