You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark <ma...@bellsouth.net> on 2002/02/15 22:31:25 UTC
Oracle JNDI DataSource example?
Does anyone have a working example of an Oracle DataSource using server.xml
<ResourceParams> and web.xml <resource-ref> under TC 4.0.1? I've looked at
Tomcat JNDI how-to, examples, archives, etc. to no avail. I'm currently
getting a NameNotFoundException "Name jdbc is not bound in this Context",
even though my web.xml and server.xml are similar to the how-to examples.
I've had an Oracle pooled datasource working using JNDI and file-system
lookup via RefFSContextFactory, but I need to get away from that and use
server.xml and web.xml instead.
If anyone wouldn't mind sharing snippets of their web.xml, server.xml and
Java code I'd appreciate it. Thought I'd ask before posting everything I'm
flailing away at now.
Thanks
Mark
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Oracle JNDI DataSource example?
Posted by "remy.menetrieux" <re...@pixelpark.com>.
I have the same problem and i delete resource-ref in my web.xml and it
works now ...
If you find an other solution could you send me a mail ??
Remy
Mark wrote:
>Does anyone have a working example of an Oracle DataSource using server.xml
><ResourceParams> and web.xml <resource-ref> under TC 4.0.1? I've looked at
>Tomcat JNDI how-to, examples, archives, etc. to no avail. I'm currently
>getting a NameNotFoundException "Name jdbc is not bound in this Context",
>even though my web.xml and server.xml are similar to the how-to examples.
>
>I've had an Oracle pooled datasource working using JNDI and file-system
>lookup via RefFSContextFactory, but I need to get away from that and use
>server.xml and web.xml instead.
>
>If anyone wouldn't mind sharing snippets of their web.xml, server.xml and
>Java code I'd appreciate it. Thought I'd ask before posting everything I'm
>flailing away at now.
>
>Thanks
>Mark
>
>
>--
>To unsubscribe: <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>