Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-M2
-
None
-
Windows XP SP2, Sun JDK 1.5.0_06-b5
Description
standalone-1.0-incubator-M2-SNAPSHOT-bin.zip is missing the following jar files from its bin directory:
tuscany-host-api-1.0-incubator-M2-SNAPSHOT.jar
tuscany-api-1.0-incubator-M2-SNAPSHOT.jar
These jars are present in the bin directory of standalone-1.0-incubator-M2-SNAPSHOT-bin.tar.gz.
Without these jars, attempting to run the calculator sample produces the error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tuscany/host/RuntimeInfo
With these jars, the calculator sample runs OK
I checked the contents of standalone-1.0-incubator-M2-SNAPSHOT-bin.zip and standalone-1.0-incubator-M2-SNAPSHOT-bin.tar.gz for other differences and I found that the same 2 jars
tuscany-host-api-1.0-incubator-M2-SNAPSHOT.jar
tuscany-api-1.0-incubator-M2-SNAPSHOT.jar
are present in the boot directory of standalone-1.0-incubator-M2-SNAPSHOT-bin.tar.gz but not in the boot directory of standalone-1.0-incubator-M2-SNAPSHOT-bin.zip.
Having these jars missing from the boot directory does not impact successful execution of the calculator sample.
It appears that the following actions are needed:
1. Add these 2 jars to the bin directory of standalone-1.0-incubator-M2-SNAPSHOT-bin.zip
2. Determine whether or not these jars are also needed in the boot directory. If so, add them to the boot directory of standalone-1.0-incubator-M2-SNAPSHOT-bin.zip. If not, remove them from the boot directory of standalone-1.0-incubator-M2-SNAPSHOT-bin.tar.gz.