axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohamed Nufail (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5142) Exception when running client for quickstartjibx sample
Date Fri, 09 Sep 2011 12:07:08 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mohamed Nufail updated AXIS2-5142:
----------------------------------

    Attachment: AXIS2-5142.patch

This issue is similar to https://issues.apache.org/jira/browse/AXIS2-4690

Attached patch with the solution according to the above issue.

> Exception when running client for quickstartjibx sample
> -------------------------------------------------------
>
>                 Key: AXIS2-5142
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5142
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>            Reporter: Mohamed Nufail
>              Labels: sample
>         Attachments: AXIS2-5142.patch
>
>
> When performing "ant run.client" the following exception occurs.
> [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:1360)
>      [java] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
>      [java] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>      [java] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
>      [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.jibx.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:103)
>      [java] 	at samples.quickstart.service.jibx.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:89)
>      [java] 	at samples.quickstart.service.jibx.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:135)
>      [java] 	at samples.quickstart.clients.JiBXClient.main(JiBXClient.java:26)
>      [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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message