On Mar 2, 2007, at 5:02 AM, Guillaume Dufrêne wrote:
Hi Jeremy,
I'm using the launcher for running my sample.
So, my command looks like :
"java -jar (sca-home)/bin/launcher.jar my_application.jar"
In my case sca-home is located at "C:\workspace\fcSOAP\tuscany-1.0-
incubator-M2" but anyway ...
Where does the launcher intend to find the sdo-impl jar ?
It seems to be in the (sca-home)/lib but when I copy (sca-home)/
boot/stax-api-1.0.1.jar and
(sca-home)/boot/wstx-asl-3.2.0.jar to the lib directory I obtain
the same exception.
sdo-impl and all of its dependencies are on the Manifest Class-Path
for the launcher jar:
Class-Path: ../lib/sca-api-r0.95-1.0-incubator-M2.jar ...
You will need to add the two StAX jars to that. There are two
workarounds I can think of:
1. extract the MANIFEST.MF, add the two jars to the Class-Path entry
and repack the jar
2. run from the command line with
java --classpath ${sca.home}/bin/launcher.jar:${sca.home}/boot/stax-
api-1.0.1.jar:${sca.home}/wstx-asl-3.2.0.jar \
-Dtuscany.installDir=${sca.home} \
org.apache.tuscany.launcher.MainLauncherBooter ...
HTH
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]