RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shilpa Nalgonda
I have defined the resource in web.xml as below... and also defined the datasouce resources under context in server.xml... even then it does not help.. I get the same error org.apache.jasper.JasperException: Name prototypedb is not bound in this Context Web.xml

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
I believe if you're defining your DataSource in the Context directly, not in the Global Naming Resources, then you do not need the resource-ref in web.xml, nor the ResourceLink mentioned below. What code are you using to get to your connection? The JNDI lookup should be to

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shilpa Nalgonda
); conn = ds.getConnection(); -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:07 AM To: Tomcat Users List Subject: Re: Tomcat Datasource -- please help.. I believe if you're defining your DataSource in the Context directly

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
(jdbc/prototypedb); conn = ds.getConnection(); -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:07 AM To: Tomcat Users List Subject: Re: Tomcat Datasource -- please help.. I believe if you're defining your DataSource

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shilpa Nalgonda
Users List Subject: Re: Tomcat Datasource -- please help.. I believe that should work. I'm out of ideas ... it seems strange that the Exception you're getting is complaining about prototypedb not being bound, instead of jdbc not being bound ... usually that comes first. That's the only thing

RE: Tomcat Datasource -- please help..

2004-07-27 Thread Shapira, Yoav
AM To: Tomcat Users List Subject: RE: Tomcat Datasource -- please help.. As you have said i am getting jdbc not bound exception only. But at one point i changed the env lookup to point to prototypedb instead of jdbc/prototypedb.. so thats when i get prototypedb not bound error... Anyway do you

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
. which is correct way... -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:29 AM To: Tomcat Users List Subject: Re: Tomcat Datasource -- please help.. I believe that should work. I'm out of ideas ... it seems strange that the Exception you're getting

Re: Tomcat Datasource -- please help..

2004-07-27 Thread David Smith
Hi. I see a couple of things different from my working setup in your setup below. First: You need a tag as below just before the ResourceParams.../ResourceParams block: Resource name=jdbc/prototypedb auth=container type=javax.sql.DataSource/ Second, and this might not be a show stopper,