Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.xml.parsers.Factory Configuration Error  RSS feed

 
shelly sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tomcat and axis . When i tried to run a example from samples i got the following error. How can it be corrected.
C:\axis-1_1>java org.apache.axis.client.AdminClient -lhttp://localhost:8010/axis
/services/AdminService samples/stock/deploy.wsdd
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:230)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:110)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvid
er.java:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88)
at org.apache.axis.client.Service.getAxisClient(Service.java:143)
at org.apache.axis.client.Service.<init>(Service.java:152)
at org.apache.axis.client.AdminClient.<init>(AdminClient.java:157)
at org.apache.axis.client.AdminClient.main(AdminClient.java:375)
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shelly,
Maybe you could check if the xerces.jar is in your classpath.
Sounds like org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be found, while it is a Xerces component.
HTH
 
shelly sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jean,
Thanks for you suggestion. I did as you said and now my problem is solved.
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by shelly sharma:
hi Jean,
Thanks for you suggestion. I did as you said and now my problem is solved.

U're welcome Shelly.
Do you still have other problems with AXIS now ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!