1 Reply Latest reply on Jun 24, 2008 3:51 AM by ropalka

    jbossws-3.0.1-cxf-1.0.1 deploy

    john_hedden

      so i ran:

      ant deploy-jboss422
      and all was good. it removed old jbossws.sar and created a new one.

      now i have an ear and in the web.xml of the war i have:
       <!-- CXF -->
       <context-param>
       <param-name>contextConfigLocation</param-name>
       <param-value>WEB-INF/cxf-bean.xml</param-value>
       </context-param>
      
       <!-- Spring context -->
       <listener>
       <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
       </listener>
      


      if i dont include spring.jar and the cxf.jar in the build then jboss chokes on startup:
      java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener


      am i missing something? I thought the SAR, which has spring 2.0.6 and cxf jar would be included on the classpath. Therefore i shouldnt need to add the jars to the build classpath. That doesnt make sense to me. Then again, maybe I am completely misunderstanding the SAR thing.