geoserver stratindex problem bug???

Description

I have just installed the version 2.1.4 and I am facing the following problem.

In a wfs request using the startIndex and maxFeatures parameters I get back strange behavior.
if startIndex=1 or startIndex=0 --> geoserver hungs without any error in log. just keep waiting but I never get back the response. (I suspect if I wait a bit more I should get a time out error - but I am not that patient)

If I do not specify startIndex parameter but just the maxFeatures then I get back the responce having random results, which doesnt help as every page should have different results.
If I use startIndex >1 e.g 2,3 everything works as expected. So the problem is always with the first page.

I am not sure whether this is a bug or just a new feature of the latest stable version that I am not using in the proper way.

In version 2.1.3 everything worked as expected.

I am using oracle spatial data and Oracle extension for geoserver.
My geoserver.war is deployed in Oracle weblogic Server in a cluster environment. (I havealso tested with stand-alone and still have the same problem)

The wfs requests-->
1) http://172.31.129.149:8080/geoserver/wfs?REQUEST=getFeature&SERVICE=WFS&TYPENAME=wsp:layer&BBOX=351054.18248792,4224937.2299422,354540.18060548,4225830.4294599&PROPERTYNAME=(GEOM)&srsName=EPSG:2100&maxFeatures=50&startIndex=0 - http://172.31.129.149:8080/geoserver/wfs?REQUEST=getFeature&SERVICE=WFS&TYPENAME=wsp:layer&BBOX=351054.18248792,4224937.2299422,354540.18060548,4225830.4294599&PROPERTYNAME=(GEOM)&srsName=EPSG:2100&maxFeatures=50&startIndex=0
2)http://172.31.129.149:8080/geoserver/wfs?REQUEST=getFeature&SERVICE=WFS&TYPENAME=wsp:layer&BBOX=351054.18248792,4224937.2299422,354540.18060548,4225830.4294599&PROPERTYNAME=(GEOM)&srsName=EPSG:2100&maxFeatures=51&startIndex=1 - http://172.31.129.149:8080/geoserver/wfs?REQUEST=getFeature&SERVICE=WFS&TYPENAME=wsp:layer&BBOX=351054.18248792,4224937.2299422,354540.18060548,4225830.4294599&PROPERTYNAME=(GEOM)&srsName=EPSG:2100&maxFeatures=51&startIndex=1
3)http://172.31.129.149:8080/geoserver/wfs?REQUEST=getFeature&SERVICE=WFS&TYPENAME=wsp:layer&BBOX=351054.18248792,4224937.2299422,354540.18060548,4225830.4294599&PROPERTYNAME=(GEOM)&srsName=EPSG:2100&maxFeatures=50&startIndex=50 - http://172.31.129.149:8080/geoserver/wfs?REQUEST=getFeature&SERVICE=WFS&TYPENAME=wsp:layer&BBOX=351054.18248792,4224937.2299422,354540.18060548,4225830.4294599&PROPERTYNAME=(GEOM)&srsName=EPSG:2100&maxFeatures=50&startIndex=50

Environment

None

Status

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

None

Affects versions

2.1.4

Components

Priority

Medium
Configure