Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-765

POJO webservices broken in Tomcat initialized with OpenEJBListener

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 3.0
    • tomee, webservices
    • None

    Description

      WsService is invoked after an application completes Assembler.createApplication(). For POJO webservices to work, the WsService must be able to locate WebDeploymentInfo, but the WebDeploymentInfo is not registered until after Assembler.createApplication() return.

      Further, WsService must be able to locate the Tomcat servlet Wrapper for the POJO webservice to set the servlet's webservice container. Assembler.createApplication() is executed in response to StandardContext start event, but no servlet wrappers are loaded until after the StandardContext after-start event. This means that the WsService can not initialize the POJO webservice container ref in the servlet.

      To reproduce run installer, reboot, load ejb-examples.war and load http://localhost:8080/ejb-examples/webservice

      Attachments

        Activity

          People

            dain Dain Sundstrom
            dain Dain Sundstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: