[jboss-jira] [JBoss JIRA] (AS7-2961) Context lookup fails during WebService constructor.

Jeremy Whiting (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 8 20:28:40 EST 2011


Context lookup fails during WebService constructor. 
----------------------------------------------------

                 Key: AS7-2961
                 URL: https://issues.jboss.org/browse/AS7-2961
             Project: Application Server 7
          Issue Type: Bug
          Components: Web Services
    Affects Versions: 7.1.0.Beta1
         Environment: OpenJDK 6 on Fedora16
            Reporter: Jeremy Whiting
            Assignee: Alessio Soldano
         Attachments: envEntryWeb.tar.gz

 During a WebService constructor call my application is making a jndi context lookup that is failing. The lookup uses java:comp/env to lookup an entry. The web service is a JEE5 spec application.

 The application defines an env-entry in the web deployment descriptor.
 It looks as though the context is not established in time for the WebSevice constructor being called.

 A sample application is provided to demonstrate the issue. When this application is deployed I am seeing the stack trace in the second attachment.



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