You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Dain Sundstrom (JIRA)" <ji...@apache.org> on 2008/03/05 21:47:40 UTC

[jira] Created: (OPENEJB-765) POJO webservices broken in Tomcat initialized with OpenEJBListener

POJO webservices broken in Tomcat initialized with OpenEJBListener
------------------------------------------------------------------

                 Key: OPENEJB-765
                 URL: https://issues.apache.org/jira/browse/OPENEJB-765
             Project: OpenEJB
          Issue Type: Bug
          Components: tomcat, webservices
            Reporter: Dain Sundstrom
            Assignee: Dain Sundstrom
            Priority: Critical
             Fix For: 3.0


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OPENEJB-765) POJO webservices broken in Tomcat initialized with OpenEJBListener

Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dain Sundstrom closed OPENEJB-765.
----------------------------------

    Resolution: Fixed

Committed revision 634182.



> POJO webservices broken in Tomcat initialized with OpenEJBListener
> ------------------------------------------------------------------
>
>                 Key: OPENEJB-765
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-765
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: tomcat, webservices
>            Reporter: Dain Sundstrom
>            Assignee: Dain Sundstrom
>            Priority: Critical
>             Fix For: 3.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.