Hi, I have attached the details for you. Thanx.

On Wed, Jun 15, 2011 at 11:18 PM, Sagara Gunathunga <
[email protected]> wrote:

> Can you provide your environment and JDK version details with your
> original error trace ?
>
> Thanks !
>
> On Wed, Jun 15, 2011 at 10:22 AM, Ravindran Kanniah
> <[email protected]> wrote:
> > Hi there,
> >
> > Recently I tried axis2 1.6.0's few selected samples for the java version,
> I
> > noticed that there is a problem such as 'class not found error' with the
> > client execution in quickstartadb & quickstartaxiom. I included
> > xerces-2.6.2.jar file into AXIS2_HOME\lib to overcome this problem. I
> > suggest that this jar file should be included in future.
> >
> > Thanx & regards
> > Ravindran Kanniah
> >
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
======================================================================================================================
Environment Details:
======================================================================================================================
System Details:
Windows Vista Business - SP2
32-bit OS

C:\>java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)

C:\>javac -version
javac 1.6.0_16

C:\>echo %ANT_HOME%
C:\apache-ant-1.7.1

C:\>echo %JAVA_HOME%
C:\jdk1.6.0_16

C:\>echo %PATH%
C:\app\ravi\product\11.2.0\dbhome_1\bin;C:\apache-ant-1.7.1\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
 Files\ThinkPad\Bluetooth Software\;C:\Program Files\Intel\WiFi\bin\;c:\Program 
Files\Common Files\Lenovo;C:\Program Files\Common Files\Roxio 
Shared\10.0\DLLShared\;C:\Program Files\Common Files\Roxio 
Shared\DLLShared\;C:\Program Files\Common Files\Roxio 
Shared\DLLShared\;C:\Program Files\Common Files\Roxio 
Shared\10.0\DLLShared\;C:\Program Files\ThinkPad\ConnectUtilities\;C:\Program 
Files\Lenovo\Client Security Solution;C:\jdk1.6.0_16\bin;C:\MySQL\MySQL Server 
5.1\bin;C:\Program Files\ZipGenius 
6\;C:\apache-maven-2.2.1\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\ULTRAE~1;c:\Program
 Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\TortoiseHg\;C:\Python26;C:\MySQL\MySQL_Server_5.1\bin


======================================================================================================================
Error before including jar file:
======================================================================================================================
C:\axis2-1.6.0\samples\quickstartadb>dir
 Volume in drive C is SW_Preload
 Volume Serial Number is F435-0E63

 Directory of C:\axis2-1.6.0\samples\quickstartadb

06/15/2011  11:47 AM    <DIR>          .
06/15/2011  11:47 AM    <DIR>          ..
06/15/2011  12:31 PM    <DIR>          build
05/17/2011  04:08 PM             4,480 build.xml
05/17/2011  04:08 PM               991 README.txt
06/13/2011  06:46 PM    <DIR>          resources
06/13/2011  06:46 PM    <DIR>          src
               2 File(s)          5,471 bytes
               5 Dir(s)  112,249,233,408 bytes free

C:\axis2-1.6.0\samples\quickstartadb>ant
Buildfile: build.xml

generate.service:
   [delete] Deleting directory 
C:\axis2-1.6.0\samples\quickstartadb\build\service
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartadb\build\service
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\service\classes
     [java] Retrieving document at 
'./resources/META-INF/StockQuoteService.wsdl'.
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
     [java] log4j:WARN Please initialize the log4j system properly.
     [copy] Copying 1 file to 
C:\axis2-1.6.0\samples\quickstartadb\build\service\src\samples\quickstart\service\adb
     [copy] Copying 1 file to 
C:\axis2-1.6.0\samples\quickstartadb\build\service\resources

init:
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\service\build
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\service\build\classes
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\service\build\lib

pre.compile.test:
     [echo] Stax Availability= true
     [echo] Axis2 Availability= true

compile.src:
    [javac] Compiling 8 source files to 
C:\axis2-1.6.0\samples\quickstartadb\build\service\build\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

echo.classpath.problem:

jar.server:
     [copy] Copying 2 files to 
C:\axis2-1.6.0\samples\quickstartadb\build\service\build\classes\META-INF
      [jar] Building jar: 
C:\axis2-1.6.0\samples\quickstartadb\build\service\build\lib\StockQuoteService.aar
     [copy] Copying 1 file to C:\axis2-1.6.0\repository\services

BUILD SUCCESSFUL
Total time: 23 seconds
C:\axis2-1.6.0\samples\quickstartadb>ant run.client
Buildfile: build.xml

generate.client:
   [delete] Deleting directory C:\axis2-1.6.0\samples\quickstartadb\build\client
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartadb\build\client
     [java] Retrieving document at 
'./resources/META-INF/StockQuoteService.wsdl'.
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
     [java] log4j:WARN Please initialize the log4j system properly.
     [copy] Copying 1 file to 
C:\axis2-1.6.0\samples\quickstartadb\build\client\src\samples\quickstart\clients

init:
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartadb\build\client\build
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\classes
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\lib

pre.compile.test:
     [echo] Stax Availability= true
     [echo] Axis2 Availability= true

