Thats what I thought as well.
If I pass through java:/comp/env/stuDB or /comp/env/stuDB then
it still complains about comp/env/stuDB.
I need to get some feedback from TOPLink. I think that they
are doing something funny. Ill get back later or early next
week with more info. Im only in work for another hour or so.
Rickard �berg wrote:
>
> Hi!
>
> Stuart Barlow wrote:
> > Thanks for the help as I seem to have resolved all the jBoss
> > problems. I think that jBoss was working all along.
> > As allways. :-)
> >
> > When I search the java:/comp/env space I can see the following.
> > context Name: stuDB className: javax.naming.LinkRef
> > Which I think is good. Apart from the fact that the className is
> > LinkRef and not DataSource?
>
> Which is as it should be. The link points to a DataSource. If you were
> to lookup this name you would get a DataSource.
>
> > The problem arises when I inform TOPLink that either
> > java:/comp/env/stuDB or /comp/env/stuDB is the JNDI
> > bound DataSource to use. TOPLink tells me:
> >
> > EXCEPTION DESCRIPTION: Cannot acquire DataSource: comp/env/stuDB
> > javax.naming.InvalidNameException: Not a compound name: comp/env/stuDB
> >
> > I have informed TOPLink of this and am awaiting a response?
>
> Shouldn't the name be java: prefixed?
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]