Ok thats good that its looking better! I'd guess that maybe the SDO version
you have in your local repos isn't at the latest code level. SDO isn't
getting built as part of the SCA build and I don't think an SDO snapshot has
been published recently so you have to build this yourself. So with a latest
checkout of tuscany/java/ run mvn in spec/sdo-api and then again in
tuscany/java/sdo. This will be fixed when the SDO beta1 release is
officially released which should be happening real soon now.

  ...ant

On 5/1/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:

Ok, so the good news is that things seem to be going according to your
thought. I did a full update, mvn clean;mvn of java/sca and then of
java/sca/distribution and after unzipping the distribution, the manifest
does show axis2-kernel-1.2.jar now.
The not-so-good news is that when I try to run the server sample I now
get an NPE from databinding.sdo: http://rafb.net/p/UXXcbV34.html
This seems to be completely unrelated to the previous issue but I bring
it up since others may not be able to run the sample successfully either,
unless I'm doing someting wrong ...

Thanks


On 5/1/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> This could be as the move to Axis2 1.2 hadn't been completely finish and
> maybe things get added in a different order in different environments.
> I've
> moved everything I could find up to Axis2 1.2 and Axiom 1.2.4 now, could
> you
> update again and see if that has fixed this and you end up with the
Axis2
> 1.2 jar's in the manifest now?
>
>   ...ant
>
> On 4/30/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I looked at manifest.mf and for some reason, it lists
> > axis2-kernel-1.1.1.jar,
> > not axis2-kernel-1.2.jar.
> > I downloaded your zip and looked at the manifest.mf there and it does
> list
> > axis2-kernel-1.2.jar. And so, the sample runs in this case.
> > Here's the contents of my manifest.mf: http://rafb.net/p/yeLmcf17.html
> > Not sure what I am doing to make the difference.
> >
> > Thanks
> >
> > On 4/30/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >
> > > The NoClassDefFoundError: org/apache/axis2/AxisFault indicates it
> can't
> > > find
> > > the axis2-kernel-1.2.jar, is that in the lib directory you get in
the
> > > distribution? If so then is axis2-kernel-1.2.jar listed in the
> classpath
> > > enty of the manifest.mf file in the tuscany-sca-manifest.jar in the
> lib
> > > directory?
> > >
> > > On another tack, I've uploaded the zip that I get from building the
> > > distribution to :
> > >
> > >
> > >
> >
>
http://people.apache.org/~antelder/temp/tuscany/tuscany-sca-1.0-incubating-SNAPSHOT.zip
> > >
> > > Could you try downloading that and using it to try running the
sample
> to
> > > see
> > > if this one works for you (it works for me)? If it does then can you
> see
> > > any
> > > differences between that zip and the one you get from building the
> > > distribution in your environment?
> > >
> > > Thanks for helping to debug this.
> > >
> > >   ...ant
> > >
> > > On 4/30/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Yeah, just to make sure I just did another update but I had
already:
> > > > a) Done a full update of java
> > > > b) mvn clean; mvn of java
> > > >
> > > > prior to doing mvn in java\sca\distribution
> > > >
> > > > After the new update, the previous steps, unzipping the
> distribution,
> > > and
> > > > running:
> > > >
> > > > C:\Devt\tuscany-sca-distr\tuscany-
> > > > sca-1.0-incubating-SNAPSHOT\samples\helloworld
> > > > -ws>java -cp target\sample-helloworld-ws.jar;..\..\lib\tuscany-
> > > > sca-manifest.jar
> > > > helloworld.HelloWorldServer
> > > >
> > > > I still get the error ...
> > > >
> > > > On 4/30/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > There has been a bit of renaming since that email. It does work
> for
> > me
> > > > > with
> > > > > the following, could you try like this and with the latest
> checkout
> > > and
> > > > > say
> > > > > either way if it works or doesn't?
> > > > >
> > > > > samples\helloworld-ws> java -cp target\sample-helloworld-ws.jar
> > > > > ;..\..\lib\tuscany-sca-manifest.jar helloworld.HelloWorldServer
> > > > >
> > > > > samples\helloworld-wsclient> java -cp target\sample-
> > > > > helloworld-wsclient.jar
> > > > > ;..\..\lib\tuscany-sca-manifest.jar helloworld.HelloWorldClient
> > > > >
> > > > >   ...ant
> > > > >
> > > > > On 4/30/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Ah, cool, this looks promising. Unfortunately, when I try 3),
I
> > get:
> > > > > >
> > > > > > C:\Devt\tuscany-sca-distr\tuscany-
> > > > > > sca-1.0-incubating-SNAPSHOT\samples\helloworld
> > > > > > -ws>java -cp target\sample-helloworld-ws.jar
;..\..\lib\tuscany-
> > > > > > sca-manifest.jar
> > > > > > helloworld.HelloWorldServer
> > > > > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > > > > org/apache/axis2/Axis
> > > > > > Fault
> > > > > >         at
> > > org.apache.tuscany.binding.axis2.Axis2ModuleActivator.start
> > > > > > (Axis2Modu
> > > > > > leActivator.java:60)
> > > > > >         at
> > > org.apache.tuscany.core.runtime.AbstractRuntime.initialize
> > > > > > (AbstractRu
> > > > > > ntime.java:156)
> > > > > >         at
> > > > org.apache.tuscany.host.embedded.impl.SimpleRuntimeImpl.start
> > > > > > (SimpleR
> > > > > > untimeImpl.java:166)
> > > > > >         at
> > > > > org.apache.tuscany.host.embedded.impl.DefaultSCARuntime.startup
> > > > > > (Defau
> > > > > > ltSCARuntime.java:44)
> > > > > >         at org.apache.tuscany.host.embedded.SCARuntime.start(
> > > > > > SCARuntime.java
> > > > > > :153
> > > > > > )
> > > > > >         at helloworld.HelloWorldServer.main(
> HelloWorldServer.java
> > > :15)
> > > > > >
> > > > > > I may be missing something, but I followed 1) and 2) and the
> file
> > > > names
> > > > > in
> > > > > > 3) are
> > > > > > a bit different, as you can tell in the trace. So, adjusting
for
> > > those
> > > > > > name
> > > > > > diffs, I see
> > > > > > that ..\..\lib\axis2-kernel-1.2.jar does contain
> > o.a.axis2.AxisFault
> > > ,
> > > > so
> > > > > > it
> > > > > > may be
> > > > > > a manifest issue?
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > On 4/30/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 4/30/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]>
> wrote:
> > > > > > > >
> > > > > > > > Ignacio Silva-Lepe wrote:
> > > > > > > > > I am curious about these samples. In particular,
> > helloworld-ws
> > > > > > > > > defines a HelloWorldServer class with a main method that
> > > > > > > > > seems to be invocable as standalone.
> > > > > > > >
> > > > > > > > Yes, it is invocable as standalone, it's a simple Java
> program
> > > > with
> > > > > a
> > > > > > > > main method.
> > > > > > > >
> > > > > > > > > Also, the pom uses
> > > > > > > > > the mvn jar plugin to create a jar. Is there a
standalone
> > > > > > > > > environment that can be used to run the resulting jar,
> > similar
> > > > > > > > > to the previous launcher.jar?
> > > > > > > > >
> > > > > > > >
> > > > > > > > You don't need a special launcher anymore. The new
launcher
> is
> > > > > called
> > > > > > > > java.exe :) you can run HelloWorldServer directly from the
> > > command
> > > > > > line
> > > > > > > > with java.exe, or run it or debug it from an IDE like any
> > other
> > > > Java
> > > > > > > > program, without having to know about a special Tuscany
> > > launcher.
> > > > > > >
> > > > > > >
> > > > > > > And fishing for feedback on the distribution discusssion
> [1]...
> > > > > > >
> > > > > > > The current binary distribution attempts to make this easy:
> > > > > > >
> > > > > > > 1) in the java/sca/distribution folder run mvn
> > > > > > >
> > > > > > > 2) unzip java/sca/distribution/target/tuscany-
> > > > > > > sca-1.0-incubating-SNAPSHOT.zip
> > > > > > >
> > > > > > > 3) Open a cmd prompt to where you unzipped, change to the
> > > > > > > samples\helloworld-ws folder and run the following:
> > > > > > > java -cp target\tuscany-
> > > > > sample-helloworld-ws-1.0-incubating-SNAPSHOT.jar
> > > > > > > ;..\..\lib\tuscany-sca-manifest-1.0-incubating-SNAPSHOT.jar
> > > > > > > helloworld.HelloWorldServer
> > > > > > >
> > > > > > > 4) Open another cmd prompt to where you unzipped, change to
> the
> > > > > > > samples\helloworld-wsclient folder and run the following:
> > > > > > > java -cp target\tuscany-
> > > > > > > sample-helloworld-wsclient-1.0-incubating-SNAPSHOT.jar
> > > > > > ;..\..\lib\tuscany-
> > > > > > > sca-manifest-1.0-incubating-SNAPSHOT.jar
> > > helloworld.HelloWorldClient
> > > > > > >
> > > > > > >   ...ant
> > > > > > >
> > > > > > > [1]
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200704.mbox/[EMAIL 
PROTECTED]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to