Re: JNDI DataSource problems..

2003-02-27 Thread Peng Tuck Kwok
It doesn't provide the JNDI resource outside the container as far as I can tell. I don't know enough about JNDI to work this out. I would have thought that a resource which is set up by the servlet container ( tomcat ) would be available outside the container? ---

JNDI DataSource problems..

2003-02-27 Thread Steven Shand
I've set up a JNDI DataSource by following the instructions in the tomcat docs how-to. The good news is that everything works fine when the application is running. However... When trying to run some tests we've written, we get the following error: javax.naming.NoInitialContextException: Need t

Re: JNDI / DataSource problems

2002-03-26 Thread Nikola Milutinovic
> Thanks - I've tried both the latest stable (which doesn't appear to contain a > DataSource implementation) and the latest dev version (which does) of the > postgres jdbc drivers. Both fail... I have both of them, but there is no DataSource implementation class. What was your download lin

Re: JNDI / DataSource problems

2002-03-26 Thread Dave Minter
Thanks - I've tried both the latest stable (which doesn't appear to contain a DataSource implementation) and the latest dev version (which does) of the postgres jdbc drivers. Both fail... I'd kind of assumed that even a completely non-existant class would still result in an instantiated DataS

Re: JNDI / DataSource problems

2002-03-25 Thread Nikola Milutinovic
> I'm having some problems initialising a DataSource object for the purposes of > connection pooling under tomcat. > > The database to which I'm trying to connect is Postgresql. The connections > work fine with the standard java.sql.* approach. Join the club. :-( > Basically when I try

JNDI / DataSource problems

2002-03-23 Thread Dave Minter
Hi, I'm having some problems initialising a DataSource object for the purposes of connection pooling under tomcat. The database to which I'm trying to connect is Postgresql. The connections work fine with the standard java.sql.* approach. Basically when I try to acquire a DataSource object, I