카테고리 없음

[JBoss] encoding 설정

_주야 2014. 7. 24. 14:42


* JBoss의 encoding 설정

- JBoss의 default encoding은 ISO-8859-1

- JBoss의 한국어 지원을 위해 다국어 지원 인코딩 설정.


o URI인코딩 설정

- 버전 : JBoss EAP 5.x (JBoss 6.1.0 Final)

- 위치 : $SERVER_HOME/deploy/jboss-web.deployer/server.xml

<Service name="jboss.web">

<!-- A HTTP/1.1 Connector on port 8080 -->

<Connector protocol="HTTP/1.1" port="${jboss.web.http.port}" address="${jboss.bind.address}"

redirectPort="${jboss.web.https.port}" URIEncoding="UTF-8" />

<!-- A AJP 1.3 Connector on port 8009 -->

<Connector protocol="AJP/1.3" port="${jboss.web.ajp.port}" address="${jboss.bind.address}"

redirectPort="${jboss.web.https.port}" />

<!-- SSL/TLS Connector configuration using the admin devl guide keystore -->

<Connector protocol="HTTP/1.1" SSLEnabled="true"

port="${jboss.web.https.port}" address="${jboss.bind.address}"

scheme="https" secure="true" clientAuth="false"

keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"

keystorePass="rmi+ssl" sslProtocol = "TLS" />

..........생략........