Re: Auth in Context.xml

2011-06-09 Thread Konstantin Kolinko
2011/6/9 Umesh Bhatt : > Sorry I meant auth not Auth.  Thanks for correction. > I used getConnection(username, password) but it gives me an error as "It is > not supported" and doesn't connect with DB. Sure. Apache Commons DBCP connection pool does not support that method. There are other conne

Re: Auth in Context.xml

2011-06-09 Thread André Warnier
here is an example of a "good" post : http://markmail.org/message/ik56qyngekis24bo -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, June 09, 2011 10:44 AM To: Tomcat Users List Subject: RE: Auth in Context.xml From: Umesh Bhatt

RE: Auth in Context.xml

2011-06-09 Thread Umesh Bhatt
nisys.com] Sent: Thursday, June 09, 2011 10:44 AM To: Tomcat Users List Subject: RE: Auth in Context.xml > From: Umesh Bhatt [mailto:umesh_bh...@mindtree.com] > Subject: RE: Auth in Context.xml > I am using Tomcat 6.0. 6.0.what? There are 32 versions of 6.0; be precise. > In Context.xml file

RE: Auth in Context.xml

2011-06-08 Thread Caldarale, Charles R
> From: Umesh Bhatt [mailto:umesh_bh...@mindtree.com] > Subject: RE: Auth in Context.xml > I am using Tomcat 6.0. 6.0.what? There are 32 versions of 6.0; be precise. > In Context.xml file Again, if you have a file named Context.xml, it will be ignored. Files must be named

RE: Auth in Context.xml

2011-06-08 Thread Umesh Bhatt
tup connection with DB. So I want to know if there is more explanation around it's usage. Thanks, Umesh -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, June 08, 2011 10:41 PM To: Tomcat Users List Subject: RE: Auth in Context.xml &g

RE: Auth in Context.xml

2011-06-08 Thread Caldarale, Charles R
> From: Umesh Bhatt [mailto:umesh_bh...@mindtree.com] > Subject: Auth in Context.xml > In Context.xml No such file is recognized by Tomcat. Tomcat does look at files named context.xml (case matters - even on Windows). > I have set Auth="Application" There is no

Auth in Context.xml

2011-06-08 Thread Umesh Bhatt
Hi, In Context.xml I have set Auth="Application" and want to connect with DataSource programatically. I am not seeing any example of how to do it. Can you share some link related to this? Thanks, Umesh http://www.mindtree.com/email/disclaimer.html --

Auth in Context.xml

2011-06-07 Thread Umesh Bhatt
Hi, In Context.xml I have set Auth="Application" and want to connect with DataSource programatically. I am not seeing any example of how to do it. Can you share some link related to this? Thanks, Umesh http://www.mindtree.com/email/disclaimer.html ---