Return-Path: X-Original-To: apmail-tuscany-user-archive@www.apache.org Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6E9D97BB for ; Thu, 24 Nov 2011 18:26:25 +0000 (UTC) Received: (qmail 4037 invoked by uid 500); 24 Nov 2011 18:26:25 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 3898 invoked by uid 500); 24 Nov 2011 18:26:25 -0000 Mailing-List: contact user-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@tuscany.apache.org Delivered-To: mailing list user@tuscany.apache.org Received: (qmail 3887 invoked by uid 99); 24 Nov 2011 18:26:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 18:26:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.86.89.67] (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 18:26:17 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=QdWfJln1o5Ne6lUjrkOnHYaqiqkNFB8Z9L+PLXA6PP/I0pgmu7HW+r1Nz2itYsKC; h=Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Content-Language:Thread-Index:X-ELNK-Trace:X-Originating-IP; Received: from [64.203.12.182] (helo=vail) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1RTdzf-000506-Tb for user@tuscany.apache.org; Thu, 24 Nov 2011 13:25:56 -0500 From: "Ted Stevens" To: Subject: unsubscribe Date: Thu, 24 Nov 2011 10:25:55 -0800 Message-ID: <00bf01ccaad6$818aeaf0$84a0c0d0$@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-Index: Acyq1nuoXwlZb7WeS5C0fJwEMJkGEg== X-ELNK-Trace: 69e8fbae3384c216be06ad9ebadac8679ef193a6bfc3dd48646d5401fa59562d09775d98dbfa9e8c3396037c9e1b016b350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 64.203.12.182 X-Virus-Checked: Checked by ClamAV on apache.org unsubscribe -----Original Message----- From: Antonio De Berardis [mailto:antonio.de-berardis@aps-prevoyance.fr] = Sent: Thursday, November 24, 2011 8:27 AM To: user@tuscany.apache.org Subject: Re: tomcat integration help (tuscany 2.0beta3) Le 21/11/2011 14:43, ant elder a =E9crit : > On Wed, Nov 16, 2011 at 4:09 PM, Antonio De Berardis=20 > wrote: >> Hi, I'm trying to deploy a WebApp (included here as attachment) in a=20 >> Tomcat >> 6 instance, where I deployed and installed tuscany-war-2.0-Beta3.war. >> >> The error is: >> >> java.lang.RuntimeException: = java.lang.reflect.InvocationTargetException >> at >> org.apache.tuscany.sca.tomcat.TuscanyStandardContext.initDomain(TuscanySt= and ardContext.java:177) >> at >> org.apache.tuscany.sca.tomcat.TuscanyStandardContext.initTuscany(TuscanyS= tan dardContext.java:142) >> at >> org.apache.tuscany.sca.tomcat.TuscanyStandardContext.getLoader(TuscanySta= nda rdContext.java:75) >> at >> = org.apache.catalina.core.StandardContext.start(StandardContext.java:4514)= >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav= a:7 99) >> at >> = org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) >> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) >> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) >> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) >> at >> org.apache.tuscany.sca.tomcat.TuscanyHostConfig.deployApps(TuscanyHostCon= fig .java:47) >> at = org.apache.catalina.startup.HostConfig.check(HostConfig.java:1383) >> at >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306= ) >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup= por t.java:142) >> at >> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.ja= va: 1385) >> at >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proce= ssC hildren(ContainerBase.java:1649) >> at >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proce= ssC hildren(ContainerBase.java:1658) >> at >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(C= ont ainerBase.java:1638) >> at java.lang.Thread.run(Thread.java:679) >> Caused by: java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57 ) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl .java:43) >> at java.lang.reflect.Method.invoke(Method.java:616) >> at >> org.apache.tuscany.sca.tomcat.TuscanyStandardContext.initDomain(TuscanySt= and ardContext.java:175) >> ... 17 more >> Caused by: java.lang.IllegalStateException: >> org.oasisopen.sca.ServiceRuntimeException: No DomainRegistry can=20 >> support tuscany:default >> at = org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:195) >> ... 22 more >> Caused by: org.oasisopen.sca.ServiceRuntimeException: No=20 >> DomainRegistry can support tuscany:default >> at >> org.apache.tuscany.sca.runtime.ExtensibleDomainRegistryFactory.getEndpoin= tRe gistry(ExtensibleDomainRegistryFactory.java:113) >> at = org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:143) >> ... 22 more >> >> When tomcat starts I have a warning, but the Tuscany-war webapp seems = >> to start. I don' know if this warning is the cause of the above = error... >> >> WARN: [SetPropertiesRule]{Server/Service/Engine/Host} Setting=20 >> property 'hostConfigClass' to=20 >> 'org.apache.tuscany.sca.tomcat.TuscanyHostConfig' did not find a = matching property. >> 16 nov. 2011 16:49:44=20 >> org.apache.tuscany.sca.tomcat.TuscanyLifecycleListener >> lifecycleEvent >> INFO: Using Tuscany webapp: >> /home/antonio/test/tuscany-tomcat-6.0.32/webapps/tuscany-war-2.0-Beta >> 3 >> 16 nov. 2011 16:49:44=20 >> org.apache.tuscany.sca.tomcat.TuscanyLifecycleListener >> lifecycleEvent >> INFO: Tuscany enabled on connector: localhost:8080 >> 16 nov. 2011 16:49:44=20 >> org.apache.tuscany.sca.tomcat.TuscanyLifecycleListener >> lifecycleEvent >> INFO: Tuscany enabled on connector: localhost:8009 >> 16 nov. 2011 16:49:45 org.apache.coyote.http11.Http11Protocol init >> INFO: Initialisation de Coyote HTTP/1.1 sur http-8080 >> 16 nov. 2011 16:49:45 org.apache.catalina.startup.Catalina load >> INFO: Initialization processed in 357 ms >> 16 nov. 2011 16:49:45 org.apache.catalina.core.StandardService start >> INFO: D=E9marrage du service Catalina >> 16 nov. 2011 16:49:45 org.apache.catalina.core.StandardEngine start >> INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 >> ... >> >> ... >> 16 nov. 2011 16:49:45 org.apache.catalina.startup.Catalina start >> INFO: Server startup in 570 ms >> >> Any help will be appreciated. >> >> Antonio De Berardis >> > In your Tomcat install in the conf folder the server.xml has the=20 > Tuscany configuration, near the top is the line: > > /> > > try changing that to be: > > domainURI=3D"default" /> > > I've tried that with your _TestSCA.war and with that change i now see=20 > the endpoints for the components come active. > > ...ant Hi, why if I include a META-INF/context.xml in my war it doesn't work? My context.xml is: If I remove this file it works... Antonio