I found the cause of the problem and I have created JIRA TUSCANY-797 for it.
I was using standalone-1.0-incubator-M2-SNAPSHOT-bin.zip to run the
calculator sample.  This zip file is missing these 2 jar files from
its bin directory.  These jars are present in the bin directory of
standalone-1.0-incubator-M2-SNAPSHOT-bin.tar.gz.

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 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.  Are they needed in
the boot directory as well as the bin directory?

  Simon

Lee Surprenant wrote:
Thanks Venkata.
Simon,

The steps in the howto are what worked for me.

These jars were already in standalone/bin and I did not have to alter
my classpath. If this is not the case, you could try to manually add
the jars to the classpath or update Tuscany and re-build.
Let me know if you continue to have problems or think the patch needs
to be alterred.

-Lee

On 10/4/06, Venkata Krishnan <[EMAIL PROTECTED]> wrote:

Hi Simon,

Just to spell out what caught my eye.... tuscanysa/bin/launcher is the base directory tuscanysca or tuscanysa. (just hoping that it is sca and there is
a typo)

- Venkat

On 10/4/06, Simon Nash <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use the instructions in this patch to run the
> calculator sample.  I get the following error message:
>    D:\>java -jar tuscanysa/bin/launcher.jar calc/sample-
> calculator-1.0-incubator-M2-SNAPSHOT.jar
>    Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tuscany/host/RuntimeInfo
>
> It looks like I don't have the classpath set correctly.  Am I
> missing some piece of setup that I need in order to get these
> classes picked up?
>
>    Simon
>
> Lee Surprenant (JIRA) wrote:
>
> >      [ http://issues.apache.org/jira/browse/TUSCANY-780?page=all ]
> >
> > Lee Surprenant updated TUSCANY-780:
> > -----------------------------------
> >
> >     Attachment: sitePatch.patch
> >
> > The attached sitePatch includes a change to the site.vsl file used to
> generate all of the site content. I have done my best to make sure that the
> change will not break other pages, but we must be careful of this.  An
> alternative to patching this file that is used in other xml files on the
> site, is the usage of <A name="[anchor_name_here]"> within the xml (as
> apposed to generating these anchors via the section macro).
> >
> > The patch also includes a very basic howto file for running the java sca > samples. This file includes information I have found on the lists and in my
> own limited insight.  It is hopefully better than the M1 info for the
> current revision, but will likely need to be improved as I am still a bit
> new to Tuscany (for now, it is better than a broken link).
> >
> >
> >>Numerous broken links at
> http://incubator.apache.org/tuscany/java-projects.html
>
> >>-------------------------------------------------------------------------------
> >>
> >>                Key: TUSCANY-780
> >>                URL: http://issues.apache.org/jira/browse/TUSCANY-780
> >>            Project: Tuscany
> >>         Issue Type: Improvement
> >>           Reporter: Lee Surprenant
> >>        Attachments: sitePatch.patch
> >>
> >>
> >>There are a number of broken links at
> http://incubator.apache.org/tuscany/java-projects.html including the
> internal links in the opening "Tuscany JAVA Project" section, as well as an
> external link to GettingStarted.htm in the "Running The Samples"
> section. Not sure if we are waiting until M2 to update the site, but as a > new user, these broken links were very discouraging to me. In particular, > the "GettingStarted.htm" which results in a 404:Page not Found error was
> quite frustrating.
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to