jenkins utf-8

■ 톰캣서버에 jenkins를 설치하고 Jenkins 관리 메뉴로 가면 아래와 같은 메세지가 나온다.
Your container doesn’t use UTF-8 to decode URLs. If you use non-ASCII characters as a job name etc, this will cause problems. See Containers and Tomcat i18n for more details.

■ 아래와 같이 톰캣의 server.xml의 Connector에 URIEncoding=”UTF-8″을 추가하고 톰캣을 재시작하면 된다.

<Service name="Catalina2">
    <Connector port="8081" protocol="HTTP/1.1"
        maxThreads="150" connectionTimeout="20000"
        URIEncoding="UTF-8"/>
    
    <Engine name="Catalina2" defaultHost="localhost">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>

        <Host name="localhost"  appBase="/home/webapps/jenkins"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
        </Host>
    </Engine>
 </Service>

   

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다