2 Replies Latest reply on May 7, 2006 11:08 PM by aguizar

    Problem with Ant wscompile on MySQL: axrpc-mapping.xml can't

      Hello once again,

      i open a new thread to expose my problem.

      I'm trying to deploy the hello example in jbpm-BPEL-1.0.alpha-4 . My configuration are:

      MySQL Server.4.1.9,
      jbpm-bpel-1.0-alpha4
      JBoss AS 4.0.3SP1
      jbpm-3.0.2 (Seems to not need)
      .

      have all successfully
      1- execute "ant build.service.403" (Build successful)
      2- deploy the jbpm-bpel.sar to jboss (successful)
      3- alter the build.properties from the hello example directory
      4- execute "ant create-schema" (Build seems successful)
      5- execute "ant pack-definition" (Build successful)
      9- execute "ant deploy-definition" (Head deack).

      I have tried to generate a WSDL for the Hello-BPELprocess with ant i got this:

      C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jbpm-bpel-1.0-alpha4\doc\examples\hello>ant wscompile
      Buildfile: build.xml
      
      wscompile:
       [java] java.lang.reflect.InvocationTargetException
       [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:585)
       [java] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
      
       [java] Caused by: java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory.getSchema()Ljavax/xml/validation/Schema;
       [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:110)
       [java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:101)
       [java] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:314)
       [java] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.java:225)
       [java] at com.sun.xml.rpc.wsdl.parser.WSDLParser.parse(WSDLParser.java:214)
       [java] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:200)
       [java] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
       [java] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
       [java] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
       [java] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
       [java] at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
       [java] ... 5 more
       [java] Java Result: 1
      
      BUILD FAILED
      C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\jbpm-bpel-1.0-alpha4\doc\examples\hello\bu
      ild.xml:128: Warning: Could not find file C:\OrdnerHyrarchie\MyCourses\Diplomarbeit\KOM\jBPM\Engine\
      jbpm-bpel-1.0-alpha4\doc\examples\hello\web\jaxrpc-mapping.xml to copy.
      
      Total time: 8 seconds


      I have installed the wsdp-tool and set the right values in the build.property to wsdp.home=C:/Programme/JavaWebServiceDeveloperPackt-1.5
      I don't know i think the wsdp is missing some files(jar or library).

      What is wrong in my settings ? why the jaxrpc-mapping.xml file can't be generated or found? Is there some configuration with the classpath i'm missing and if yes wich files wsdp need. I have googled but not concret solution.

      NB: Some one allready face this problem but that thread was without answer.


      Thanks for your help.


      Bertrand Njipwo