Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 11287 invoked from network); 18 Mar 2008 15:43:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 15:43:45 -0000 Received: (qmail 74326 invoked by uid 500); 18 Mar 2008 15:43:42 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73813 invoked by uid 500); 18 Mar 2008 15:43:41 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 73800 invoked by uid 99); 18 Mar 2008 15:43:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 08:43:41 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of c1vamsi1c@gmail.com designates 72.14.204.224 as permitted sender) Received: from [72.14.204.224] (HELO qb-out-0506.google.com) (72.14.204.224) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 15:43:03 +0000 Received: by qb-out-0506.google.com with SMTP id d8so5393580qbc.3 for ; Tue, 18 Mar 2008 08:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=g5tcDlOp1KuO1g4P7Vg54Kl5XH1DU1oFEg6+KErwwEs=; b=lY2ftJVxDE59y6MqwNlb9x4ZwBvlVbeldkef+pi7V+hduM/xZ8w0VM7Wf3tTrkcc9/Z+BLVDMvrK9CrE0BA7oWnrmheDaCxuQW4ogwDK9aJWTQbuDRuo8/19UifJc99J1W4cbpa4YV9ftp5nB2hqr95eiRVx1OXD91c1Dd/jUOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=LjBaevmgsjhsrk3/7FciKjOe9UeT2u9vAEfpS4BkoV8anF3fRG+t2/wnaicYcDNT/Abp6h2i1hluT7FHPp+479H/RHwIPMUmEeySmWtaSWlEfpqcmABXa4lpFh9Bnpoy47I5zBhQpFQObsIpVYR3SgdKIBuZ4/r6rAJC+7jZWxQ= Received: by 10.142.178.13 with SMTP id a13mr1099808wff.146.1205854990802; Tue, 18 Mar 2008 08:43:10 -0700 (PDT) Received: by 10.142.233.12 with HTTP; Tue, 18 Mar 2008 08:43:10 -0700 (PDT) Message-ID: <22d56c4d0803180843g28efb7c7v8ff42946f86936aa@mail.gmail.com> Date: Tue, 18 Mar 2008 21:13:10 +0530 From: "Vamsavardhana Reddy" To: dev@geronimo.apache.org Subject: Re: Geronimo Tomcat 2.1 clustering - application deployment problems In-Reply-To: <41DBC735-CC39-4B76-AB16-368CF660A8F4@optusnet.com.au> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13479_19676352.1205854990661" References: <22d56c4d0803180357j536aa221x105c682683d56e01@mail.gmail.com> <41DBC735-CC39-4B76-AB16-368CF660A8F4@optusnet.com.au> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13479_19676352.1205854990661 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Gianny. I will try with the new DD and get back if there is any problem. ++Vamsi On Tue, Mar 18, 2008 at 6:11 PM, Gianny Damour < gianny.damour@optusnet.com.au> wrote: > Hello, > > This is a problem with the deployment descriptor. You name of the > clustering substitution group element is tomcat-clustering-wadi for > tomcat and not clustering-wadi. As a matter of fact, I have on my to- > do list a task to refactor substitution group element builders for > Tomcat, Jetty and OpenEJB so that all of them offer the same external > structure to end-users. > > Here is an updated DD: > > > > > > > > org.codehaus.wadi > wadi-webapp > 2.0M3-SNAPSHOT > war > > > > <-- this is the correct element name to > use for tomcat. > > > > Thanks, > Gianny > > > On 18/03/2008, at 9:57 PM, Vamsavardhana Reddy wrote: > > > I have attempted the steps from http://cwiki.apache.org/GMOxDEV/ > > clustering-configuration-for-jetty.html with Geronimo Tomcat 2.1. > > even though org.apache.geronimo.configs/jetty6-clustering-builder- > > wadi//car is running, deploying the sample application resulted in > > an error given below: > > > > > error: cvc-complex-type.2.4a: Expected elements 'context- > > root@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 work- > > dir@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 > > clustering@http://geronimo.apache.org/xml/ns/j2ee/application-2.0 > > web-container@http://geronimo.apache.org/xml/ns/naming-1.2 > > host@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cross- > > context@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 > > disable-cookies@http://geronimo.apache.org/xml/ns/j2ee/web/ > > tomcat-2.0.1 valve-chain@http://geronimo.apache.org/xml/ns/j2ee/web/ > > tomcat-2.0.1 listener-chain@http://geronimo.apache.org/xml/ns/j2ee/ > > web/tomcat-2.0.1 tomcat-realm@http://geronimo.apache.org/xml/ns/ > > j2ee/web/tomcat-2.0.1 manager@http://geronimo.apache.org/xml/ns/ > > j2ee/web/tomcat-2.0.1 cluster@http://geronimo.apache.org/xml/ns/ > > j2ee/web/tomcat-2.0.1 abstract-naming-entry@http:// > > geronimo.apache.org/xml/ns/naming-1.2 ejb-ref@http:// > > geronimo.apache.org/xml/ns/naming-1.2 ejb-local-ref@http:// > > geronimo.apache.org/xml/ns/naming-1.2 service-ref@http:// > > geronimo.apache.org/xml/ns/naming-1.2 resource-ref@http:// > > geronimo.apache.org/xml/ns/naming-1.2 resource-env-ref@http:// > > geronimo.apache.org/xml/ns/naming-1.2 message-destination@http:// > > geronimo.apache.org/xml/ns/naming-1.2 security-realm-name@http:// > > geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 service@http:// > > geronimo.apache.org/xml/ns/deployment-1.2 persistence@http:// > > java.sun.com/xml/ns/persistence' instead of 'clustering-wadi@http:// > > geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1' here > > > > > > > > The deployment plan I am using is: > > > > > > > > > > > > > > > > org.codehaus.wadi > > wadi-webapp > > 2.0M3-SNAPSHOT > > war > > > > > > > > > > > > > > > > ------=_Part_13479_19676352.1205854990661 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Gianny.  I will try with the new DD and get back if there is any problem.

