I tried for some other samples and found following issues.

1.) databinding sample

    a) databinding sample uses Caster as the binding framework it
seems like xercesImpl is required dependency for Castor code generator
because I'm getting "fatal error: unable to create SAX
       parser. "  exception. IMO we can add another entry to the "
download.jars " Ant target to download xercesImpl into sample/lib
folder. After placing xercesImpl I was able to generate codes
       successfully.

   b) When compiling above source codes I got following exception. I
think MessageReceiver code generated by WSDL2JAVA is incorrect here.

     generate.service:
   [delete] Deleting directory
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service
    [mkdir] Created dir:
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service
    [mkdir] Created dir:
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service/classes
     [echo]
     [java] Retrieving document at 'StockQuoteService.wsdl'.
     [java] Retrieving schema wsdl:imported from 'StockQuote.xsd',
relative to 
'file:/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/StockQuoteService.wsdl'.
     [java] log4j:WARN No appenders could be found for logger
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
     [java] log4j:WARN PleaRetrieving document at 'StockQuoteService.wsdl'.
     [java] Retrieving schema wsdl:imported from 'StockQuote.xsd',
relative to 'file:/opt/dse initialize the log4j system properly.
     [java] 
ev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/StockQuoteService.wsdl'.
     [copy] Copying 1 file to
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service/src
    [javac] 
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build.xml:109:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 16 source files to
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service/classes
    [javac] 
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service/src/samples/databinding/StockQuoteServiceMessageReceiverInOut.java:55:
cannot find symbol
    [javac] symbol  : method
toEnvelope(org.apache.axiom.soap.SOAPFactory,org.apache.axiom.om.OMElement,boolean,javax.xml.namespace.QName)
    [javac] location: class
samples.databinding.StockQuoteServiceMessageReceiverInOut
    [javac]                                         envelope =
toEnvelope(getSOAPFactory(msgContext), getStockQuoteResponse1, false,
new 
javax.xml.namespace.QName("http://w3.ibm.com/schemas/services/2002/11/15/stockquote/wsdl";,
    [javac]                                                    ^
    [javac] Note:
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/samples/databinding/build/service/src/samples/databinding/StockQuoteServiceMessageReceiverInOut.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error






2.)  Starting from Axis2 1.5.2 Version POM files of Maven based JAX-WS
samples referring Axis2 SNAPSHOT dependencies instead of exact
released dependencies. I think we need to fix this otherwise users
need to manually edit POM file before run them and not a good
impression. Following are the list of such samples.

java_first_jaxws
jaxws-addressbook
jaxws-calculator
jaxws-interop
jaxws-samples
jaxws-version



3.) There are some exceptions deploying following 3 JAX-WS samples.

 a.) jaxws-calculator

[INFO] Deploying artifact :
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/repository/servicejars/jaxws-calculator-1.6.0-SNAPSHOT.jar
[INFO] Exception creating Axis Service : null
java.lang.NoSuchMethodError:
javax.xml.ws.RequestWrapper.partName()Ljava/lang/String;
        at 
org.apache.axis2.jaxws.description.builder.converter.JavaMethodsToMDCConverter.attachRequestWrapperAnnotation(JavaMethodsToMDCConverter.java:203)
        at 
org.apache.axis2.jaxws.description.builder.converter.JavaMethodsToMDCConverter.convertMethods(JavaMethodsToMDCConverter.java:85)
        at 
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.introspectClass(JavaClassToDBCConverter.java:193)
        at 
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.buildDBC(JavaClassToDBCConverter.java:141)
        at 
org.apache.axis2.jaxws.description.builder.converter.JavaClassToDBCConverter.produceDBC(JavaClassToDBCConverter.java:120)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:215)
        at 
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:253)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:208)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:162)
        at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:142)
        at 
org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
        at 
org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
        at 
org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
[ERROR] Error:
 No @WebService annotated service implementations found in the jar:
file:/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/repository/servicejars/jaxws-calculator-1.6.0-SNAPSHOT.jar.
Service deployment failed.



b.) jaxws-interop

