You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Faw <fa...@gmail.com> on 2010/11/23 22:06:04 UTC

String resource and JNDI?

Is there a way to add a string resource to JNDI in geronimo? Like the
database pools but just for string resources? 
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/String-resource-and-JNDI-tp1956441p1956441.html
Sent from the Users mailing list archive at Nabble.com.

Re: String resource and JNDI?

Posted by Ivan <xh...@gmail.com>.
If you mean the local component JNDI, define a env-entry in the deployment
plan, and you should be able to get it via lookup or resource injection, but
if you mean the global jndi, a simple resource binding gbean might be
required.

2010/11/24 Faw <fa...@gmail.com>

>
> Is there a way to add a string resource to JNDI in geronimo? Like the
> database pools but just for string resources?
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/String-resource-and-JNDI-tp1956441p1956441.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan

Re: String resource and JNDI?

Posted by Forrest Xia <fo...@gmail.com>.
No existing service in server for URL jndi resource.

But you refer to the sample app to impl. that if you want.

Forrest

On Wed, Nov 24, 2010 at 5:06 AM, Faw <fa...@gmail.com> wrote:

>
> Is there a way to add a string resource to JNDI in geronimo? Like the
> database pools but just for string resources?
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/String-resource-and-JNDI-tp1956441p1956441.html
> Sent from the Users mailing list archive at Nabble.com.
>