Urciolo, Kevin wrote:
        <servlet>
                <servlet-name>context</servlet-name>
                <servlet-class>
                        org.springframework.web.context.ContextLoaderServlet
                </servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>
[...]
    <listener>
        <listener-class>
            org.springframework.web.context.ContextLoaderListener
        </listener-class>
    </listener>

ContextLoaderServlet and ContextLoaderListener do the same job - you only want one or the other, not both, and the Spring docs prefer the listener. I wouldn't be surprised if you get problems when you use both, with the context being initialized twice or something...

http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#context-create

Also, do you have the required imports in your Spring context file?

  <import resource="classpath:META-INF/cxf/cxf.xml" />
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
  <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

Ian

--
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to