Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes javax.xml.parsers.Factory ConfigurationError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "javax.xml.parsers.Factory ConfigurationError" Watch "javax.xml.parsers.Factory ConfigurationError" New topic
Author

javax.xml.parsers.Factory ConfigurationError

senthilkumar manickam
Greenhorn

Joined: Jan 24, 2006
Posts: 1
I am using sun one webserver and axis . when i run the code i got the following error. How can it be corrected.

I have set the system properties in the jvm12.conf as javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImp
javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

and checked these values by logging it logfile as well


failure (14099): Internal error: Unexpected error condition thrown (javax.xml.parsers.FactoryConfigurationError: The specified class "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" is not instance of "javax.xml.parsers.SAXParserFactory",The specified class "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" is not instance of "javax.xml.parsers.SAXParserFactory"), stack: javax.xml.parsers.FactoryConfigurationError: The specified class "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" is not instance of "javax.xml.parsers.SAXParserFactory"
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:168)
at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:209)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:110)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:103)
at org.apache.axis.client.Service.<init>(Service.java:112)
at sokol.OUK_ENDUSER_WEB_SS_ServicesServiceLocator.<init>(OUK_ENDUSER_WEB_SS_ServicesServiceLocator.java:12)
at com.sample.code.webmethods.WebMethodsCall.getResponse(WebMethodsCall.java:144)
at com.sample.code.webmethods.WebMethodsCall.getPaygPin(WebMethodsCall.java:199)
at com.sample.code.process.Command.getJustTalkPin(Command.java:179)
at com.sample.code.process.SignInCommand.execute(SignInCommand.java:100)
at com.sample.code.process.WapProcess.handle(WapProcess.java:120)
at com.sample.code.process.WapProcess.updateContext(WapProcess.java:101)
at com.sample.code.device.DeviceType.getTemplateName(DeviceType.java:118)
at com.sample.code.servlet.LaunchPadServlet.handleRequest(LaunchPadServlet.java:119)
at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:372)
at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:333)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:483)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.xml.parsers.Factory ConfigurationError