This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

HttpInvoker choked on list with 1000 strings

Mar 12th, 2012, 11:24 AM

Hi All
I wrote a smal service class which return a list with 1000 strings.
I am using Httpinvoker to get the service and read the list. If the number of the elements in the list is 100 all is going well when
I try 1000 it freeze utill there is a connection reset
The client side is JUnit 4 class with spring runner on the same machine
by the way the same is happening with Hessian protocol.
They are both HTML based but this is the only connection I can see RMI and JMS RMI is working fine with the same service
The service code