[ http://issues.apache.org/jira/browse/GERONIMO-2508?page=all ]
Dain Sundstrom closed GERONIMO-2508. ------------------------------------ Resolution: Fixed ENC now adds an empty "env" context if not env bindings are present in the context map. > An empty enterprise naming context does not cotain a context at java:comp/env > ----------------------------------------------------------------------------- > > Key: GERONIMO-2508 > URL: http://issues.apache.org/jira/browse/GERONIMO-2508 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: naming > Reporter: Dain Sundstrom > Assigned To: Dain Sundstrom > Priority: Blocker > > For a component without any defined enc values, the following code will throw > an exception: > new InitialContext().lookup("java:comp/env"); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira