tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28607] New: - Unable to read Environment entries specified in GlobalNamingResources
Date Mon, 26 Apr 2004 19:01:14 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: gverig@yahoo.com


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message