[
http://jira.jboss.com/jira/browse/JBWS-868?page=comments#action_12345187 ]
Alejandro Guizar commented on JBWS-868:
---------------------------------------
Aren't samples intended to be run after (a) the sample suite is built and (b) the
sample jars are packaged? It looks like you are trying to run them as a normal unit test.
jbpm-bpel.sar is fetched from the remote repository as part of the samples build process.
Once you build the samples, please change to the jaxrpc/wsbpel directory and execute the
"tests" target there:
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\jaxrpc\wsbpel>ant tests
Buildfile: build.xml
init:
[echo] jboss.home = C:/dev/jboss/Branch_4_0/build/output/jboss-4.0.5.GA-ejb3
[echo] tomcat.home = ${tomcat.home}
[echo] java.home = C:\dev\jdk1.5.0_07\jre
[echo] node0 = AGUIZAR
compile:
[javac] Compiling 1 source file to
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\output\classes
copy-resources:
zip-processes:
check-jbpmbpel:
install-jbpmbpel:
[mkdir] Created dir:
C:\dev\jboss\Branch_4_0\build\output\jboss-4.0.5.GA-ejb3\server\default\deploy\jbpm-bpel.sar
[unjar] Expanding:
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\lib\jbpm-bpel.sar into
C:\dev\jboss\B
ranch_4_0\build\output\jboss-4.0.5.GA-ejb3\server\default\deploy\jbpm-bpel.sar
generate-sources:
[move] Moving 2 files to
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\output\wstools\java
compile-generated:
[javac] Compiling 2 source files to
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\output\classes
copy-generated:
[copy] Copying 4 files to
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\output\resources
jars:
[war] Building war:
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\output\libs\jaxrpc-samples-wsbpel-
hello.war
[jar] Building jar:
C:\dev\jbossws\jbossws-1.0\output\jbossws-samples-1.0.4.DEV\output\libs\jaxrpc-samples-wsbpel-
hello-client.jar
store-processes:
[storeprocess] target url:
http://localhost:8080/jbpm-bpel/deploy?processfile=file%3A%2FC%3A%2Fdev%2...
.0%2Foutput%2Fjbossws-samples-1.0.4.DEV%2Foutput%2Flibs%2Fjaxrpc-samples-wsbpel-hello-process.zip
[storeprocess] got response code: 200
tests:
init:
[echo] jboss.home = C:/dev/jboss/Branch_4_0/build/output/jboss-4.0.5.GA-ejb3
[echo] tomcat.home = ${tomcat.home}
[echo] java.home = C:\dev\jdk1.5.0_07\jre
[echo] node0 = AGUIZAR
test:
[junit] Running org.jboss.test.ws.jaxrpc.samples.wsbpel.hello.BpelHelloTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.015 sec
BPEL in jbossws-samples
-----------------------
Key: JBWS-868
URL:
http://jira.jboss.com/jira/browse/JBWS-868
Project: JBoss Web Services
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: jaxrpc
Reporter: Thomas Diesler
Assigned To: Alejandro Guizar
Fix For: jbossws-1.0.4
Every chapter in the userguide is backed up with one/more testcase in the jbossws
testsuite. The tests are then compiled together in a standlaone sample zip.
Please show us how to use BPEL with some samples.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira