Axis2
  1. Axis2
  2. AXIS2-5148

Exception occurs when running client for quickstartxmlbeans sample

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7.0
    • Component/s: samples
    • Labels:

      Description

      [java] javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
      [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:597)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [java] at org.apache.tools.ant.Task.perform(Task.java:348)
      [java] at org.apache.tools.ant.Target.execute(Target.java:390)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:411)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
      [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
      [java] at org.apache.tools.ant.Main.runBuild(Main.java:801)
      [java] at org.apache.tools.ant.Main.startAnt(Main.java:218)
      [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      [java] Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
      [java] at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
      [java] at org.apache.axis2.util.XMLUtils.getDOMFactory(XMLUtils.java:129)
      [java] at org.apache.axis2.util.XMLUtils.<clinit>(XMLUtils.java:73)
      [java] at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
      [java] at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:89)
      [java] at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
      [java] at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
      [java] at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
      [java] at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
      [java] at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
      [java] at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:144)
      [java] at samples.quickstart.service.xmlbeans.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:103)
      [java] at samples.quickstart.service.xmlbeans.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:89)
      [java] at samples.quickstart.service.xmlbeans.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:135)
      [java] at samples.quickstart.clients.XMLBEANSClient.main(XMLBEANSClient.java:30)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:597)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
      [java] ... 20 more
      [java] Java Result: -1

      1. AXIS2-5148.patch
        0.6 kB
        Malith Dhanushka

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Malith Dhanushka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development