Thanks Raymond, this fixed the ClassNotFound issue, but now I have started
to get another weired issue, any ideas ?
SEVERE: Exception sending context initialized event to listener instance of
class org.apache.tuscany.runtime.webapp.TuscanyContextListener
org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
org.apache.tuscany.spi.loader.UnrecognizedElementException: Unrecognized
element
at org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(
WebappRuntimeImpl.java:157)
--
Luciano Resende
http://people.apache.org/~lresende
On 12/15/06, Raymond Feng <[EMAIL PROTECTED]> wrote:
Hi,
You need to add the following dependency to your web application pom.xml.
<!-- runtime is need for webapp integration to include jar -->
<dependency>
<groupId>org.apache.tuscany.sca.runtime</groupId>
<artifactId>webapp</artifactId>
<version>${tuscanyVersion}</version>
<scope>runtime</scope>
</dependency>
Thanks,
Raymond
----- Original Message -----
From: "Luciano Resende" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 15, 2006 1:30 PM
Subject: Re: Help with DAS Container and ClassNotFound Exception
> Isn't the right place of dependency jars taken care by our maven plugin
?
> do
> we have a bug there ? Or i might have wrong info in my pom ?
>
https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/lresende/container.das.client/pom.xml
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
>
> On 12/15/06, Raymond Feng <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> You're missing webapp-1.0-incubator-SNAPSHOT.jar in the WEB-INF/lib
>> folder.
>> It was misplaced in WEB-INF/tuscany/boot in your case.
>>
>> Thanks,
>> Raymond
>>
>> ----- Original Message -----
>> From: "Luciano Resende" <[EMAIL PROTECTED]>
>> To: "tuscany-dev" <[email protected]>
>> Sent: Friday, December 15, 2006 12:34 PM
>> Subject: Help with DAS Container and ClassNotFound Exception
>>
>>
>> > Hi Guys
>> >
>> > I've recently started to get classNotFound with
>> > TuscanyContextListener
>> > in
>> > the das container sample app available in my sandbox, and looks like
>> Amita
>> > is getting same behaviour while trying the code from my sandbox in
TC,
>> and
>> > we would like some help or ideas on what the problem might be...
>> >
>> > Here is the full stack trace
>> >
>> > SEVERE: Error configuring application listener of class
>> > org.apache.tuscany.runtime.webapp.TuscanyContextListener
>> > java.lang.ClassNotFoundException:
>> > org.apache.tuscany.runtime.webapp.TuscanyContextListener
>> > at org.apache.catalina.loader.WebappClassLoader.loadClass(
>> > WebappClassLoader.java:1352)
>> > at org.apache.catalina.loader.WebappClassLoader.loadClass(
>> > WebappClassLoader.java:1198)
>> > at org.apache.catalina.core.StandardContext.listenerStart(
>> > StandardContext.java:3677)
>> > at org.apache.catalina.core.StandardContext.start(
>> StandardContext.java
>> > :4187)
>> > at org.apache.catalina.core.ContainerBase.addChildInternal(
>> > ContainerBase.java:759)
>> > at
>> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
>> > :739)
>> > at
>> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>> > at org.apache.catalina.startup.HostConfig.deployDescriptor(
>> > HostConfig.java:608)
>> > at org.apache.catalina.startup.HostConfig.deployDescriptors(
>> > HostConfig.java:535)
>> > at org.apache.catalina.startup.HostConfig.deployApps(
HostConfig.java
>> > :470)
>> > at
>> > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>> > at
>> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
>> > :310)
>> > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
>> > LifecycleSupport.java:119)
>> > at
>> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>> > at
>> > org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>> > at
>> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>> > at org.apache.catalina.core.StandardEngine.start(
StandardEngine.java
>> > :442)
>> > at org.apache.catalina.core.StandardService.start(
>> StandardService.java
>> > :450)
>> > at org.apache.catalina.core.StandardServer.start(
StandardServer.java
>> > :709)
>> > at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke(
>> > NativeMethodAccessorImpl.java:39)
>> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > DelegatingMethodAccessorImpl.java:25)
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>> >
>> > Just in case, here are the files that were loaded to my app war file
:
>> >
>> > Directory of D:\Opensource\apache-
>> >
>>
tomcat-5.5.17\webapps\container-das-sample-client-1.0-incubator-SNAPSHOT\WEB-INF\lib
>> >
>> > 12/15/2006 11:28 AM <DIR> .
>> > 12/15/2006 11:28 AM <DIR> ..
>> > 11/10/2006 11:56 AM 156,387 common-2.2.1.jar
>> > 11/10/2006 11:56 AM 750,036 ecore-2.2.1.jar
>> > 11/10/2006 11:56 AM 69,770 ecore-change-2.2.1.jar
>> > 11/10/2006 11:56 AM 170,049 ecore-xmi-2.2.1.jar
>> > 11/10/2006 11:58 AM 358,085 log4j-1.2.12.jar
>> > 12/15/2006 10:43 AM 28,069
>> > sca-api-r0.95-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 10:43 AM 31,947
>> > sdo-api-r2.1-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 10:44 AM 11,829
>> > tuscany-api-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 10:44 AM 187,171
>> > tuscany-das-rdb-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 10:43 AM 292,741
>> > tuscany-sdo-impl-1.0-incubator-SNAPSHOT.jar
>> > 11/10/2006 11:56 AM 703,208 xsd-2.2.1.jar
>> > 11 File(s) 2,759,292 bytes
>> >
>> >
>> > Directory of D:\Opensource\apache-
>> >
>>
tomcat-5.5.17\webapps\container-das-sample-client-1.0-incubator-SNAPSHOT\WEB-INF\tuscany\boot
>> >
>> > 12/15/2006 11:28 AM <DIR> .
>> > 12/15/2006 11:28 AM <DIR> ..
>> > 12/15/2006 11:27 AM 37,854 classworlds-1.1.jar
>> > 12/15/2006 11:27 AM 14,058 commonj-api_r1.1-
>> > 1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 30,117 commons-cli-1.0.jar
>> > 12/15/2006 11:27 AM 447,909
core-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 5,936 doxia-sink-api-1.0-alpha-7.jar
>> > 12/15/2006 11:27 AM 117,174 jsch-0.1.24.jar
>> > 12/15/2006 11:27 AM 121,070 junit-3.8.1.jar
>> > 12/15/2006 11:27 AM 15,244
maven-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 80,264 maven-artifact-2.0.4.jar
>> > 12/15/2006 11:27 AM 49,020
maven-artifact-manager-2.0.4.jar
>> > 12/15/2006 11:27 AM 136,456 maven-core-2.0.4.jar
>> > 12/15/2006 11:27 AM 20,615 maven-embedder-2.0.4.jar
>> > 12/15/2006 11:27 AM 8,592
>> > maven-error-diagnostics-2.0.4.jar
>> > 12/15/2006 11:27 AM 80,187 maven-model-2.0.4.jar
>> > 12/15/2006 11:27 AM 5,734 maven-monitor-2.0.4.jar
>> > 12/15/2006 11:27 AM 8,331 maven-plugin-api-2.0.4.jar
>> > 12/15/2006 11:27 AM 32,166
>> > maven-plugin-descriptor-2.0.4.jar
>> > 12/15/2006 11:27 AM 16,298
>> > maven-plugin-parameter-documenter-2.0.4.jar
>> > 12/15/2006 11:27 AM 23,996
maven-plugin-registry-2.0.4.jar
>> > 12/15/2006 11:27 AM 30,232 maven-profile-2.0.4.jar
>> > 12/15/2006 11:27 AM 108,993 maven-project-2.0.4.jar
>> > 12/15/2006 11:27 AM 4,987 maven-reporting-api-2.0.4.jar
>> > 12/15/2006 11:27 AM 19,707
>> maven-repository-metadata-2.0.4.jar
>> > 12/15/2006 11:27 AM 43,787 maven-settings-2.0.4.jar
>> > 12/15/2006 11:27 AM 195,394
>> > plexus-container-default-1.0-alpha-9.jar
>> > 12/15/2006 11:27 AM 13,407
>> > plexus-interactivity-api-1.0-alpha-4.jar
>> > 12/15/2006 11:27 AM 168,568 plexus-utils-1.1.jar
>> > 12/15/2006 11:27 AM 26,514 stax-api-1.0.1.jar
>> > 12/15/2006 11:27 AM 15,307
>> > tuscany-host-api-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 192,787
>> > tuscany-spi-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 4,724 wagon-file-1.0-alpha-7.jar
>> > 12/15/2006 11:27 AM 8,336
>> > wagon-http-lightweight-1.0-alpha-6.jar
>> > 12/15/2006 11:27 AM 42,727
>> wagon-provider-api-1.0-alpha-6.jar
>> > 12/15/2006 11:27 AM 32,265 wagon-ssh-1.0-alpha-7.jar
>> > 12/15/2006 11:27 AM 9,766
>> wagon-ssh-external-1.0-alpha-6.jar
>> > 12/15/2006 11:27 AM 20,152
>> > webapp-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 19,230
>> > webapp-host-1.0-incubator-SNAPSHOT.jar
>> > 12/15/2006 11:27 AM 474,413 wstx-asl-3.0.1.jar
>> > 38 File(s) 2,682,317 bytes
>> >
>> > Directory of D:\Opensource\apache-
>> >
>>
tomcat-5.5.17\webapps\container-das-sample-client-1.0-incubator-SNAPSHOT\WEB-INF\tuscany\extensions
>> >
>> > 12/15/2006 11:28 AM <DIR> .
>> > 12/15/2006 11:28 AM <DIR> ..
>> > 12/15/2006 11:27 AM 30,482 das-1.0-incubator-SNAPSHOT.jar
>> > 1 File(s) 30,482 bytes
>> >
>> >
>> > --
>> > Luciano Resende
>> > http://people.apache.org/~lresende
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]