[INFO] Deploying artifact :
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/repository/servicejars/jaxws-interop-1.6.0-SNAPSHOT.jar
[INFO] Exception creating Axis Service : null
javax.xml.ws.WebServiceException: Validation error: cannot find WSDL
Definition specified by this WebService annotation. Implementation
class: org.apache.axis2.jaxws.interop.InteropSampleService; WSDL
location: META-INF/BaseDataTypesDocLitB.wsdl
        at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
        at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
        at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateIntegrity(ServiceDescriptionImpl.java:1531)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateDBCLIntegrity(ServiceDescriptionImpl.java:1444)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:348)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:289)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:255)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:327)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:216)
        at 
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:253)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:208)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:162)
        at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:142)
        at 
org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
        at 
org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
        at 
org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
[ERROR] Error:
 No @WebService annotated service implementations found in the jar:
file:/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/repository/servicejars/jaxws-interop-1.6.0-SNAPSHOT.jar.
Service deployment failed.



c.)  jaxws-samples

INFO] Deploying artifact :
/opt/dev/code/apache/axis2/releases/1.6/my/axis2-1.6.1-SNAPSHOT/repository/servicejars/jaxws-samples-1.4.jar
[INFO] Exception creating Axis Service : null
javax.xml.ws.WebServiceException: Validation error: cannot find WSDL
Definition specified by this WebService annotation. Implementation
class: org.apache.axis2.jaxws.samples.echo.EchoService12PortImpl; WSDL
location: WEB-INF/wsdl/Echo12.wsdl
        at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
        at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
        at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateIntegrity(ServiceDescriptionImpl.java:1531)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.validateDBCLIntegrity(ServiceDescriptionImpl.java:1444)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:348)
        at 
org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:289)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:255)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:327)
        at 
org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:216)
        at 
org.apache.axis2.jaxws.description.DescriptionFactory.createAxisService(DescriptionFactory.java:564)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.createAxisService(JAXWSDeployer.java:253)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:208)
        at 
org.apache.axis2.jaxws.framework.JAXWSDeployer.deploy(JAXWSDeployer.java:162)
        at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
        at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
        at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:142)
        at 
org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.java:147)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
        at 
org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
        at 
org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
[INFO] Exception creating Axis Service : null


Thanks !

