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?

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

Reply via email to