RE: Can not load JNDI DataSource in Servlet.init()

2003-08-27 Thread Madere, Colin
for all mail readers, etc). -Original Message- From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 7:01 PM To: Tomcat Users List Subject: Re: Can not load JNDI DataSource in Servlet.init() I was making more test with this, I find that if I define the resource

Re: Can not load JNDI DataSource in Servlet.init()

2003-08-27 Thread Manolo Ramirez T.
since this list is archived and not all attachments work for all mail readers, etc). -Original Message- From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 7:01 PM To: Tomcat Users List Subject: Re: Can not load JNDI DataSource in Servlet.init() I was making

Re: Can not load JNDI DataSource in Servlet.init()

2003-08-26 Thread Peter Harrison
On Tue, 26 Aug 2003 09:04, Madere, Colin wrote: Well then it may be something else. I'm essentially doing what you are with a JNDI datasource defined in the DefaultContext with nothing in the web.xml (except to pass along the JNDI name so it's not hard-coded). It breaks for me (and a bunch

RE: Can not load JNDI DataSource in Servlet.init()

2003-08-25 Thread Madere, Colin
: Can not load JNDI DataSource in Servlet.init() Hi all, Why I can't load a JNDI resource on the init method of my servlet? there is no problem doing that in doGet() but on init() it doesn't work. the logs entry is: java.sql.SQLException: Cannot load JDBC driver class 'null' It's the same code

Re: Can not load JNDI DataSource in Servlet.init()

2003-08-25 Thread Manolo Ramirez T.
defined JNDI DataSource -Original Message- From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 10:55 PM To: Tomcat Users List Subject: Can not load JNDI DataSource in Servlet.init() Hi all, Why I can't load a JNDI resource on the init method of my servlet

RE: Can not load JNDI DataSource in Servlet.init()

2003-08-25 Thread Madere, Colin
So you are using a resource link in the DefaultContext either in server.xml or your web.xml? -Original Message- From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 1:27 PM To: Tomcat Users List Subject: Re: Can not load JNDI DataSource in Servlet.init() It's

Re: Can not load JNDI DataSource in Servlet.init()

2003-08-25 Thread Manolo Ramirez T.
PM To: Tomcat Users List Subject: Re: Can not load JNDI DataSource in Servlet.init() It's in DefaultContext, I checked the related messages, it seems like the same problem. Thanks for the answer. _ Manolo Ramirez T. Madere, Colin wrote: How is your JNDI resource configured

RE: Can not load JNDI DataSource in Servlet.init()

2003-08-25 Thread Madere, Colin
: Re: Can not load JNDI DataSource in Servlet.init() No, I'm not using a ResourceLink. _ Manolo Ramirez T. Madere, Colin wrote: So you are using a resource link in the DefaultContext either in server.xml or your web.xml? -Original Message- From: Manolo Ramirez T

Re: Can not load JNDI DataSource in Servlet.init()

2003-08-25 Thread Manolo Ramirez T.
. [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 3:50 PM To: Tomcat Users List Subject: Re: Can not load JNDI DataSource in Servlet.init() No, I'm not using a ResourceLink. _ Manolo Ramirez T. Madere, Colin wrote: So you are using a resource link in the DefaultContext

Can not load JNDI DataSource in Servlet.init()

2003-08-22 Thread Manolo Ramirez T.
Hi all, Why I can't load a JNDI resource on the init method of my servlet? there is no problem doing that in doGet() but on init() it doesn't work. the logs entry is: java.sql.SQLException: Cannot load JDBC driver class 'null' It's the same code! What I'm missing? this is my servlet code: