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
精彩评论