Hopefully you are looking up in-VM?  I think DataSources are only bound
inside
the VM.  So you could not do this lookup from a client.

"Day, Jem BGI WAC" wrote:

> Hi,
>
>   [Running jBoss-2.0 FINAL - with no code changes]
>
>   I've configured a DbPool in jBoss and the log states that its bound
(snip
> from log)
>
> [Charter] XA Connection pool Charter bound to java:/Charter
>
>   However, when i try and lookup the name i get a 'NameNotFound' - not
bound
>   exception.
>
> javax.naming.NameNotFoundException: Charter not bound
>
>   I feel in my bones that i'm doing something really stupid, i've been
> straw-clutching
>   and tried looking up "Charter", "java:Charter", "java:/Charter" and they
> all fail
>   in the same way.
>
>   Can anybody point me in the right direction and/or tell me if it's
> possible to turn
>   on detailed tracing in the NamingService so that i can see what's
> happening.
>
> Thanks in advance
>
> ----------------------------------------
> Jem Day
> IT Architecture
> Barclays Global Investors
>
> [EMAIL PROTECTED]
> http://www.barclaysglobal.com
> http://www.ishares.com
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to