This looks like its caused by the move up to Axis2 1.2 which has in its pom
a dependeny on woodstox 3.2.1 where as Tuscany is using 3.2.0. I guess Maven
is getting confused as there's two versions and the one that ends up getting
used is environment dependent. I've added excludes for the 3.2.1
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
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
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
Great! Thanks for taking the time to debug the issues.
...ant
On 5/1/07, Ignacio Silva-Lepe [EMAIL PROTECTED] wrote:
Ok, yes, could not right away tell whether the databinding NPE was caused
by databinding code or not. I have rebuilt spec/sdo-api and sdo and the
distribution and now the
Ant,
FWIW, this still isn't working for me. I just did an update and a full
build and I'm getting the following:
Exception in thread main javax.xml.stream.FactoryConfigurationError:
Provider com.bea.xml.stream.MXParserFactory not found
at
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
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
-wsjava -cp target\sample-helloworld-ws.jar;..\..\lib\tuscany-
sca-manifest.jar
helloworld.HelloWorldServer
Exception in thread main
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
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-
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
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:
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
13 matches
Mail list logo