axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Lundberg (JIRA)" <>
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
             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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message