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?
---
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
> 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
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
> 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
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