axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Lundberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1214) Context envContext = (Context)initContext.lookup("java:comp/env") throws NameNotFoundException
Date Thu, 21 Sep 2006 22:00:22 GMT
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


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


Mime
View raw message