You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/09/23 01:41:22 UTC

[jira] Resolved: (AXIS2-1214) Context envContext = (Context)initContext.lookup("java:comp/env") throws NameNotFoundException

     [ http://issues.apache.org/jira/browse/AXIS2-1214?page=all ]

Davanum Srinivas resolved AXIS2-1214.
-------------------------------------

    Resolution: Fixed

Fixed in SVN. Please try the nightly.

http://svn.apache.org/viewvc?view=rev&revision=449127

thanks,
dims

> Context envContext = (Context)initContext.lookup("java:comp/env")  throws NameNotFoundException
> -----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1214
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1214
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0
>         Environment: axis2 nightly build from 31 August 
> tomcat 5.5.17 
>            Reporter: Johan Lundberg
>            Priority: Blocker
>
> I am using Axis2 nightly build from 31 August and cannot lookup the java:comp/env context from a created InitialContext created inside a class in the aar-file
> When I do this:
> Context initContext = new InitialContext();
> Context envContext = (Context)initContext.lookup("java:comp/env");
> I get a NameNotFoundException.
> By the way, I am using the distributed axis2.war in tomcat 5.5.17 

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org