++Vamsi

On Tue, Mar 18, 2008 at 6:11 PM, Gianny Damour <gianny.damour@optusnet.com.au> wrote:
Hello,

This is a problem with the deployment descriptor. You name of the
clustering substitution group element is tomcat-clustering-wadi for
tomcat and not clustering-wadi. As a matter of fact, I have on my to-
do list a task to refactor substitution group element builders for
Tomcat, Jetty and OpenEJB so that all of them offer the same external
structure to end-users.

Here is an updated DD:

<?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2">

    <environment>
        <moduleId>
            <groupId>org.codehaus.wadi</groupId>
            <artifactId>wadi-webapp</artifactId>
            <version>2.0M3-SNAPSHOT</version>
            <type>war</type>
        </moduleId>
    </environment>

   <tomcat-clustering-wadi/> <-- this is the correct element name to
use for tomcat.

</web-app>

Thanks,
Gianny


On 18/03/2008, at 9:57 PM, Vamsavardhana Reddy wrote:

> I have attempted the steps from http://cwiki.apache.org/GMOxDEV/
> clustering-configuration-for-jetty.html with Geronimo Tomcat 2.1.
> even though org.apache.geronimo.configs/jetty6-clustering-builder-
> wadi//car is running, deploying the sample application resulted in
> an error given below:
>

> error: cvc-complex-type.2.4a: Expected elements 'context-
> root@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 work-
> dir@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> clustering@http://geronimo.apache.org/xml/ns/j2ee/application-2.0
> web-container@http://geronimo.apache.org/xml/ns/naming-1.2
> host@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cross-
> context@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> disable-cookies@http://geronimo.apache.org/xml/ns/j2ee/web/
> tomcat-2.0.1 valve-chain@http://geronimo.apache.org/xml/ns/j2ee/web/
> tomcat-2.0.1 listener-chain@http://geronimo.apache.org/xml/ns/j2ee/
> web/tomcat-2.0.1 tomcat-realm@http://geronimo.apache.org/xml/ns/
> j2ee/web/tomcat-2.0.1 manager@http://geronimo.apache.org/xml/ns/
> j2ee/web/tomcat-2.0.1 cluster@http://geronimo.apache.org/xml/ns/
> j2ee/web/tomcat-2.0.1 abstract-naming-entry@http://
> geronimo.apache.org/xml/ns/naming-1.2 ejb-ref@http://
> geronimo.apache.org/xml/ns/naming-1.2 ejb-local-ref@http://
> geronimo.apache.org/xml/ns/naming-1.2 service-ref@http://
> geronimo.apache.org/xml/ns/naming-1.2 resource-ref@http://
> geronimo.apache.org/xml/ns/naming-1.2 resource-env-ref@http://
> geronimo.apache.org/xml/ns/naming-1.2 message-destination@http://
> geronimo.apache.org/xml/ns/naming-1.2 security-realm-name@http://
> geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 service@http://
> geronimo.apache.org/xml/ns/deployment-1.2 persistence@http://
> java.sun.com/xml/ns/persistence' instead of 'clustering-wadi@http://
> geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1' here
>
>


> The deployment plan I am using is:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/
> tomcat-1.2">
>
>     <environment>
>         <moduleId>
>             <groupId>org.codehaus.wadi</groupId>
>             <artifactId>wadi-webapp</artifactId>
>             <version>2.0M3-SNAPSHOT</version>
>             <type>war</type>
>         </moduleId>
>     </environment>
>
>    <clustering-wadi/>
>
> </web-app>
>


------=_Part_13479_19676352.1205854990661--