Re: Can't create jdbc resource in context.xml

2007-04-25 Thread Martin Gainty
sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Glen Vermeylen" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, April 25, 2007 10:07 AM Subject: Re: Can't crea

Re: Can't create jdbc resource in context.xml

2007-04-25 Thread Glen Vermeylen
It also doesn't work with the resource-ref element. The error was "" javax.naming.NameNotFoundException: Name jdbc is not bound in this Context"", but I was able to lookup the jdbc/sandwiches datasource using programmatic jndi lookup. Weird part is that everything works fine if I move the datasour

Re: Can't create jdbc resource in context.xml

2007-04-23 Thread Rashmi Rubdi
Hi Glen, I compared your configuration with the standard configuration mentioned http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html and found a few differences. Please see my replies to your post below: On 4/20/07, Glen Vermeylen <[EMAIL PROTECTED]> wrote: Hello every

Re: Can't create jdbc resource in context.xml

2007-04-23 Thread Glen Vermeylen
Thanks for the response, We use tomcat 5.5. -Glen 2007/4/20, Rashmi Rubdi <[EMAIL PROTECTED]>: Hello Glen, What is the version of Tomcat? I'm asking for the version because the JNDI Datasource configuration is different for different version of Tomcat. The one for 4.x is different from the o

Re: Can't create jdbc resource in context.xml

2007-04-20 Thread Rashmi Rubdi
Hello Glen, What is the version of Tomcat? I'm asking for the version because the JNDI Datasource configuration is different for different version of Tomcat. The one for 4.x is different from the one for 6.x for example. -Rashmi --

Can't create jdbc resource in context.xml

2007-04-20 Thread Glen Vermeylen
Hello everybody, I'm trying to move a global jdbc resource out of server.xml so it is application specific. Following is the server.xml (which works fine) What I did was remove the the