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
> 

 

Reply via email to