On Tue, Mar 15, 2011 at 10:21 AM, Amila Suriarachchi
<amilasuriarach...@gmail.com> wrote:
>
>
> On Tue, Mar 15, 2011 at 3:43 PM, Andreas Veithen <andreas.veit...@gmail.com>
> wrote:
>>
>> To me this sounds like a configuration problem in your environment.
>> Instead of using the default DOM parser from the JRE (which is
>> basically a version of Xerces relocated to a different package), it
>> specifically looks for
>> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl, probably because of
>> a system property set somewhere. I bet that if you try with a clean
>> JRE and ant installation, you will not see this issue.
>
> yes. that may be the case. I'll try to check in my windows partition.
>
> If other getting samples passed I have no issue.
>
> thanks,
> Amila.
>>
>> Andreas
>>
>> On Tue, Mar 15, 2011 at 09:21, Amila Suriarachchi
>> <amilasuriarach...@gmail.com> wrote:
>> >
>> >
>> > On Tue, Mar 15, 2011 at 3:15 AM, Andreas Veithen
>> > <andreas.veit...@gmail.com>
>> > wrote:
>> >>
>> >> I don't see any issues with the MTOM sample:
>> >>
>> >> orcus:mtom veithen$ ant
>> >> Buildfile:
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build.xml
>> >>
>> >> generate.service:
>> >>     [java] Retrieving document at
>> >>
>> >>
>> >> '/Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/resources/MTOMSample.wsdl'.
>> >>     [java] Retrieving schema at 'xmime.xsd', relative to
>> >>
>> >>
>> >> 'file:/Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/resources/MTOMSample.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
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build/service/src/sample/mtom/service
>> >>
>> >> jar.server:
>> >>    [mkdir] Created dir:
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build/service/classes
>> >>    [javac]
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build.xml:112:
>> >> warning: 'includeantruntime' was not set, defaulting to
>> >> build.sysclasspath=last; set to false for repeatable builds
>> >>    [javac] Compiling 8 source files to
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build/service/classes
>> >>    [javac] Note:
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build/service/src/sample/mtom/service/MTOMSampleMessageReceiverInOut.java
>> >> uses unchecked or unsafe operations.
>> >>    [javac] Note: Recompile with -Xlint:unchecked for details.
>> >>     [copy] Copying 3 files to
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build/service/classes/META-INF
>> >>      [jar] Building jar:
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/samples/mtom/build/service/sample-mtom.aar
>> >>     [copy] Copying 1 file to
>> >>
>> >>
>> >> /Users/veithen/dev/maven/axis/axis2-1.6/modules/distribution/target/axis2-1.6.1-SNAPSHOT/repository/services
>> >>
>> >> BUILD SUCCESSFUL
>> >> Total time: 7 seconds
>> >>
>> >>
>> >> Can you give a bit more information about the problem?
>> >
>> > I am getting this error.
>> >
>> > generate.service:
>> >      [java] Retrieving document at
>> >
>> > '/home/amila/downloads/axis2-1.6.0/samples/mtom/resources/MTOMSample.wsdl'.
>> >      [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(Unknown Source)
>> >      [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown
>> > Source)
>> >      [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
>> > Source)
>> >      [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
>> > Source)
>> >      [java]     at
>> >
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320)
>> >      [java]     at
>> >
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:133)
>> >      [java]     at
>> > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>> >      [java]     at
>> > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>> >      [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(Unknown Source)
>> >      [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown
>> > Source)
>> >      [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
>> > Source)
>> >      [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown
>> > Source)
>> >      [java]     at
>> >
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320)
>> >      [java]     at
>> >
>> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:133)
>> >      [java]     at
>> > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>> >      [java]     at
>> > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>> >      [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
>> >
>> >
>> > but when I put xercesImpl-2.6.2.jar to lib folder it works fine.
>> >
>> > I am using sun jdk.
>> >
>> > java version "1.6.0_13"
>> > Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
>> > Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
>> >
>> >
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >>
>> >> On Sun, Feb 20, 2011 at 12:51, Amila Suriarachchi
>> >> <amilasuriarach...@gmail.com> wrote:
>> >> > As I remember we removed the xercesImpl-2.6.2.jar for some reason.
>> >> >
>> >> > But this gives an exception when generating the server code with mtom
>> >> > sample.
>> >> >
>> >> > thanks,
>> >> > Amila.
>> >> >
>> >> > On Sun, Feb 20, 2011 at 11:26 AM, Amila Suriarachchi
>> >> > <amilasuriarach...@gmail.com> wrote:
>> >> >>
>> >> >>
>> >> >> On Sun, Feb 20, 2011 at 11:07 AM, Amila Suriarachchi
>> >> >> <amilasuriarach...@gmail.com> wrote:
>> >> >>>
>> >> >>>
>> >> >>> On Sun, Feb 20, 2011 at 10:46 AM, Amila Suriarachchi
>> >> >>> <amilasuriarach...@gmail.com> wrote:
>> >> >>>>
>> >> >>>> is there a window to merge this[1] change to branch?
>> >> >>>
>> >> >>> I think my previous commit regarding this has broken the
>> >> >>> faulthandling
>> >> >>> sample.
>> >> >>
>> >> >> It is not regarding that but the sample is broken. We need to fix
>> >> >> that.
>> >> >>
>> >> >> thanks,
>> >> >> Amila.
>> >> >>>
>> >> >>> we need to fix that.
>> >> >>>
>> >> >>> thanks,
>> >> >>> Amila.
>> >> >>>>
>> >> >>>> Unlike in other axis2 releases, all the directories has the 777
>> >> >>>> mode
>> >> >>>>
>> >> >>>> eg.
>> >> >>>> drwxrwxrwx  2 amila amila   328 2011-02-20 01:43 bin
>> >> >>>> drwxrwxrwx  2 amila amila   192 2011-02-20 01:43 conf
>> >> >>>> -rwxrwxrwx  1 amila amila  6145 2011-02-20 01:43
>> >> >>>> installation-std-bin.txt
>> >> >>>> drwxrwxrwx  2 amila amila  4416 2011-02-20 01:43 lib
>> >> >>>> -rwxrwxrwx  1 amila amila 11359 2011-02-20 01:43 LICENSE.txt
>> >> >>>> -rwxrwxrwx  1 amila amila  1236 2011-02-20 01:43 NOTICE.txt
>> >> >>>> -rwxrwxrwx  1 amila amila  1982 2011-02-20 01:43
>> >> >>>> README-std-bin.txt
>> >> >>>> -rwxrwxrwx  1 amila amila  2491 2011-02-20 01:43 README.txt
>> >> >>>> -rwxrwxrwx  1 amila amila  4172 2011-02-20 01:43
>> >> >>>> release-notes.html
>> >> >>>> drwxrwxrwx  4 amila amila    96 2011-02-20 01:43 repository
>> >> >>>> drwxrwxrwx 27 amila amila   840 2011-02-20 01:43 samples
>> >> >>>> drwxrwxrwx  4 amila amila   136 2011-02-20 01:43 webapp
>> >> >>>>
>> >> >>>> thanks,
>> >> >>>> Amila.
>> >> >>>>
>> >> >>>> [1] http://svn.apache.org/viewvc?view=revision&revision=1072499
>> >> >>>>
>> >> >>>> On Sun, Feb 20, 2011 at 9:07 AM, Ruwan Linton
>> >> >>>> <ruwan.lin...@gmail.com>
>> >> >>>> wrote:
>> >> >>>>>
>> >> >>>>> Hi Devs,
>> >> >>>>>
>> >> >>>>> This is a call for votes to release Axis2-1.6.0.
>> >> >>>>>
>> >> >>>>> The complete list of JIRA issues fixed in this release can be
>> >> >>>>> found
>> >> >>>>> here:
>> >> >>>>>
>> >> >>>>> http://bit.ly/issues-fixed-for-1_6
>> >> >>>>>
>> >> >>>>> The staging repository is here:
>> >> >>>>>
>> >> >>>>>
>> >> >>>>>
>> >> >>>>> https://repository.apache.org/content/repositories/orgapacheaxis2-025/
>> >> >>>>>
>> >> >>>>> The distributions are here:
>> >> >>>>>
>> >> >>>>> http://people.apache.org/~ruwan/axis2/dist/1.6.0/
>> >> >>>>>
>> >> >>>>> The preview of the Maven site is here:
>> >> >>>>>
>> >> >>>>> http://people.apache.org/~ruwan/axis2/site/1.6.0/
>> >> >>>>>
>> >> >>>>> The SVN tag for this release can be found at here:
>> >> >>>>>
>> >> >>>>> https://svn.apache.org/repos/asf/axis/axis2/java/core/tags/v1.6.0
>> >> >>>>>
>> >> >>>>> Here is my +1 for releasing these as Axis2-1.6.0.
>> >> >>>>>
>> >> >>>>> Thanks,
>> >> >>>>> Ruwan
>> >> >>>>>
>> >> >>>>> --
>> >> >>>>> Ruwan Linton
>> >> >>>>> Member, Apache Software Foundation; http://www.apache.org
>> >> >>>>>
>> >> >>>>> phone: +94 11 282 7532
>> >> >>>>> email: ru...@wso2.com; cell: +94 77 341 3097
>> >> >>>>> blog: http://blog.ruwan.org
>> >> >>>>> linkedin: http://www.linkedin.com/in/ruwanlinton
>> >> >>>>> google: http://www.google.com/profiles/ruwan.linton
>> >> >>>>> tweet: http://twitter.com/ruwanlinton
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> --
>> >> >>>> Amila Suriarachchi
>> >> >>>> WSO2 Inc.
>> >> >>>> blog: http://amilachinthaka.blogspot.com/
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> --
>> >> >>> Amila Suriarachchi
>> >> >>> WSO2 Inc.
>> >> >>> blog: http://amilachinthaka.blogspot.com/
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Amila Suriarachchi
>> >> >> WSO2 Inc.
>> >> >> blog: http://amilachinthaka.blogspot.com/
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Amila Suriarachchi
>> >> > WSO2 Inc.
>> >> > blog: http://amilachinthaka.blogspot.com/
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
>> >> For additional commands, e-mail: java-dev-h...@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
>> For additional commands, e-mail: java-dev-h...@axis.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

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

Reply via email to