Indeed there was a mismatch since some of the dependencies were to version
2.0-M3

But,

when I changed everything to have 2.0-M3 version I still get the same error,
but when I change everything to version 2.0-SNAPSHOT I get this error:

SEVERE:     Resource '/WEB-INF/lib/tuscany-assembly-2.0-*M3*.jar' is missing


Why does tuscany-binding-ws-axis2 2.0-SNAPSHOT requires jars from version
2.0-M3?

Thanks,
Renana

2009/9/3 ant elder <[email protected]>

> Could it be now some of the jars are from different builds with the ws
> binding jars being from a later build than the core jars so there is a
> method mismatch somewhere? I can republish all the snapshot jars from
> the current trunk build if that will help.
>
>   ...ant
>
> On Thu, Sep 3, 2009 at 10:01 AM, Renana Heller<[email protected]> wrote:
> > I added the dependency and all the other jars that were required, and now
> I
> > get the following error in tomcat log:
> >
> > 03/09/2009 11:58:30 org.apache.catalina.core.StandardContext reload
> > INFO: Reloading this Context has started
> > 03/09/2009 11:58:30 org.apache.catalina.core.ContainerBase stop
> > INFO: Container
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/helloworld-jsp].[jsp]
> > has not been started
> > 03/09/2009 11:58:30 org.apache.catalina.core.ContainerBase stop
> > INFO: Container
> >
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/helloworld-jsp].[default]
> > has not been started
> > 03/09/2009 11:58:30 org.apache.tuscany.sca.node.impl.NodeImpl stop
> > INFO: Stopping node: helloworld-jsp
> > 03/09/2009 11:58:30
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
> > processChildren
> > SEVERE: Exception invoking periodic operation:
> > java.lang.NoClassDefFoundError:
> > org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl$4
> > at
> >
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:632)
> > at
> >
> org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:521)
> > at org.apache.tuscany.sca.node.impl.NodeImpl.stop(NodeImpl.java:112)
> > at
> >
> org.apache.tuscany.sca.host.webapp.ServletHostHelper.stop(ServletHostHelper.java:179)
> > at
> >
> org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.destroy(TuscanyServletFilter.java:54)
> > at
> >
> org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332)
> > at
> >
> org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3835)
> > at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4567)
> > at
> >
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3184)
> > at
> >
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
> > at
> >
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
> > at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
> > at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> > at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> > at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
> > at java.lang.Thread.run(Thread.java:619)
> >
> > What does this error mean?
> > how can I fix it?
> > Thanks,
> > Renana
> >
> > 2009/9/3 ant elder <[email protected]>
> >>
> >> 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
> >
> >
> > --
> > Best,
> > Renana.
> >
>


-- 
Best,
Renana.

Reply via email to