星期一, 五月 14, 2012

Jboss 5/6 Reading/File Encoding Problem


Jboss 5/6 Reading file encoding problem:


For Unicode file Reading, modify the file: Jboss_home\bin\run.conf.bat (havn't tested in the Linux Env. for run.conf)


Add below sample code marked red color:


"...
rem # Warn when resolving remote XML DTDs or schemas.
set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true -Dfile.encoding=utf-8"
...
"