compile.src:
    [javac] Compiling 2 source files to 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\classes
    [javac] Note: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\src\samples\quickstart\service\adb\StockQuoteServiceStub.java
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar.client:
      [jar] Building jar: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\lib\StockQuoteService-test-client.jar

run.client:
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.description.AxisOperation).
     [java] log4j:WARN Please initialize the log4j system properly.
     [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:764)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java]     at sun.reflect.GeneratedMethodAccessor1.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:357)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
     [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.adb.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:103)
     [java]     at 
samples.quickstart.service.adb.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:89)
     [java]     at 
samples.quickstart.service.adb.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:135)
     [java]     at samples.quickstart.clients.ADBClient.main(ADBClient.java:25)
     [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] --- Nested Exception ---
     [java] 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.adb.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:103)
     [java]     at 
samples.quickstart.service.adb.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:89)
     [java]     at 
samples.quickstart.service.adb.StockQuoteServiceStub.<init>(StockQuoteServiceStub.java:135)
     [java]     at samples.quickstart.clients.ADBClient.main(ADBClient.java:25)
     [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]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java]     at sun.reflect.GeneratedMethodAccessor1.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:357)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
     [java] Java Result: -1

BUILD SUCCESSFUL
Total time: 10 seconds
C:\axis2-1.6.0\samples\quickstartadb>cd ..\quickstartaxiom\

C:\axis2-1.6.0\samples\quickstartaxiom>ant
Buildfile: build.xml

compile:

generate.service:
     [copy] Copying 1 file to C:\axis2-1.6.0\repository\services

BUILD SUCCESSFUL
Total time: 0 seconds
C:\axis2-1.6.0\samples\quickstartaxiom>ant clean
Buildfile: build.xml

clean:
   [delete] Deleting directory C:\axis2-1.6.0\samples\quickstartaxiom\build

BUILD SUCCESSFUL
Total time: 0 seconds
C:\axis2-1.6.0\samples\quickstartaxiom>ant
Buildfile: build.xml

compile:
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartaxiom\build
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartaxiom\build\classes
    [javac] Compiling 2 source files to 
C:\axis2-1.6.0\samples\quickstartaxiom\build\classes
    [javac] Note: 
C:\axis2-1.6.0\samples\quickstartaxiom\src\samples\quickstart\service\axiom\StockQuoteService.java
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

generate.service:
     [copy] Copying 2 files to 
C:\axis2-1.6.0\samples\quickstartaxiom\build\classes
      [jar] Building jar: 
C:\axis2-1.6.0\samples\quickstartaxiom\build\StockQuoteService.aar
     [copy] Copying 1 file to C:\axis2-1.6.0\repository\services

BUILD SUCCESSFUL
Total time: 6 seconds
C:\axis2-1.6.0\samples\quickstartaxiom>ant run.client
Buildfile: build.xml

compile:

run.client:
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.context.AbstractContext).
     [java] log4j:WARN Please initialize the log4j system properly.
     [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:764)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [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.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:357)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
     [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 
org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:251)
     [java]     at 
samples.quickstart.clients.AXIOMClient.main(AXIOMClient.java:74)
     [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]     ... 21 more
     [java] --- Nested Exception ---
     [java] 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 
org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:251)
     [java]     at 
samples.quickstart.clients.AXIOMClient.main(AXIOMClient.java:74)
     [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]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [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.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:357)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
     [java] Java Result: -1

BUILD SUCCESSFUL
Total time: 0 seconds



======================================================================================================================
After including jar file xerces-2.6.2.jar into C:\axis2-1.6.0\lib:
======================================================================================================================
C:\axis2-1.6.0\samples\quickstartaxiom>ant run.client
Buildfile: build.xml

compile:

run.client:
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.context.AbstractContext).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] price updated
     [java] Current price of WSO: 123.42

BUILD SUCCESSFUL
Total time: 10 seconds
C:\axis2-1.6.0\samples\quickstartaxiom>cd ..\quickstartadb

C:\axis2-1.6.0\samples\quickstartadb>ant run.client
Buildfile: build.xml

generate.client:
   [delete] Deleting directory C:\axis2-1.6.0\samples\quickstartadb\build\client
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartadb\build\client
     [java] Retrieving document at 
'./resources/META-INF/StockQuoteService.wsdl'.
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
     [java] log4j:WARN Please initialize the log4j system properly.
     [copy] Copying 1 file to 
C:\axis2-1.6.0\samples\quickstartadb\build\client\src\samples\quickstart\clients

init:
    [mkdir] Created dir: C:\axis2-1.6.0\samples\quickstartadb\build\client\build
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\classes
    [mkdir] Created dir: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\lib

pre.compile.test:
     [echo] Stax Availability= true
     [echo] Axis2 Availability= true

compile.src:
    [javac] Compiling 2 source files to 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\classes
    [javac] Note: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\src\samples\quickstart\service\adb\StockQuoteServiceStub.java
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar.client:
      [jar] Building jar: 
C:\axis2-1.6.0\samples\quickstartadb\build\client\build\lib\StockQuoteService-test-client.jar

run.client:
     [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis2.description.AxisOperation).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] 42.0
     [java] price updated
     [java] 42.35

BUILD SUCCESSFUL
Total time: 10 seconds
C:\axis2-1.6.0\samples\quickstartadb>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to