May be you have defined at a wrong place your resource in your
server.xml file.
Fred.
> "Jacquet, Frederic" wrote:
>
> I have got this error
> Name java:comp is not bound in this Context
>
> When I try the following code :
> try {
> Context initCtx = new InitialCon
Title: RE: Datasources context ?
I put in in my application context :
reloadable="true">
prefix="localhost_feedback." suffix=".log"
timestamp="true"/&
> I have got this error
> Name java:comp is not bound in this Context
>
> When I try the following code :
> try {
> Context initCtx = new InitialContext();
> Context envCtx = (Context) initCtx.lookup("java:comp/env");
> DataSource ds = (DataSource) envC
Title: RE: Datasources context ?
In fact I just reading the JNDI Howto and try to set up the thing for the very first time for JDBC access
Someone (Mark) seems to have the same kind of problem with oracle ;(
Where can I find a working test sample ?
-Original Message-
From: Remy
> find a working test sample ?
-Original Message-
>From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 15, 2002 6:47 PM
>To: Tomcat Users List
>Subject: Re: Datasources context ?
> > I have got this error
>> Name java:comp is no
p the thing
for
> >the very first time for JDBC access Someone (Mark) seems to have the
same
> >kind of problem with oracle ;(
> > find a working test sample ?
>
> -Original Message-
> >From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, Feb