-
1. Re: Jbpm BPEL HelloWorld Example Ant Test Build Failure Prob
aguizar Oct 4, 2008 1:22 PM (in response to judyzhifu)Judy, please install and use JWSDP's wscompile instead. The manual has instructions on how to do that.
-
2. Re: Jbpm BPEL HelloWorld Example Ant Test Build Failure Prob
turanyi Oct 7, 2008 5:10 AM (in response to judyzhifu)"alex.guizar@jboss.com" wrote:
Judy, please install and use JWSDP's wscompile instead. The manual has instructions on how to do that.
I has this problem too. Thanks for advice. But I do it and nothing changes. Installation succesfull, copy endorsed dir/files and I cannot find startup.sh
file. -
3. Re: Jbpm BPEL HelloWorld Example Ant Test Build Failure Prob
judyzhifu Oct 7, 2008 10:43 AM (in response to judyzhifu)I tried wscompile and it did work. Many thanks to Alex for your help!
1. Install jwsdp from: http://java.sun.com/webservices/downloads/previous/webservicespack.jsp
2. When asked web container, choose “no web container� option.
3. Add c:\sun\jwsdp-2.0\jwsdp-2.0shared\bin to your Path variable
4. Edit build.property under c:\testbed\jbpm-bpel-1.1.GA\config to add wscompile directory:
jwsdp.home=C:/Sun/jwsdp-2.0
5. following the jbpm bpel user guide, start jboss application server, create schema, deploy hello world service, then ant test, now get build successfully, then check hello/target/test/reports, we can find communications between client and servers confirming the service is working.
Regards
Judy -
4. Re: Jbpm BPEL HelloWorld Example Ant Test Build Failure Prob
kraimand Nov 20, 2008 4:37 PM (in response to judyzhifu)I did as you specified in your post and wscompile still fails. Perhaps there are some additional settings needed. I am using JBOSS 4.2.3GA and Java 1.5 with BPEL 1.1.GA
C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.GA\exam
ples\hello>ant test
Buildfile: build.xml
detect.wsdl:
get.published.wsdl:
[copy] Copying 3 files to C:\Documents and Settings\dkraiman\My Documents\A
BMA\JBOSS\jbpm-bpel-1.1.GA\examples\hello\target\resources\web\wsdl
check.mapping:
generate.mapping:
detect.mapping.tool:
wstools:
detect.mapping.tool:
wscompile:
[mkdir] Created dir: C:\Documents and Settings\dkraiman\My Documents\ABMA\JB
OSS\jbpm-bpel-1.1.GA\examples\hello\target\java
[mkdir] Created dir: C:\Documents and Settings\dkraiman\My Documents\ABMA\JB
OSS\jbpm-bpel-1.1.GA\examples\hello\target\classes
[wscompile] command line: wscompile "C:\Program Files\Java\jdk1.5.0_16\jre\bin\j
ava.exe" -Duser.dir=C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\j
bpm-bpel-1.1.GA\examples\hello -classpath "c:\sun\jwsdp-2.0\jaxrpc\lib\jaxrpc-ap
i.jar;c:\sun\jwsdp-2.0\jaxrpc\lib\jaxrpc-impl.jar;c:\sun\jwsdp-2.0\jaxrpc\lib\ja
xrpc-spi.jar;c:\sun\jwsdp-2.0\saaj\lib\saaj-api.jar;C:\Program Files\Java\jdk1.5
.0_16\lib\tools.jar" com.sun.xml.rpc.tools.wscompile.Main -d "C:\Documents and S
ettings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.GA\examples\hello\target\
classes" -features:norpcstructures,wsi -import -keep -mapping "C:\Documents and
Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.GA\examples\hello\target
\resources\web\hello-mapping.xml" -s "C:\Documents and Settings\dkraiman\My Docu
ments\ABMA\JBOSS\jbpm-bpel-1.1.GA\examples\hello\target\java" -verbose "C:\Docum
ents and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.GA\examples\hel
lo\src\main\resources\wscompile.xml"
[wscompile] java.lang.NoClassDefFoundError: and
[wscompile] Exception in thread "main"
BUILD FAILED
C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.GA\exam
ples\common\mapping-build.xml:149: The following error occurred while executing
this line:
C:\Documents and Settings\dkraiman\My Documents\ABMA\JBOSS\jbpm-bpel-1.1.GA\exam
ples\common\mapping-build.xml:122: wscompile failed