Hm..
Rickard �berg wrote:
> Stuart Barlow wrote:
> > So from this you can see the reason they get the InvalidName
> > exception is because they construct a CompositeName from
> > "java:comp/env/stuDB".
> >
> > Should they be constructing a CompondName?
>
> I think so, yes.
Although the *really* portable way would be to use the string as-is.
I.e. ctx.lookup("java:comp/env/stuDB"), and let the namespace decide for
itself how to create Name objects.
/Rickard
--
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]
- Re: [jBoss-User] xml descriptor and resource bindings Rickard �berg
- Re: [jBoss-User] xml descriptor and resource bindings Stuart Barlow
- RE: [jBoss-User] xml descriptor and resource bindings Tim Drury
- Re: [jBoss-User] xml descriptor and resource bindings Stuart Barlow
- Re: [jBoss-User] xml descriptor and resource bindings Rickard �berg
- Re: [jBoss-User] xml descriptor and resource bindings Stuart Barlow
- Re: [jBoss-User] xml descriptor and resource bindings Rickard �berg
- Re: [jBoss-User] xml descriptor and resource bind... Rickard �berg
- Re: [jBoss-User] xml descriptor and resource bindings Stuart Barlow
- Re: [jBoss-User] xml descriptor and resource bindings Rickard �berg
- Re: [jBoss-User] xml descriptor and resource bind... Rickard �berg
- Re: [jBoss-User] xml descriptor and resource bindings Stuart Barlow
- Re: [jBoss-User] xml descriptor and resource bindings Rickard �berg
- RE: [jBoss-User] xml descriptor and resource bindings PETIT Phillippe
