Return-Path: Delivered-To: apmail-ws-synapse-dev-archive@www.apache.org Received: (qmail 21239 invoked from network); 8 Aug 2007 11:07:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 11:07:38 -0000 Received: (qmail 82283 invoked by uid 500); 8 Aug 2007 11:07:37 -0000 Delivered-To: apmail-ws-synapse-dev-archive@ws.apache.org Received: (qmail 82133 invoked by uid 500); 8 Aug 2007 11:07:36 -0000 Mailing-List: contact synapse-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: synapse-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list synapse-dev@ws.apache.org Received: (qmail 82122 invoked by uid 99); 8 Aug 2007 11:07:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 04:07:36 -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 (nike.apache.org: domain of ant.elder@gmail.com designates 209.85.132.248 as permitted sender) Received: from [209.85.132.248] (HELO an-out-0708.google.com) (209.85.132.248) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 11:07:27 +0000 Received: by an-out-0708.google.com with SMTP id c17so21703anc for ; Wed, 08 Aug 2007 04:07:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=T78CvJlPoO3LUdgadseUUifQuCEunPtGTGKZFqekPJfwvbF3UfMrAgR4GnFMseS/cgqhVXizpAILvDGtcbIk9tx9sr1GJsmPb1C3Rg6a9sMiSwk1M9Y0Ja1GMmFUK/S4c+4gFp5IQl8gWlwcSjMxZAzyBEKW9LaioB2lLC7gVK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=rnfKk3KSaLv2QAMBiI9hPDlBruWgqQzNviPDgdRIAzXaUvVOMuN+UgULlTp08f5KwvaJ/qnZInlVlHXqF8vHkLDJHzNowlESJRYv8wXli2JQ/2YV6WZnBYvOjin4+F4DK5EobwqJHlk2bHiKxeffba55p01H/TFG04/vHtdmgAg= Received: by 10.100.95.19 with SMTP id s19mr1197326anb.1186571229000; Wed, 08 Aug 2007 04:07:09 -0700 (PDT) Received: by 10.100.11.1 with HTTP; Wed, 8 Aug 2007 04:07:08 -0700 (PDT) Message-ID: <71e1b5740708080407j130763f1xe6463542c8b72412@mail.gmail.com> Date: Wed, 8 Aug 2007 12:07:08 +0100 From: "ant elder" Reply-To: antelder@apache.org To: synapse-dev@ws.apache.org Subject: Re: Deploying synapse as a web application In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_171322_17533987.1186571228968" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_171322_17533987.1186571228968 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Could you explain a bit more why this modification to the server.xml is necessary? I'm sure there's a good reason, just it would be a lot more user friendly if we could find a way to avoid it. ...ant On 8/8/07, indika kumara wrote: > > hi all > > I had already done required changes to the synapse code base and also > those changes had already committed. I have tested only it in the tomcat > .All the things have to do ,in order to deploy the synapse as a web > application are > > 1. > > edit the server.xml of the tomcat > > add a context to the host > > > 2. > > add the synapse.home as an init-param to the StartUpServlet > > web.xml file is located in @synapse.home@/webapp/WEB-INF/web.xml > > > synapse.home =96 absolute path to the synapse binary distribution. > > thanks > > indika > > > ------=_Part_171322_17533987.1186571228968 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Could you explain a bit more why this modification to the server.xml is nec= essary? I'm sure there's a good reason, just it would be a lot more= user friendly if we could find a way to avoid it.

   ...a= nt

On 8/8/07, i= ndika kumara <indika@apache.org= > wrote:
=09 =09 =09 =09 =09 =09 =09hi all

I had already done required changes to the synapse code base and also those changes had already committed. I have tested only it in the tomcat .All the things have to do ,in order to deploy the synapse as a web application are
  1. edit the server.= xml =09of the tomcat

    =09

    add a context to = the =09host=20 =09

    =09

    =09 <Context path=3D"/synapse" docBase=3D"@synapse.home= @"/>

    =09
  2. =09add the synapse.home as an init-param to the StartUpServlet

    =09

    web.xml file is locat= ed =09in @synapse.home@/webapp/WEB-INF/web.xml


synapse.home =96 absolut= e path to the synapse binary distribution.

thanks=20

indika



------=_Part_171322_17533987.1186571228968--