Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.xml.parsers.Factory ConfigurationError

 
senthilkumar manickam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic