You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org> on 2006/10/19 23:18:36 UTC
[jira] Created: (GERONIMO-2508) An empty enterprise naming context
does not cotain a context at java:comp/env
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
[jira] Closed: (GERONIMO-2508) An empty enterprise naming context
does not cotain a context at java:comp/env
Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
[ 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