Thread: pgsql and JNDI failures

pgsql and JNDI failures

From
Nick Johnson
Date:
Greetings,

I've noticed in searching the archives that a number of people have
reported this problem, which is sort-of comforting because I'm having it
too.

I've set up all the required config to have a jdbc resource available via
JNDI, and there's no problem looking up the resource.  The problem comes
in when retrieving a DataSource object, which exists but is always null.
Somehow this did actualy work for me on one particular day, but it's never
worked since, and for the life of me I can't figure out what was different
that day.

Has anyone solved this problem or is there a known work-around?

   Nick

--
"The aptly-named morons.org is an obscenity-laced screed..."
    -- Robert P. Lockwood, Catholic League director of research
Nick Johnson, version 2.0                     http://www.spatula.net/


Re: pgsql and JNDI failures

From
Dave Cramer
Date:
Nick,

Can you send me a test case which demonstrates the problem, and I will
have a look at it.

Dave
On Sat, 2002-04-20 at 11:48, Nick Johnson wrote:
> Greetings,
>
> I've noticed in searching the archives that a number of people have
> reported this problem, which is sort-of comforting because I'm having it
> too.
>
> I've set up all the required config to have a jdbc resource available via
> JNDI, and there's no problem looking up the resource.  The problem comes
> in when retrieving a DataSource object, which exists but is always null.
> Somehow this did actualy work for me on one particular day, but it's never
> worked since, and for the life of me I can't figure out what was different
> that day.
>
> Has anyone solved this problem or is there a known work-around?
>
>    Nick
>
> --
> "The aptly-named morons.org is an obscenity-laced screed..."
>     -- Robert P. Lockwood, Catholic League director of research
> Nick Johnson, version 2.0                     http://www.spatula.net/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>