[ 
https://issues.apache.org/activemq/browse/SM-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BenoƮt Clouet updated SM-1756:
------------------------------

    Attachment: SM-1756.patch

the trick is to get the context loaded after the CXFManagedServlet. So use the 
alternative to the ContextLoaderListener ie. the ContextLoaderServlet.

This involves a slight modification of the web.xml. You have to comment out
:
<listener>
 
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
and to replace this by the servlet context loader equivalent :
<servlet>
  <servlet-name>context</servlet-name>

 
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
  <load-on-startup>3</load-on-startup>
</servlet>

> add CXFManagedServlet to apache-servicemix-web to enable servicemix-cxf-bc 
> endpoint deploy into servlet container without starting jetty
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1756
>                 URL: https://issues.apache.org/activemq/browse/SM-1756
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: servicemix-cxf-bc, servicemix-web-console
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.3.1, 3.2.4
>
>         Attachments: SM-1756.patch
>
>
> we need add CXFManagedServlet in the web.xml to replace the http transport 
> with cxf servlet transport.

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

Reply via email to