Error with XMLParserV2.jar and LocaleMapper
967252Jan 23 2013 — edited Feb 4 2013Hi,
I am using XMLParserV2.jar for Oracle XSQL functionality. We are migrating to 11GR2 and I am now using XMLParserV2-11.2.0.3.jar from Oracle client installation path. Also this jar is uploaded to our maven repository. When I package this jar an deploy I am getting the below error when launching application:
Jan 23, 2013 3:47:32 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [Logon] in context with path [] threw exception [Servlet execution threw an exception] with root cause
java.lang.ClassNotFoundException: oracle.i18n.util.LocaleMapper
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at oracle.xml.parser.v2.XMLReader.setEncoding(XMLReader.java:908)
at oracle.xml.parser.v2.XMLReader.checkXMLDecl(XMLReader.java:3072)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:506)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:111)
When I add orai18n-mapping.jar to the package and deploy it gives me Protocol error with XSL transformation.
But when I change the name of jar to xmlparserv2.jar instead of XMLParserV2.jar and deploy it works fine. I could not understand what the issue is. Please advise. Thanks for your help in advance.