[esb-java-dev] tomcat/war support
Upul Godage
upulg.dev at gmail.com
Thu Aug 30 03:40:51 PDT 2007
Hi,
I was able to run Synapse SNAPSHOT on Axis2 1.3 WAR on top of Tomcat 5
Servlet container. I have run some Synapse samples. Axis2 Version web
service ran without any problems with Synapse deployed.
What I did was,
Deployed Axis2 1.3 WAR in Tomcat 5.
In the exploded WAR,
- added Synapse mar module.
- module entry in axis2.xml
- 4 Synapse jars + 2 Sandesha jars in axis2 WAR lib directory
- Synapse configuration xml given as a system variable (-D...) synapse.xml
- Synapse home directory given as a system variable (-D...) for file
locations when some samples needed files. e.g. WSDL file for proxy service
Upul
On 8/30/07, Upul Godage <upulg.dev at gmail.com> wrote:
>
> Hi,
>
> I was able to run Synapse SNAPSHOT on Axis2 1.3 WAR on top of Tomcat 5
> Servlet container. I have run some Synapse samples. Axis2 Version web
> service ran without any problems with Synapse deployed.
>
> What I did was,
> Deployed Axis2 1.3 WAR in Tomcat 5.
> In the exploded WAR,
> - added Synapse mar module.
> - module entry in axis2.xml
> - 4 Synapse jars + 2 Sandesha jars in axis2 WAR lib directory
> - Synapse configuration xml given as a system variable (-D...) synapse.xml
> - Synapse home directory given as a system variable (-D...) for file
> locations when some samples needed files. e.g. WSDL file for proxy service
>
> Upul
>
>
>
> >
> >
> > On 8/30/07, Asankha C. Perera <asankha at wso2.com> wrote:
> > >
> > > Sanjiva
> > > > what I'm saying is that it should be possible for someone to use
> > > > Synapse/ESB as a regular old Axis2 module without anything extra!
> > > The
> > > > limitations you mention are part of Axis2 (and any other WS-*
> > > runtime
> > > > that uses regular servlets) too - and its something users are
> > > willing
> > > > to live with obviously (for some scenarios at least).
> > > Upul looked into this today, but so far the response from Synapse did
> > > not reach the actual client that sent the request to Synapse. This
> > > requires a bit of debugging to find out the root cause.. I will update
> > > on this as soon as we know something.
> > > > I still don't understand why you're opposed to just making it work
> > > > right as a "regular" Axis2 module and simply document all the
> > > > limitations it comes with!
> > > No.. I am not opposed.. but I think the non-servlet model is better
> > > suited.. maybe I am wrong. We will certainly support both options
> > > anyway
> > > for 1.1 release, and as soon as Upul figures out what needs to be done
> > >
> > > we could discuss specifics
> > > > Oh BTW have you guys made progress with moving the NIO transport to
> > > > Axis2? Axis2 needs that too for sure.
> > > Yep.. this went into the Axis2 1.3 release
> > >
> > > thanks
> > > asankha
> > >
> > > _______________________________________________
> > > Esb-java-dev mailing list
> > > Esb-java-dev at wso2.org
> > > http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/esb-java-dev/attachments/20070830/a7f50790/attachment.htm
More information about the Esb-java-dev
mailing list