geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Bind String constant to JNDI name
Date Fri, 24 Aug 2007 15:58:46 GMT

On Aug 24, 2007, at 7:07 AM, amelumad wrote:

>
> I need to bind a String constant to a JNDI name.  This constant  
> will be
> accessed from a WAR module deployed on Geronimo 1.1.  I tried to use
> resource references in my deployment plan but either the binding  
> does not
> work or I am not using the correct context / name when trying to  
> access it
> hence I get JNDINamingException: Name not found.
>
> The online documentation mainly concentrates on binding DB, EJBs  
> and JMS
> resources.
>
> Could somebody clarify how can I resolve this issue.

that would be an env-entry in your web-app.xml

thanks
david jencks

>
> Thanks in advance.
> -- 
> View this message in context: http://www.nabble.com/Bind-String- 
> constant-to-JNDI-name-tf4323805s134.html#a12313147
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message