I an existing production application, we receive an XML as part of the request. We read the XML through a BufferedReader obtained from the request (request.getReader().read()). In order to read the XML correctly we need to know the correct encoding of the request to avoid IO Exceptions.
The problem is that request.getCharacterEncoding() method in jboss-5.1.0 now returns null instead of the encoding string.
This used to work fine in jboss-4.2.3. But after moving to jboss-5.1.0 it has suddenly stopped working.