Hi Folks, I'm facing a good news - bad news scenario :-). Good news is I don't see any errors in the Axis2 node instance any more. The bad news is that the service client does not receive any response. Debugging shows that Synapse properly rewrites the URIs and invokes the send mediator to route the request messages to one of the Axis2 instances. I have attached the console output of Synapse for further reference.
Any idea what could be causing this behavior? Thanks Best Regards, Hiranya On Thu, Nov 13, 2008 at 5:18 PM, Asankha C. Perera <[EMAIL PROTECTED]>wrote: > Hiranya > > I may have found one of the issues. In LoadBalanceFailoverClient the 'To' > value is not properly set. Currently it is being set as follows. > > options.setTo(*new* EndpointReference(*"http://localhost:"* + synapsePort)); > > But I think it should be set as follows. > > options.setTo(*new* EndpointReference(*"http://localhost:"* + synapsePort + > *"/services/LBService1"*)); > > Looking at the SVN history this is how it used to be. It has been changed > recently though. Thoughts? > > Seems like a mistake.. > > asankha > > -- > Asankha C. Pererahttp://adroitlogic.org > http://esbmagic.blogspot.com > >
2008-11-13 17:54:00,800 [-] [main] INFO ServerManager Using Synapse home as : /home/hiranya/synapse-SNAPSHOT 2008-11-13 17:54:00,802 [-] [main] INFO ServerManager Using the Axis2 Repository : /home/hiranya/synapse-SNAPSHOT/repository 2008-11-13 17:54:00,802 [-] [main] INFO ServerManager Using the axis2.xml : /home/hiranya/synapse-SNAPSHOT/repository/conf/axis2.xml 2008-11-13 17:54:00,803 [-] [main] INFO ServerManager Using server name : localhost 2008-11-13 17:54:00,803 [-] [main] INFO ServerManager The timeout handler will run every : 15s 2008-11-13 17:54:01,612 [-] [main] INFO SynapseInitializationModule Initializing Synapse at : Thu Nov 13 17:54:01 IST 2008 2008-11-13 17:54:01,617 [127.0.1.1-hiranya-laptop] [main] INFO SynapseInitializationModule Loading mediator extensions... 2008-11-13 17:54:01,617 [127.0.1.1-hiranya-laptop] [main] INFO SynapseInitializationModule Initializing the Synapse configuration ... 2008-11-13 17:54:01,626 [127.0.1.1-hiranya-laptop] [main] INFO XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration 2008-11-13 17:54:01,764 [127.0.1.1-hiranya-laptop] [main] INFO Axis2LoadBalanceMembershipHandler *********apache.axis2.app.domain 2008-11-13 17:54:01,812 [127.0.1.1-hiranya-laptop] [main] INFO SynapseConfigurationBuilder Loaded Synapse configuration from : /home/hiranya/synapse-SNAPSHOT/repository/conf/sample/synapse_sample_57.xml 2008-11-13 17:54:01,820 [127.0.1.1-hiranya-laptop] [main] INFO SynapseInitializationModule Deploying the Synapse service.. 2008-11-13 17:54:01,849 [127.0.1.1-hiranya-laptop] [main] INFO SynapseInitializationModule Synapse server name : localhost 2008-11-13 17:54:01,849 [127.0.1.1-hiranya-laptop] [main] INFO SynapseInitializationModule Deploying Proxy services... 2008-11-13 17:54:01,855 [127.0.1.1-hiranya-laptop] [main] INFO DynamicLoadbalanceEndpoint Dynamic load balance endpoint initialized 2008-11-13 17:54:01,855 [127.0.1.1-hiranya-laptop] [main] INFO SynapseInitializationModule Synapse initialized successfully...! 2008-11-13 17:54:01,857 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOSSLSender Loading Identity Keystore from : lib/identity.jks 2008-11-13 17:54:01,886 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOSSLSender Loading Trust Keystore from : lib/trust.jks 2008-11-13 17:54:01,950 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOSender HTTPS Sender starting 2008-11-13 17:54:01,960 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOSender HTTP Sender starting 2008-11-13 17:54:01,962 [127.0.1.1-hiranya-laptop] [main] INFO VFSTransportSender VFS Sender started 2008-11-13 17:54:02,317 [127.0.1.1-hiranya-laptop] [main] INFO JMSSender JMS Sender started Nov 13, 2008 5:54:02 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:/10.8.108.114:4000 Nov 13, 2008 5:54:02 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to 500 Nov 13, 2008 5:54:02 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4 Nov 13, 2008 5:54:03 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:4 Nov 13, 2008 5:54:03 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:8 Nov 13, 2008 5:54:04 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:8 2008-11-13 17:54:04,528 [127.0.1.1-hiranya-laptop] [main] INFO ServerManager Starting transport https on port 8243 2008-11-13 17:54:04,532 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOSSLListener Loading Identity Keystore from : lib/identity.jks 2008-11-13 17:54:04,535 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOSSLListener Loading Trust Keystore from : lib/trust.jks 2008-11-13 17:54:04,577 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOListener HTTPS Listener started on port : 8243 2008-11-13 17:54:04,578 [127.0.1.1-hiranya-laptop] [main] INFO ServerManager Starting transport http on port 8280 2008-11-13 17:54:04,583 [127.0.1.1-hiranya-laptop] [main] INFO HttpCoreNIOListener HTTP Listener started on port : 8280 2008-11-13 17:54:04,584 [127.0.1.1-hiranya-laptop] [main] INFO ServerManager Starting transport vfs 2008-11-13 17:54:04,604 [127.0.1.1-hiranya-laptop] [main] INFO VFSTransportListener VFS Listener started 2008-11-13 17:54:04,604 [127.0.1.1-hiranya-laptop] [main] INFO ServerManager Starting transport mailto 2008-11-13 17:54:04,605 [127.0.1.1-hiranya-laptop] [main] INFO MailTransportListener MAILTO Listener started 2008-11-13 17:54:04,605 [127.0.1.1-hiranya-laptop] [main] INFO ServerManager Ready for processing Nov 13, 2008 5:54:10 PM org.apache.catalina.tribes.io.BufferPool getBufferPool INFO: Created a buffer pool with max size:104857600 bytes of type:org.apache.catalina.tribes.io.BufferPool15Impl 2008-11-13 17:54:38,704 [127.0.1.1-hiranya-laptop] [HttpServerWorker-1] INFO LogMediator To: http://localhost:8280/services/LBService1, WSAction: urn:sampleOperation, SOAPAction: urn:sampleOperation, ReplyTo: http://www.w3.org/2005/08/addressing/anonymous, MessageID: urn:uuid:6838E23E48ED4286721226579078319, Direction: request, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:8280/services/LBService1</wsa:To><wsa:MessageID>urn:uuid:6838E23E48ED4286721226579078319</wsa:MessageID><wsa:Action>urn:sampleOperation</wsa:Action></soapenv:Header><soapenv:Body><Value>Sample string</Value></soapenv:Body></soapenv:Envelope> 2008-11-13 17:54:38,729 [127.0.1.1-hiranya-laptop] [HttpServerWorker-1] INFO TimeoutHandler This engine will expire all callbacks after : 86400 seconds, irrespective of the timeout action, after the specified or optional timeout
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
