RE: Filter.init and JNDI resources

2004-04-07 Thread Mike Curwen
I've been successful looking up a JNDI datasource from filter init(). I use Tomcat 4.1.29 on slackware9. -Original Message- From: Sandy McArthur [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 8:57 AM To: [EMAIL PROTECTED] Subject: Filter.init and JNDI resources I

RE: Filter.init and JNDI resources

2004-04-07 Thread Shapira, Yoav
Hi, Me too, though I haven't done it in a while. What tomcat version are you using? I just wrote a Filter that uses a JNDI provided datasource. When I try to access that datasource from the Filter.init(...) I get a exception: Caused by: javax.naming.NamingException: Cannot create resource

Re: Filter.init and JNDI resources

2004-04-07 Thread Sandy McArthur
On Apr 7, 2004, at 10:40 AM, Shapira, Yoav wrote: Me too, though I haven't done it in a while. What tomcat version are you using? Tomcat 5.0.19 on Mac OS X. I just wrote a Filter that uses a JNDI provided datasource. When I try to access that datasource from the Filter.init(...) I get a