← Prev in month ← Prev in thread

RE: [sca-bpel] Instructions on how to download and run the BPEL Testcases with Apache Tuscany

From
Patil, Sanjay <>
Date
2010-02-19T21:04:52+00:00
ID
Thread
RE: [sca-bpel] Instructions on how to download and run the BPEL Testcases with Apache Tuscany
Hi Mike,

 

Thanks for sending the instructions. I could proceed up to the
last step by following your instructions except for one minor glitch: The
build.xml uses the filename Test_Client.jar where as the actual file name is
Test_Client-1.0.jar.

 

However, I am still unable to launch the runtime and execute the
test from the last step. I am getting the following class def error although I can
very much see that the NodeLauncher class is included in the
tuscany-node-launcher-equinox-2.0-SNAPSHOT.jar file, which is added to the
class path in the build.xml. I am guessing that there is some other
configuration which I may be missing. Perhaps you have some insight here.

 

Please see below for the error message I am getting.

 

Thanks,

Sanjay

 

Buildfile: C:\Users\SCA\BPEL TC\Tesiting\TestCases\build.xml

 

C:\Users\SCA\BPEL TC\Tesiting\TestCases>ant

Buildfile: C:\Users\SCA\BPEL TC\Tesiting\TestCases\build.xml

 

run:

    [junit] Testsuite:
client_sbpel.SBPEL_2001_TestCase

    [junit] Tests run: 1, Failures: 0, Errors: 1,
Time elapsed: 0.11 sec

    [junit] ------------- Standard Output ---------------

    [junit] Implementation language set to: _BPEL

    [junit] ------------- ----------------
---------------

    [junit]

    [junit] Testcase: testDummy took 0.094 sec

    [junit]     Caused an
ERROR

    [junit] org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher

    [junit] java.lang.NoClassDefFoundError:
org/apache/tuscany/sca/node/equinox/

launcher/NodeLauncher

    [junit]     at
client.TuscanyRuntimeBridge.startContribution(TuscanyRuntimeB

ridge.java:72)

    [junit]     at client.BaseJAXWSTestRunner.startContribution(BaseJAXWSTestRun

ner.java:238)

    [junit]     at
client.BaseJAXWSTestRunner.setUp(BaseJAXWSTestRunner.java:147

)

    [junit] Caused by:
java.lang.ClassNotFoundException: org.apache.tuscany.sca.

node.equinox.launcher.NodeLauncher

    [junit]     at
java.net.URLClassLoader$1.run(URLClassLoader.java:202)

    [junit]     at
java.security.AccessController.doPrivileged(Native Method)

    [junit]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)

    [junit]     at
java.lang.ClassLoader.loadClass(ClassLoader.java:307)

    [junit]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

 

    [junit]     at
java.lang.ClassLoader.loadClass(ClassLoader.java:248)

    [junit]

 

BUILD FAILED

C:\Users\SCA\BPEL TC\Tesiting\TestCases\build.xml:22: Test
client_sbpel.SBPEL_20

01_TestCase failed

 

 

 

 

From: Mike Edwards
[mailto:] 

Sent: Friday, February 05, 2010 4:13 AM

To: OASIS BPEL

Subject: [sca-bpel] Instructions on how to download and run the BPEL
Testcases with Apache Tuscany

 

Folks, 

(Finally !!!)

I have
completed the work item to describe how to download, build and run the SCA BPEL
test suite. 

You can get a
copy of the document which describes the steps required here: 

http://www.oasis-open.org/apps/org/workgroup/sca-bpel/download.php/36285/Running_SCA_BPEL_TestCases.odt

http://www.oasis-open.org/apps/org/workgroup/sca-bpel/download.php/36286/Running_SCA_BPEL_TestCases.pdf

Happy testing!!

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.

Co Chair OASIS SCA Assembly TC.

IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.

Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  

Email:  

 

Unless
stated otherwise above:

IBM United Kingdom Limited - Registered in England and Wales with number
741598. 

Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
← Prev in month ← Prev in thread