Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2961

Context lookup fails during WebService constructor.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR1
    • 7.1.0.Beta1
    • Web Services
    • None
    • Hide

      Build the provided web application using Maven. The application supports using arquillian to load and deploy the application.

      When the application is deployed a stack trace will be displayed.

      Show
      Build the provided web application using Maven. The application supports using arquillian to load and deploy the application. When the application is deployed a stack trace will be displayed.
    • Hide

      None.

      Show
      None.
    • Low

      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.

              ropalka Richard Opalka
              jwhiting@redhat.com Jeremy Whiting (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: