On Wed, Sep 2, 2009 at 3:07 PM, Renana Heller<[email protected]> wrote:
> I am running it as a webapp (with tomcat)
> I have the messages below in tomcat log. I can see it has a problem with the
> binding.ws... ( I bolded it)
> How can I fix it?
> I used the part in the composite with a java application using tuscany 1.4
> and it worked OK.
> I switched to yuscany 2.0 in the webapp, since I needed the web
> implementation.
> should I change something in the composite?
>
Its missing all the dependency jars that are required to run the SCA
Web Services binding (we should really be giving a more helpful error
message). If you're using Maven to build then you can get the jars
included by adding the following dependency:
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-axis2</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
If you're not using maven then you'll need to add the jars manually or
using whatever your build process requires. We can workout the
complete list of jars you need if that would help.
...ant