0 Replies Latest reply on Nov 6, 2008 12:57 AM by Dwaipayan chak

    error deploying a bpel process in jbpm

    Dwaipayan chak Newbie

      I m using jboss4.2.2.GA with jbpm-bpel1.1.1.

      I have tried to deploy one of the examples given ---"Hello".

      The process definition is deployed correctly.But while testing the process by the generated client

      i am getting the error which i am attaching

      <?xml version="1.0" encoding="UTF-8" ?>
      <testsuite errors="2" failures="0" hostname="dchakraborty" name="org.jbpm.bpel.tutorial.hello.HelloTest" tests="2" time="1.625" timestamp="2008-11-06T05:46:22">
       <properties>
       <property name="java.vendor" value="Sun Microsystems Inc." />
       <property name="lib.junit.local" value="../../lib/junit.jar" />
       <property name="lib.dir" value="../../lib" />
       <property name="lib.jaxrpc.api.local" value="../../lib/jaxrpc-api.jar" />
       <property name="sun.java.launcher" value="SUN_STANDARD" />
       <property name="sun.management.compiler" value="HotSpot Client Compiler" />
       <property name="os.name" value="Windows XP" />
       <property name="sun.boot.class.path" value="d:/jboss-4.2.2.GA/lib/endorsed\serializer.jar;d:/jboss-4.2.2.GA/lib/endorsed\xalan.jar;d:/jboss-4.2.2.GA/lib/endorsed\xercesImpl.jar;D:\jdk1.6.0_05\jre\lib\resources.jar;D:\jdk1.6.0_05\jre\lib\rt.jar;D:\jdk1.6.0_05\jre\lib\sunrsasign.jar;D:\jdk1.6.0_05\jre\lib\jsse.jar;D:\jdk1.6.0_05\jre\lib\jce.jar;D:\jdk1.6.0_05\jre\lib\charsets.jar;D:\jdk1.6.0_05\jre\classes" />
       <property name="lib.dom4j.local" value="../../lib/dom4j.jar" />
       <property name="test.reports.dir" value="target/test/reports" />
       <property name="lib.jbpm.identity.jar.local" value="../../lib/jbpm-identity.jar" />
       <property name="javac.target" value="1.4" />
       <property name="sun.desktop" value="windows" />
       <property name="java.vm.specification.vendor" value="Sun Microsystems Inc." />
       <property name="ant.home" value="D:\apache-ant-1.7.0" />
       <property name="java.runtime.version" value="1.6.0_05-b13" />
       <property name="lib.servlet.local" value="../../lib/servlet-api.jar" />
       <property name="ant.file.mapping" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\common\mapping-build.xml" />
       <property name="test.java.dir" value="src/test/java" />
       <property name="lib.commons.collections.local" value="../../lib/commons-collections.jar" />
       <property name="lib.cglib.local" value="../../lib/cglib.jar" />
       <property name="user.name" value="dchakraborty" />
       <property name="lib.jbpm.bpel.jboss405.jar.local" value="../../lib/jbpm-bpel-jboss405.jar" />
       <property name="test.classes.dir" value="target/test/classes" />
       <property name="output.classes.dir" value="target/classes" />
       <property name="javac.deprecation" value="false" />
       <property name="lib.bsh.local" value="../../lib/bsh.jar" />
       <property name="user.language" value="en" />
       <property name="lib.ant.local" value="../../lib/ant-1.6.5.jar" />
       <property name="sun.boot.library.path" value="D:\jdk1.6.0_05\jre\bin" />
       <property name="lib.jbpm.bpel.jar.local" value="../../lib/jbpm-bpel.jar" />
       <property name="ant.file.bpel" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\common\bpel-build.xml" />
       <property name="jboss.server" value="default" />
       <property name="ant.project.name" value="hello" />
       <property name="lib.antlr.local" value="../../lib/antlr-2.7.6.jar" />
       <property name="java.version" value="1.6.0_05" />
       <property name="user.timezone" value="" />
       <property name="resources.dir" value="src/main/resources" />
       <property name="jbpm.bpel.home" value="../.." />
       <property name="software.installation.dir" value="C:\Documents and Settings\dchakraborty" />
       <property name="sun.arch.data.model" value="32" />
       <property name="lib.commons.codec.local" value="../../lib/commons-codec.jar" />
       <property name="java.endorsed.dirs" value="d:/jboss-4.2.2.GA/lib/endorsed" />
       <property name="sun.cpu.isalist" value="" />
       <property name="sun.jnu.encoding" value="Cp1252" />
       <property name="file.encoding.pkg" value="sun.io" />
       <property name="lib.jbpm.bpel.jboss403.jar.local" value="../../lib/jbpm-bpel-jboss403.jar" />
       <property name="file.separator" value="\" />
       <property name="java.specification.name" value="Java Platform API Specification" />
       <property name="lib.wsdl4j.local" value="../../lib/wsdl4j.jar" />
       <property name="java.class.version" value="50.0" />
       <property name="user.country" value="US" />
       <property name="java.home" value="D:\jdk1.6.0_05\jre" />
       <property name="java.vm.info" value="mixed mode" />
       <property name="lib.jaxen.local" value="../../lib/jaxen.jar" />
       <property name="ant.file" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\build.xml" />
       <property name="os.version" value="5.1" />
       <property name="javac.source" value="1.4" />
       <property name="lib.hibernate.local" value="../../lib/hibernate3.jar" />
       <property name="javac.debug" value="true" />
       <property name="lib.commons.httpclient.local" value="../../lib/commons-httpclient.jar" />
       <property name="path.separator" value=";" />
       <property name="output.test.dir" value="target/test" />
       <property name="jwsdp.home" value="d:/SOA_JBoss/jwsdp-2.0" />
       <property name="java.vm.version" value="10.0-b19" />
       <property name="lib.log4j.local" value="../../lib/log4j.jar" />
       <property name="user.variant" value="" />
       <property name="mapping.uptodate" value="true" />
       <property name="web.dir" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\src\main\resources\web" />
       <property name="ant.library.dir" value="D:\apache-ant-1.7.0\lib" />
       <property name="output.dir" value="target" />
       <property name="lib.jbpm.bpel.version" value="1.1.1" />
       <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob" />
       <property name="sun.io.unicode.encoding" value="UnicodeLittle" />
       <property name="lib.xercesimpl.local" value="../../lib/xercesImpl.jar" />
       <property name="awt.toolkit" value="sun.awt.windows.WToolkit" />
       <property name="lib.jbpm.bpel.application.name" value="jbpm-bpel.ear" />
       <property name="bpel.dir" value="src/main/bpel2" />
       <property name="lib.hsqldb.local" value="../../lib/hsqldb.jar" />
       <property name="lib.commons.lang.local" value="../../lib/commons-lang.jar" />
       <property name="ant.file.hello" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\build.xml" />
       <property name="published.wsdl.available" value="true" />
       <property name="user.home" value="C:\Documents and Settings\dchakraborty" />
       <property name="lib.jboss.j2ee.local" value="../../lib/jboss-j2ee.jar" />
       <property name="output.java.dir" value="target/java" />
       <property name="lib.jbpm.bpel.config.local" value="../../lib/jbpm-bpel-config.jar" />
       <property name="java.specification.vendor" value="Sun Microsystems Inc." />
       <property name="java.vendor.url" value="http://java.sun.com/" />
       <property name="java.library.path" value="D:\jdk1.6.0_05\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\jdk1.6.0_05\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.4.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Java_latest;C:\Program Files\Common Files\Adobe\AGL;D:\apache-ant-1.7.0\bin;D:\SOA_JBoss\jwsdp-2.0\jwsdp-shared\bin" />
       <property name="jboss.home" value="d:/jboss-4.2.2.GA" />
       <property name="lib.jbpm.jpdl.jar.local" value="../../lib/jbpm-jpdl.jar" />
       <property name="java.vm.vendor" value="Sun Microsystems Inc." />
       <property name="module.name" value="hello" />
       <property name="jboss.version" value="4.2.2.GA" />
       <property name="java.runtime.name" value="Java(TM) SE Runtime Environment" />
       <property name="lib.jboss.saaj.local" value="../../lib/jboss-saaj.jar" />
       <property name="lib.servlet-jsp.local" value="../../lib/jsp-api.jar" />
       <property name="ant.version" value="Apache Ant version 1.7.0 compiled on December 13 2006" />
       <property name="java.class.path" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\config;d:\jboss-4.2.2.GA\client\activation.jar;d:\jboss-4.2.2.GA\client\antlr.jar;d:\jboss-4.2.2.GA\client\avalon-framework.jar;d:\jboss-4.2.2.GA\client\commons-codec.jar;d:\jboss-4.2.2.GA\client\commons-httpclient.jar;d:\jboss-4.2.2.GA\client\commons-logging.jar;d:\jboss-4.2.2.GA\client\concurrent.jar;d:\jboss-4.2.2.GA\client\ejb3-persistence.jar;d:\jboss-4.2.2.GA\client\getopt.jar;d:\jboss-4.2.2.GA\client\hibernate-annotations.jar;d:\jboss-4.2.2.GA\client\hibernate-client.jar;d:\jboss-4.2.2.GA\client\jacorb.jar;d:\jboss-4.2.2.GA\client\javassist.jar;d:\jboss-4.2.2.GA\client\jaxb-api.jar;d:\jboss-4.2.2.GA\client\jaxb-impl.jar;d:\jboss-4.2.2.GA\client\jaxb-xjc.jar;d:\jboss-4.2.2.GA\client\jaxws-rt.jar;d:\jboss-4.2.2.GA\client\jaxws-tools.jar;d:\jboss-4.2.2.GA\client\jboss-annotations-ejb3.jar;d:\jboss-4.2.2.GA\client\jboss-aop-jdk50-client.jar;d:\jboss-4.2.2.GA\client\jboss-aspect-jdk50-client.jar;d:\jboss-4.2.2.GA\client\jboss-client.jar;d:\jboss-4.2.2.GA\client\jboss-common-client.jar;d:\jboss-4.2.2.GA\client\jboss-deployment.jar;d:\jboss-4.2.2.GA\client\jboss-ejb3-client.jar;d:\jboss-4.2.2.GA\client\jboss-ejb3x.jar;d:\jboss-4.2.2.GA\client\jboss-iiop-client.jar;d:\jboss-4.2.2.GA\client\jboss-j2ee.jar;d:\jboss-4.2.2.GA\client\jboss-jaxrpc.jar;d:\jboss-4.2.2.GA\client\jboss-jaxws.jar;d:\jboss-4.2.2.GA\client\jboss-jsr77-client.jar;d:\jboss-4.2.2.GA\client\jboss-remoting.jar;d:\jboss-4.2.2.GA\client\jboss-saaj.jar;d:\jboss-4.2.2.GA\client\jboss-serialization.jar;d:\jboss-4.2.2.GA\client\jboss-srp-client.jar;d:\jboss-4.2.2.GA\client\jboss-system-client.jar;d:\jboss-4.2.2.GA\client\jboss-transaction-client.jar;d:\jboss-4.2.2.GA\client\jboss-xml-binding.jar;d:\jboss-4.2.2.GA\client\jbossall-client.jar;d:\jboss-4.2.2.GA\client\jbosscx-client.jar;d:\jboss-4.2.2.GA\client\jbossha-client.jar;d:\jboss-4.2.2.GA\client\jbossjmx-ant.jar;d:\jboss-4.2.2.GA\client\jbossmq-client.jar;d:\jboss-4.2.2.GA\client\jbosssx-client.jar;d:\jboss-4.2.2.GA\client\jbossws-client.jar;d:\jboss-4.2.2.GA\client\jbossws-common.jar;d:\jboss-4.2.2.GA\client\jbossws-framework.jar;d:\jboss-4.2.2.GA\client\jbossws-jboss42.jar;d:\jboss-4.2.2.GA\client\jbossws-spi.jar;d:\jboss-4.2.2.GA\client\jmx-client.jar;d:\jboss-4.2.2.GA\client\jmx-invoker-adaptor-client.jar;d:\jboss-4.2.2.GA\client\jnp-client.jar;d:\jboss-4.2.2.GA\client\log4j.jar;d:\jboss-4.2.2.GA\client\logkit.jar;d:\jboss-4.2.2.GA\client\mail.jar;d:\jboss-4.2.2.GA\client\policy.jar;d:\jboss-4.2.2.GA\client\scout.jar;d:\jboss-4.2.2.GA\client\servlet-api.jar;d:\jboss-4.2.2.GA\client\stax-api.jar;d:\jboss-4.2.2.GA\client\stax-ex.jar;d:\jboss-4.2.2.GA\client\streambuffer.jar;d:\jboss-4.2.2.GA\client\trove.jar;d:\jboss-4.2.2.GA\client\wsdl4j.jar;d:\jboss-4.2.2.GA\client\wstx.jar;d:\jboss-4.2.2.GA\client\xmlsec.jar;D:\SOA_JBoss\jbpm-bpel-1.1.1\lib\junit.jar;D:\SOA_JBoss\jbpm-bpel-1.1.1\lib\jbpm-bpel-tools.jar;D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\target\classes;D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\target\test\classes;D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello;D:\jdk1.6.0_05\lib;D:\jdk1.6.0_05\jre\lib\rt.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\jbossall-client.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\rasuser-core.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\commons-logging-1.0.4.jar;D:\jboss-4.2.2.GA\server\onereview_analysis\lib\commons-logging.jar;D:\apache-ant-1.7.0\lib\ant-launcher.jar;D:\apache-ant-1.7.0\lib\ant.jar;D:\apache-ant-1.7.0\lib\ant-junit.jar" />
       <property name="client.dir" value="src/main/resources/client" />
       <property name="lib.xml.apis.local" value="../../lib/xml-apis.jar" />
       <property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
       <property name="lib.jbpm.bpel.jboss420.jar.local" value="../../lib/jbpm-bpel-jboss420.jar" />
       <property name="java.vm.specification.version" value="1.0" />
       <property name="sun.os.patch.level" value="Service Pack 2" />
       <property name="sun.cpu.endian" value="little" />
       <property name="java.dir" value="src/main/java" />
       <property name="lib.jbpm.bpel.console.file" value="jbpm-bpel.war" />
       <property name="java.io.tmpdir" value="C:\DOCUME~1\DCHAKR~1\LOCALS~1\Temp\" />
       <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi" />
       <property name="jboss.wsdl.dir" value="d:/jboss-4.2.2.GA/server/default/data/wsdl/hello.war" />
       <property name="lib.jbpm.bpel.enterprise.file" value="jbpm-bpel-enterprise.jar" />
       <property name="ant.file.test" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\common\test-build.xml" />
       <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment" />
       <property name="os.arch" value="x86" />
       <property name="common.dir" value="../../examples/common" />
       <property name="java.ext.dirs" value="D:\jdk1.6.0_05\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext" />
       <property name="user.dir" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello\target" />
       <property name="lib.jbpm.jpdl.version" value="3.2.3" />
       <property name="lib.commons.logging.local" value="../../lib/commons-logging.jar" />
       <property name="line.separator" value="
      " />
       <property name="lib.asm.local" value="../../lib/asm.jar" />
       <property name="java.vm.name" value="Java HotSpot(TM) Client VM" />
       <property name="basedir" value="D:\SOA_JBoss\jbpm-bpel-1.1.1\examples\hello" />
       <property name="ant.java.version" value="1.6" />
       <property name="config.dir" value="../../config" />
       <property name="ant.core.lib" value="D:\apache-ant-1.7.0\lib\ant.jar" />
       <property name="output.web.dir" value="target/resources/web" />
       <property name="file.encoding" value="Cp1252" />
       <property name="lib.jbpm.bpel.tools.jar.local" value="../../lib/jbpm-bpel-tools.jar" />
       <property name="lib.jbpm.bpel.container.name" value="jbpm-bpel-container.jar" />
       <property name="java.specification.version" value="1.6" />
       <property name="lib.commons.fileupload.local" value="../../lib/commons-fileupload.jar" />
       <property name="jboss.server.dir" value="d:/jboss-4.2.2.GA/server/default" />
       </properties>
       <testcase classname="org.jbpm.bpel.tutorial.hello.HelloTest" name="testSayHello_proxy" time="0.89">
       <error message="Call invocation failed; nested exception is:
       java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed; nested exception is:
       java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
       at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
       at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
       at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
       at $Proxy3.sayHello(Unknown Source)
       at org.jbpm.bpel.tutorial.hello.HelloTest.testSayHello_proxy(HelloTest.java:47)
       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
       at junit.extensions.TestSetup.run(TestSetup.java:23)
      Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
       at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
       at org.jboss.ws.core.soap.SOAPMessageImpl.&lt;init&gt;(SOAPMessageImpl.java:67)
       at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
       at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
       at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
       at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
       at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
      </error>
       </testcase>
       <testcase classname="org.jbpm.bpel.tutorial.hello.HelloTest" name="testSayHello_dii" time="0.11">
       <error message="Call invocation failed; nested exception is:
       java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage" type="java.rmi.RemoteException">java.rmi.RemoteException: Call invocation failed; nested exception is:
       java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
       at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
       at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
       at org.jbpm.bpel.tutorial.hello.HelloTest.testSayHello_dii(HelloTest.java:57)
       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
       at junit.extensions.TestSetup.run(TestSetup.java:23)
      Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
       at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
       at org.jboss.ws.core.soap.SOAPMessageImpl.&lt;init&gt;(SOAPMessageImpl.java:67)
       at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
       at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
       at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
       at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
       at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
      </error>
       </testcase>
       <system-out><![CDATA[11:16:22,875 DEBUG [SecurityAssociation] Using ThreadLocal: false
      ]]></system-out>
       <system-err><![CDATA[]]></system-err>
      </testsuite>
      


      I cannot understand this exception.could anyone pls help me out