hi

What I have done is create a single distribution of the synapse that holds
the web application component as well as the other files and
folders(registry ,sample axis2 server,services ,sample clients ..etc..). If
anyone wants to deploy the synapse on an existing Tomcat or other J2EE
server, then It is need to pointing web application location(because we have
not create synapse.war to deploy on tomcat wepapps directory ).Therefore It
is need to add context to the host in server.xml which point to the synapse
webapp directory of the synapse standalone distribution . But now,we thinks
this will not user friendly so it is seems better to distribute separate war
and standalone distributions . Then editing server.xml can be avoided and
just need to deploy syanpse.war file .

thanks

indika





On 8/8/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]> 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
> >
> >    <Context path="/synapse" docBase="@synapse.home@"/>
> >    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 – absolute path to the synapse binary distribution.
> >
> >  thanks
> >
> > indika
> >
> >
> >
>

Reply via email to