Hi Eric,
We do not recommend to host ESB in windows for production, but it should
run on Windows for the normal scenarios. If you can consistently
reproduce this issue, could you please tell us the exact procedure to
reproduce this issue?
By looking at the exception stack trace I also think this is purely on
the nio implementation level, and I cannot think of how this regression
has been injected, because we have not changed the httpcore-nio
dependency. Anyway it is good for us to know the issue, if there are any.
So please tell us the exact procedure.
Thanks,
Ruwan
Hubert, Eric wrote:
Hi Asankha,
ok, most of the time I only tested on Linux, as this will be our production environment. Right now I'm at home and only have a few virtualized Linux-boxes on some windows machines available. That's why I tested straight on Windows, as I did not think much about the differences in the underlying nio implementation for such basic tests.
I did not put the ESB in maintenance mode. I just sequentially sent messages via soapUI to the ESB and got that error, without changing something on the ESB (no maintenance mode, no graceful restart)... It was just ment as a warm-up test to check the environment, and I'm happy that I did this before. Otherwise I might have thought of a bug in the new graceful shutdown code. ;-)
I re-run the exact same test against version 1.6 of WSO2 ESB (on the same machine, with the same configuration) - no problems. So this looks like a regression. I'm not sure whether I would be able to trigger the same problem under Linux.
If you need some further information to reproduce the problem, please just ask. I'm willing to help.
Regards,
Eric
________________________________
Von: [EMAIL PROTECTED] im Auftrag von Asankha C. Perera
Gesendet: So 04.05.2008 20:14
An: [email protected]
Betreff: Re: [esb-java-dev] AsynchronousCloseException
Eric
Since your production environment is Linux, I would not recommend
trying to isolate the above problem in Windows. One basic difference with the
NIO platform is that we read using channels, and then need to switch into Java
streams for the rest of the processing, and we use Pipe's in Unix, and
Simulated (i.e. Buffered) pipes in Windows. Also, its good to stick to JDK
1.5.0_14 wherever possible.
If you put the ESB into maintenance during the 'load test', it may have
caused some problem to the client as new connections would have been refused by
the ESB.. I am not sure I understand exactly how you did the test. I would try
to reproduce this tomorrow, and thought of using the SimpleStockQuote service,
the Java ApacheBench client and the ESB.. and putting the ESB into graceful
shutdown? Is this what you tried as well?
asankha
------------------------------------------------------------------------
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev