geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-2508) An empty enterprise naming context does not cotain a context at java:comp/env
Date Thu, 19 Oct 2006 22:46:35 GMT
     [ 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

        

Mime
View raw message