`

Websphere CXF冲突问题

    博客分类:
  • SOA
阅读更多

最近在WAS上应用CXF实现WebService

发布的时候报了个错误

 

ConfigurationContext:javax.xml.ws.WebServiceException: Validation error: This is a Provider that does not specify a valid Provider interface.   Implementation class: org.apache.cxf.js.rhino.DOMPayloadProvider


00000028 WASAxis2Compo E   WSWS7007E: 由于以下错误,无法正确地装入 SAICMOTOR.EPWeb.war 应用程序模块:javax.xml.ws.WebServiceException: Validation error: This is a Provider that does not specify a valid Provider interface.   Implementation class: org.apache.cxf.js.rhino.DOMPayloadProvider

 

看字面意思是提供了不正确的cxf provider

 

解决方法:

现在发现通过设置was jvm的参数可以解决这个问题,设置方法为:
进入was控制台,点击:应用程序服务器 > server1 > 进程定义 > Java 虚拟机 > 定制属性,新建一个定制属性:
名称:com.ibm.websphere.webservices.DisableIBMJAXWSEngine
值:true

重启服务器。

 

 

分享到:
评论
1 楼 diystyle 2010-09-16  
,这种解决方式试用一下

相关推荐

Global site tag (gtag.js) - Google Analytics