Bill Rosenberg [
https://community.jboss.org/people/bill.rosenberg] created the discussion
"org.xmlpull.v1.XmlPullParserException: resource not found:"
To view the discussion, visit:
https://community.jboss.org/message/832403#832403
--------------------------------------------------------------
I am converting a Jboss 4.0.2 application to Jboss 7.2 which uses an XML pull library.
This all worked fine in JB4.
There is an issue where the following occurs.
I am using an Xml Pull jar named: xpp3-1.1.3_8.jar which is in the /lib directory of my
EAR deployment. It seems to be looking for org.xmlpull.mxp1.MXParserFactory which is
defined in /META-INF/services/org.xmlpull.v1.XmlPullParserFactory of the
xpp3-1.1.3_8.jar.
i can see the class org.xmlpull.mxp1.MXParserFactory in the jar xpp3-1.1.3_8.jar.
06:19:22,224 ERROR [stderr] (http-/0.0.0.0:8080-7) caused by:
org.xmlpull.v1.XmlPullParserException: resource not found:
/META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that parser implementing
XmlPull API is available; nested exception is:
06:19:22,225 ERROR [stderr] (http-/0.0.0.0:8080-7) org.xmlpull.v1.XmlPullParserException:
resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory make sure that
parser implementing XmlPull API is available
06:19:22,225 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:278)
06:19:22,225 ERROR [stderr] (http-/0.0.0.0:8080-7) at
com.protobase.utils.parser.xml.GenericXMLPullWrapper.<init>(GenericXMLPullWrapper.java)
06:19:22,226 ERROR [stderr] (http-/0.0.0.0:8080-7) at
com.protobase.utils.parser.xml.PbAPIPullHandler.<init>(PbAPIPullHandler.java)
06:19:22,226 ERROR [stderr] (http-/0.0.0.0:8080-7) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
06:19:22,226 ERROR [stderr] (http-/0.0.0.0:8080-7) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
06:19:22,226 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
06:19:22,227 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
06:19:22,227 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
06:19:22,227 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
06:19:22,227 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
06:19:22,228 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
06:19:22,228 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
06:19:22,228 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
06:19:22,228 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
06:19:22,228 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
06:19:22,229 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
06:19:22,229 ERROR [stderr] (http-/0.0.0.0:8080-7) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
06:19:22,229 ERROR [stderr] (http-/0.0.0.0:8080-7) at
java.lang.Thread.run(Thread.java:722)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/832403#832403]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]