[jboss-jira] [JBoss JIRA] (AS7-2922) If nothing is bound to java:comp/env the java:comp/env context cannot be looked up

Stuart Douglas (Resolved) (JIRA) jira-events at lists.jboss.org
Mon Jan 2 22:39:09 EST 2012


     [ https://issues.jboss.org/browse/AS7-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved AS7-2922.
---------------------------------

      Assignee: Stuart Douglas  (was: John Bailey)
    Resolution: Done

    
> If nothing is bound to java:comp/env the java:comp/env context cannot be looked up
> ----------------------------------------------------------------------------------
>
>                 Key: AS7-2922
>                 URL: https://issues.jboss.org/browse/AS7-2922
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Naming
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>             Fix For: 7.1.0.Final
>
>
> If nothing is bound to java:comp/env the following lookup will fail
> Context ctx = (Context) nctx.lookup("java:comp/env");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list