开发者

JAXB marshalling failed: "null" error when running an application on websphere. Same application runs fine on Tomcat

开发者 https://www.devze.com 2023-03-16 18:35 出处:网络
I have a web application containing a servlet which runs fine on Apache Tomcat. However, when I deploy the war file on Websphere Developer 开发者_StackOverflow中文版Edition 8, I get the following erro

I have a web application containing a servlet which runs fine on Apache Tomcat. However, when I deploy the war file on Websphere Developer 开发者_StackOverflow中文版Edition 8, I get the following error when the servlet gets executed.

  E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught 
service() exception root cause DfsDownloadServiceServlet: javax.servlet.ServletException:
com.emc.documentum.fs.rt.ServiceInvocationRuntimeException:
com.emc.documentum.fs.rt.ServiceInvocationRuntimeException: JAXB marshalling failed: 
"null". at com.company.dfs.download.DfsDownloadServiceServlet.doPost(DfsDownloadServiceServlet.java:158)

Can anyone give any pointers as to why I am getting this error.

Thanks


Did you check if there are the same libraries in different versions in your warfile or maybe provided by websphere.

I had the problem as well, the war file would run on tomcat without problems, but on websphere it didnt run.

I searched and found some libraries which were there twice in different versions. Looks like the classloader of Tomcat and Websphere have different loading orders.

Maybe that solves your problem

0

精彩评论

暂无评论...
验证码 换一张
取 消