of course if we install real jboss applications we have a lot of problems with webapps which dont deploy and so on
Which real applications? And what errors do you see. There was a thread in this forum about something similar, just want to make sure if this is the same issue
The encoding problem on the error page remains even if we start the server right after installing the archive.
On the deployment problems we have progressed, and the situation is that we have to correct some configuration files and JSP where jboss 5 is stricter.
- we see encoding errors in the error page, but also in the logs
- we have 15 war and 2 ear in a directory named deploy/ginerativ,
and 6 sar files
- libraries 36 of them (10 of them are developped in house) in lib/ginerativ
(we use subdirectories to avoid merging our files with jboss installed files)
On the same server, with the same java and envrionment setup, and jboss 4.2.3, the error page is properly encoded with french accents.
Also we found that, for the moment, the server is slower than jboss 4.2.3, although this seems an unlikely explanation.
please check the following:
-is the "pageEncoding" attribute of the "@page" directive of your errorpage set and matches the "real" file encoding?
-is the "contentType" attribute of the "@page" directive of your errorpage set and matches the target HTML content type?
<%@page language="java" contentType="text/html; charset=windows-1252" pageEncoding="windows-1252"%>
-does the "Content-Type" of meta tag match all those encodings?
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
If all those are valid and there is no encoding changed in some server config, then the errorpage should work.