Apache CXF 与 spring 显示“立即展开”例外

发布于 2024-10-01 08:38:15 字数 384 浏览 2 评论 0原文

我在 Web 应用程序中使用 Apache CXF 和 spring,并将其部署在 Websphere 6.1 上,并且工作正常,在迁移到 Websphere 7.0 时,我们在调用 Webservice 部分时遇到一些问题。

例外说

org.apache.cxf.phase.PhaseInterceptorChain doIntercept 应用程序已引发异常,现在展开: serverErrororg.apache.cxf.phase.PhaseInterceptorChain doIntercept 应用程序已引发异常,现在展开:[11/9/10 21:08:04 :197 GMT+05:30]"

如果您能帮助解决这个问题,那就太好了。

I am using Apache CXF with spring in a web application and its deployed on Websphere 6.1 and it works fine, While migrating to Websphere 7.0, we are getting some issues when calling the webservice part.

The Exception says

org.apache.cxf.phase.PhaseInterceptorChain doIntercept Application has thrown exception, unwinding now: serverErrororg.apache.cxf.phase.PhaseInterceptorChain doIntercept Application has thrown exception, unwinding now:[11/9/10 21:08:04:197 GMT+05:30]"

It will be great if you could help in fixing this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

2024-10-08 08:38:15

最后我弄清楚了,这是由于websphere的jaxws运行时,我们从应用程序库中删除了以下jar,并在服务器杠杆类加载器中将父类加载设置为最后,并且它起作用了。

罐子被删除:
XML模式
xml-api
网络服务 API
斯塔克斯API
stax-util 工具
jaxb-xjc - 如果有任何 jaxp 相关的 jar,也请删除...

我们也遇到了 spring 版本的问题,并升级了与 spring 相关的 jar。

Finally I was able to figure it out, it's due to the websphere's jaxws runtime, we removed following jars from the application library and set parent class loading last in server lever class loader, and it worked.

jars removed:
xml-schema
xml-api
webservices-api
stax-api
stax-util
jaxb-xjc - also remove if there are any jaxp related jars...

we also had problem with spring version and upgraded the jars related to spring..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文