Mantis - Resin
Viewing Issue Advanced Details
5825 block always 11-12-14 23:43 11-14-14 08:43
balaiitm  
ferg  
normal  
closed 4.0.41  
fixed  
none    
none 4.0.42  
0005825: Servlet mapping protocol soap, rest are throwing exception "Classnot found exception"
Exception details:

WEB-INF/resin-web.xml:13: com.caucho.config.cfg.BeanConfig.setType(): com.caucho.config.Config
RuntimeException: java.lang.ClassNotFoundException: soap (in EnvironmentClassLoader[web-app:production/webapp/default/HelloWe
bServiceTest,NEW])

                       11: <servlet-mapping url-pattern="/hello/hessian/*"
                       12: servlet-class="example.HelloServiceImpl">
                       13: <protocol type="soap"></protocol>
                       14:
                       15: </servlet-mapping>
resin-web.xml


<web-app xmlns="http://caucho.com/ns/resin"> [^]
 <servlet-mapping url-pattern="/hello/soap/*"
                   jndi-name="service/HelloService"
                   servlet-class="example.HelloServiceImpl">
    <protocol type="soap"/>
  </servlet-mapping>
 
  <servlet-mapping url-pattern="/hello/hessian/*"
                   servlet-class="example.HelloServiceImpl">
                   <protocol type="soap"></protocol>
    
  </servlet-mapping>

  <servlet-mapping url-pattern="/hello/rest/*"
                   servlet-class="example.HelloServiceImpl">
    <protocol type="rest"/>
  </servlet-mapping>

  <web-service-client jndi-name="hessian/HelloService">
    <url>hessian:${webApp.url}/hello/hessian/</url>
    <interface>example.HelloService</interface>
  </web-service-client>
  
  <web-service-client jndi-name="rest/HelloService">
    <url>rest:${webApp.url}/hello/rest/</url>
    <interface>example.HelloService</interface>
  </web-service-client>
  
  <web-service-client jndi-name="soap/HelloService">
    <url>soap:${webApp.url}/hello/soap/</url>
    <interface>example.HelloService</interface>
  </web-service-client>
</web-app>

Notes
(0006578)
ferg   
11-14-14 08:43   
com.caucho.remote.server.ProtocolServletFactory was missing for cxf plugin.