Sanjesh
Glad to hear that you got things to work. We will primarily distribute
Synapse as a mar, and also a standalone version with a bundled Axis2.
Though you can get a mar to be deployed on an Axis2 which is already
deployed as a war, your J2EE app server may only allow http/s requests
matching the application context you deploy into, to be intercepted by
Synapse - unless you deploy Synapse/Axis2 in the root. This may also
have limitations on us being able to use non-blocking IO etc in future
Hence, for a Synapse deployment we suggest a standalone installation
which will only perform high throughput message mediation.
asankha
Sanjesh Pathak wrote:
Hi Asanka,
Thanks for
the pointers. I had not noticed
that real endpoint address in synapse.xml from the latest SVN was
different
from the M2 bundled version. I have changed it and it is working now.
Moving
ahead into the future what kind of distribution will be followed for
synapse.
Will it be distributed as module (.mar file) for Axis2?
Thanks,
Sanjesh
From:
Asankha C. Perera [ mailto:[EMAIL PROTECTED] ]
Sent: Sunday, August
13, 2006 1:17
PM
To: synapse-dev@ws.apache.org
Subject: Re: error
running
StockQuote in Tomcat
Sanjesh
We have a problem with the stock quote service bundled in M2, as the
target WS
we used does not work anymore. Could you let me know if you are using
the
latest from SVN and also the erro you get? You will need to build and
deploy
the sample WS that we now ship
(modules\samples\services\SimpleStockQuoteService), into a (separate)
Axis2
server to run the samples now. Also we are probably going to drop
support for
the WAR distribution, as it doesn't allow Synapse to work well under
another
J2EE app server, so could you try the standalone version
asankha
Sanjesh Pathak wrote:
Hi,
I downloaded source code and built war file and installed it on Tomcat.
I can see the listServices page and I see a service named Synapse.
When I invoke the client (DumnStockQuoteClient) I am getting an error. I
used all the combinations of urls mentioned below. Has anyone successfully
invoked client under Tomcat?
Sanjesh
---------------------------------------------------
Hi David,
With a minor modification you can run all the samples, where Synapse is
deployed in Tomcat.
I may suggest following as a work around,
Since we are using SimpleHTTPServer, what we really need to worry about
is
host and port.
But when we deployed Synapse in Tomcat, we need to consider the context
root
as well.
i.e, you should point the request to http://localhost:8080/synapse/
Current web.xml that comes with synapse.war has a mapping only to
direct
http://localhost:8080/synapse/services/ to Synapse
Environment.
So you can run the samples if you point,
String turl = " http://localhost:8080/synapse/services/any
so using the goal "maven war" you can generate the synapse.war
{currently
available in M1 release}. But when you running the sample please use the
above workaround.
But as a long term solution above is unacceptable. We'll fix it ASAP.
Thank you
Saminda
On 2/8/06, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
>
>
> >
> > Example: *ant stockquote*
> > **
> > Running this returns
> > org.apache.axis2.AxisFault:
> > com.ctc.wstx.exc.Wstx.UnexpectedCharException: Unexpected
character d
> > (code 100).
> >
>
> When we ship M1, we actually tested everything to work with
> SimpleHTTPServer.
>
> I'm getting the same exception when deployed the synapse.war in
Tomcat and
> run the samples.
>
> So IMHO we should try to fix this problem in M2 release.
>
> Please be kind enough to log a JIRA so we can track down the
problem and
> rectify it.
>
> Thank you
>
> Saminda
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]