Can be an old xerces library in the classpath or that woodstox is missing from tomee - shouldnt. In any case a bad classloading setup either at JVM level or container level
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-06-27 15:57 GMT+02:00 Rourke <[email protected]>: > I am using your suggestions to fix the error but in my initial project > instead of the test project. By any chance do you know what the cause of > this can be? > > WARNING - Unable to add the resource at > > [/WEB-INF/classes/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration] > to the cache because there was insufficient free space available after > evicting expired cache entries - consider increasing the maximum size of > the > cache > *** SEVERE - Error deploying CXF webservice for servlet wsop > java.lang.ClassCastException: > org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast > to > org.apache.xerces.xni.parser.XMLParserConfiguration > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown > Source) > at > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown > Source) > at > > com.sun.xml.internal.txw2.output.DomSerializer.<init>(DomSerializer.java:69) > > I think this is the cause of the HTTP 500 I am getting: > javax.servlet.ServletException: Class com.ex.webservices.wsop is not a > Servlet > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44) > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/TomEE-and-Web-Services-tp4679025p4679087.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
