最近在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
重启服务器。
分享到:
相关推荐
在websphere8.5 下部署含有CXFwebservice的war包无法正常启动,...归根结底原因不是找不到类,而是发布后war下的jar与websphere自身平台下的jar冲突了,要解决此问题就要通过在websphere下建立共享库来根除,可参考附件
CXF是一个很好用的web service框架,但是部署在WebSphere上容易出现问题,这是收集到的解决这些问题的方法。
NULL 博文链接:https://jie66989.iteye.com/blog/1700437
inux 下 Websphere启动报端口冲突问题,提示9080端口占用,可是was的进程已不存在。
WebSphere Aplication Servic&Portal学习资料/cxf学习资料 超值
websphere cpu性能问题 文档
webSphere指南webSphere指南webSphere指南webSphere指南webSphere指南
Websphere 中生成日志问题
部署cxf服务到WebSphere7.0的步骤
websphere常见问题及解决办法 如 Error 404: SRVE0190E JSPG0049E
websphere设计
WebSphere
应用移植WebSphere问题列表: 往数据库插入数据时,有时候可以,有时失败,报错java.lang.NullPointerException oracle.jdbc.dbaccess.DBData.clearItem(DBData.java:431) 在websphere通过getClassLoader().get...
websphere mq 7.1 通道授权问题解决办法