This content has been marked as final.
Show 3 replies
-
1. Re: JBoss ignoring LOCALE and LC_CTYPE when determining file.encoding
frankgrimes97 Jul 14, 2010 2:39 PM (in response to frankgrimes97)Does nobody have any suggestions for what might be going wrong here?
-
2. Re: JBoss ignoring LOCALE and LC_CTYPE when determining file.encoding
jaikiran Jul 16, 2010 5:00 AM (in response to frankgrimes97)Have you tried setting
-Dfile.encoding=UTF-8
in the JAVA_OPTS section of run.conf? Can you post your boot.log (not server.log)?
-
3. Re: JBoss ignoring LOCALE and LC_CTYPE when determining file.encoding
frankgrimes97 Jul 16, 2010 4:26 PM (in response to jaikiran)Adding -Dfile.encoding explicitly to the startup script resolves the issue.
I guess we'll need to do that moving forward instead of relying on the host's environment variables.
Still, it's very odd that a standalone command-line test application sets the file.encoding correctly based on LOCALE/LC_CTYPE.