On Fri, 2003-10-24 at 18:10, Stefan Groschupf wrote:
> Hi,
> 
> I have problems to retrive environment entries.
> 
> I tried:
> 
> *Context environment = (Context) initial.lookup("java:comp/env");
> String realm = (String) environment.lookup("systemRealm");
> *
> I had setup the entry via x doclet in a other bean :
> 
>  * @ejb:env-entry name="systemRealm"
>  *      value="${security.realm}"
>  
> Is the access to a environement entry limited to a the same bean?
> 

Yes,

Regards,
Adrian

> The the jndi view shows me that the entry  
> "*java:comp/env/**systemRealm" exists.
> 
> Any ideas where the problem could be?
> 
> Thanks for any hints
> Stefan
> *
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to