Java Mailing List Archive

http://www.gg3721.com/

Home » users.tapestry »

Tapestry together with CXF

Henrik Schlanbusch

2008-11-09

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi

I have run into a problem.
I have defined two servlets in my web.xml - one tapestry5
and one for apache CXF. I have defined them in a way that
I should hit the CXF whenever I run /services/* and
tapestry for all other urls.

When I try to browse the wsdls on my server, I can see
that the CXF servlet logs out that it has been hit,
but still what is returned is a tapestry page.

Can anyone shed some light on this for me?

Here is the configurations from my web.xml:

<filter>
    <filter-name>app</filter-name>
    <filter-class>org.apache.tapestry5.
spring.TapestrySpringFilter</filter-class>
  </filter>

  <filter>
    <filter-name>springSecurityFilterChain</filter-name>
    <filter-class>org.springframework.web.filter.
DelegatingFilterProxy</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>springSecurityFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <filter-mapping>
    <filter-name>app</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

<!-- SCY LOGIN SERVICE -->

  <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>org.apache.cxf.transport.
servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>

  </servlet>
  <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>

Best wishes
Henrik
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.