On Today, Mark ([EMAIL PROTECTED]) wrote:
> Dunno if this is any help, but I found through experimentation that, if
> you're using the deployment approach suggested by Deepak Goel in the
> thread "ANSWER: how to use pooled connections in Orion", the parameter
> to pass to InitialContext.lookup() is, as he notes,
> "java:comp/env/d123DS", not "java:comp/env/jdbc/d123DS". That is,
> there's no "jdbc" in that String. Just pointing that out because I
> missed it at first.
>
> (Yes, it seems to take a while for messages to get out to the list!)
>
> --Mark
Mark, what version of Orion are you using? I wrote a little utility
that traverses the JNDI namespace, just looking for Context objects
and displaying what's in them. I found an env Context but it was
empty! I did eventually discover, due to a chance remark of someone
on the list, that there is in fact another Context which my scheme
did not find, namely jdbc/*. I'm feeling pretty stupid about JNDI
these days, since I can't even figure out how to search the space,
despite the spec's indication that (as best I can tell) it's a
purely heirarchical namespace!
Gary