synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas" <>
Subject Re: Problem with Deprecation Mediator
Date Wed, 01 Feb 2006 04:07:45 GMT
Hi SathaKarni,

The problem is not with the DeprecationMediator per-se.
I tried to reproduce the error. I started the Synapse server on port 9090 (using the -p option)
and then went on to run the StockQuote client using the ant task in the Samples folder.
It worked fine.

Try the -Dsynapseurl='the URL on which synapse server is available' while doing ant stockquote,
instead of changing the turl.
Must be a mis-configuration.


  ----- Original Message ----- 
  From: Satha Karni 
  Sent: Monday, January 30, 2006 5:45 PM
  Subject: Problem with Deprecation Mediator

  Hi All,

  I am facing following problem while working with Deprecation Mediator sample that is packed
with Synapse-Incubating-M1-bin.

       [java] [JAM] Warning: You are running under a pre-1.5 JDK.  JSR175-style so
  urce annotations will not be available
       [java] org.apache.axis2.AxisFault: Connection refused: connect; nested exce
  ption is:
       [java] Connection refused: connect; nested e
  xception is:
       [java]     org.apache.axis2.AxisFault: Connection refused: connect; nested
  exception is:
       [java] Connection refused: connect
       [java]     at
       [java]     at org.apache.axis2.engine.AxisEngine.send(
       [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(Ou
       [java]     at org.apache.axis2.description.OutInAxisOperationClient.execute
       [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
       [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
       [java]     at samples.userguide.StockQuoteClient.main(
       [java] Caused by: org.apache.axis2.AxisFault: Connection refused: connect;
  nested exception is:
       [java] Connection refused: connect
       [java]     at org.apache.axis2.transport.http.CommonsHTTPTransportSender.wr
       [java]     at
       [java]     ... 6 more
       [java] Caused by: Connection refused: connect
       [java]     at Method)
       [java]     at
       [java]     at
       [java]     at
       [java]     at
       [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
       [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
       [java]     at java.lang.reflect.Method.invoke(
       [java]     at org.apache.commons.httpclient.protocol.ReflectionSocketFactor
       [java]     at org.apache.commons.httpclient.protocol.DefaultProtocolSocketF
       [java]     at
       [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeWithR
       [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeMetho
       [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpCl
       [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpCl
       [java]     at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPO
       [java]     at org.apache.axis2.transport.http.CommonsHTTPTransportSender.wr
       [java]     ... 7 more

  The following scenario is being employed:

  1)Started synapse in port 9090 by giving command-line:

  C:\synapse>bin\synapse.bat synapse_repository -p9090
  ***The synapse started smoothly*** 

  2)I have changed the turl in StockQuoteClient to 9090

  3)Re-started the synapse server and ran 'ant compile' ,'ant stockquote' as stated in the
README of the sample.

  Kindly know if I have done any mis-configuration. 

View raw message