DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28607>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28607 Unable to read Environment entries specified in GlobalNamingResources Summary: Unable to read Environment entries specified in GlobalNamingResources Product: Tomcat 5 Version: 5.0.19 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I use standard code for reading Environment entries, namely: either this: Context context= new InitialContext(); NamingEnumeration enum = context.list("java:comp/env"); while (enum.hasMore( )) out.println(enum.next() ); or this: Context context= new InitialContext(); String value=context.list("java:comp/env/myvalue"); I accessing entries from JSP pages and from a servlet (primarily from JSP). I have verified that environment entries defined in a context element or in web.xml can be read without any problem. I tried to find this bug but was unabled to. Sorry if I missed it or if it's not a bug. I used default environemnt entry for GlobalNamingResources (simpleValue). Admin web application can still see these entries but it seems that these entries are read from MBean server --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]