Re: Datasources context ?

2002-02-15 Thread Frederic Monclar
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

RE: Datasources context ?

2002-02-15 Thread Jacquet, Frederic
Title: RE: Datasources context ? I put in in my application context :   reloadable="true">        prefix="localhost_feedback." suffix=".log"           timestamp="true"/&

Re: Datasources context ?

2002-02-15 Thread Remy Maucherat
> 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

RE: Datasources context ?

2002-02-16 Thread Jacquet, Frederic
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

RE: Datasources context ?

2002-02-17 Thread Mark
> 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

Re: Datasources context ?

2002-03-04 Thread tsmets
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