[ http://issues.apache.org/jira/browse/AXIS2-725?page=comments#action_12415096 ]
Deepal Jayasinghe commented on AXIS2-725: ----------------------------------------- I ran your service with following modified EchoNonBlockingDualClient and I got the following response env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://192.168.1.194:6060/axis2/services/annonService3502256/annonOutInOp</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:From><wsa:Address>http://127.0.0.1:8080/axis2/services/MyService</wsa:Address></wsa:From><wsa:FaultTo><wsa:Address>http://127.0.0.1:8080/axis2/services/MyService</wsa:Address></wsa:FaultTo><wsa:MessageID>urn:uuid:58249018EE9E642452114966682500413</wsa:MessageID><wsa:Action>urn:echo</wsa:Action><wsa:RelatesTo wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply">urn:uuid:24B7987B787320551E11496668246842</wsa:RelatesTo></soapenv:Header><soapenv:Body><example1:echo xmlns:example1="http://example1.org/example1" xmlns:tns="http://ws.apache.org/axis2"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envel ope> And I did not get any exception. Modified Class ConfigurationContext confCtx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("repolocation", null); //Non-Blocking Invocation sender = new ServiceClient(confCtx, null); sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); sender.setOptions(options); sender.sendReceiveNonBlocking(payload, callback); //Non-Blocking Invocation sender2 = new ServiceClient(confCtx, null); sender2.engageModule(new QName(Constants.MODULE_ADDRESSING)); sender2.setOptions(options); sender2.sendReceiveNonBlocking(payload, callback2); Can you please check whether it is working for you ? > "Address already in use: JVM_Bind" exception while creating second > SimpleHTTPServer instance > -------------------------------------------------------------------------------------------- > > Key: AXIS2-725 > URL: http://issues.apache.org/jira/browse/AXIS2-725 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Versions: 1.0 > Environment: Win2K Pro and WinXP Pro, JDK 1.4, Tomcat 5.5 > Reporter: Ali Sadik Kumlali > Assignee: Deepal Jayasinghe > Attachments: EchoNonBlockingDualClient.java, client.log.txt, > message_flow.txt, server.log.txt > > When I run two EchoNonBlockingDualClient sample at the same time, first one > successfully starts SimpleHTTPServer on port 6060 and the second one gets an > java.net.BindException: Address already in use: JVM_Bind" while trying to > start the server. > Doesn't I have an option to listen all the responses for its dedicated port? > For example 6060 for the first instance, 6061 for the second one, and so on. > Or, should i assume Axis2 to use the same port for the responses of all the > long running transactions? > Anyway, in either case, it should not throw such exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
