Hi again,
Thanks asankha, I have done what you said and I changed to Synapse-1.2,
evrything works well until the request number (1680) !! And almost the same
Exception is thrown again.. ?. My work is for sending 3000 requests to Synapse
which in turn sends them to the actual Web Service applications.
Any help, please?
2009-11-12 17:28:14,653 [10.8.147.11-localhost] [HttpServerWorker-7] ERROR
ServerWorker Error getting ip address for ?wsdl output
java.net.SocketException: Too many open files
at java.net.NetworkInterface.getAll(Native Method)
at
java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:204)
at
org.apache.synapse.transport.nhttp.ServerWorker.getIpAddress(ServerWorker.java:540)
at
org.apache.synapse.transport.nhttp.ServerWorker.processGet(ServerWorker.java:341)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:192)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2009-11-12 17:28:14,796 [10.8.147.11-cage03.ncl.ac.uk] [HttpServerWorker-7]
ERROR ServerHandler Unexpected HTTP protocol error : Transfer-encoding header
already present
org.apache.http.ProtocolException: Transfer-encoding header already present
at
org.apache.http.protocol.ResponseContent.process(ResponseContent.java:67)
at
org.apache.http.protocol.BasicHttpProcessor.process(BasicHttpProcessor.java:304)
at
org.apache.synapse.transport.nhttp.ServerHandler.commitResponse(ServerHandler.java:212)
at
org.apache.synapse.transport.nhttp.HttpCoreNIOSender.sendAsyncResponse(HttpCoreNIOSender.java:409)
at
org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:264)
at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530)
at
org.apache.synapse.transport.nhttp.ServerWorker.handleException(ServerWorker.java:489)
at
org.apache.synapse.transport.nhttp.ServerWorker.processGet(ServerWorker.java:347)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:192)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Thanks
Khaled
>-----Original Message-----
>From: Asankha Perera [mailto:[email protected]] On
>Behalf Of Asankha C. Perera
>Sent: 12 November 2009 01:47
>To: [email protected]
>Subject: Re: java.io.IOException: Too many open files
>
>Hi Khaled
>> I am using Synapse-1.1.1 but I have got the error stated below:
>>
>You could try increasing file limits if under a Linux environment etc..
>however, I would strongly suggest you upgrade to 1.2, in which
>we have removed the usage of pipes altogether with a much
>better implementation
>
>cheers
>asankha
>
>--
>Asankha C. Perera
>AdroitLogic, http://adroitlogic.org
>
>http://esbmagic.blogspot.com
>
>
>
>
>