클라이언트에서 파라미터 값을 URLEncode하여 보내준다면 가장 좋겠지만, 클라이언트를 수정할 수 없는 경우에는 서버쪽에서 수정해야합니다. 톰캣 7 특정버전 이상부터 파라미터 값에 특수문자를 받을 수 없도록 수정되었고, 권장하진 않지만 필요하다면 relaxedQueryChars 옵션을 주어 받을 수 있도록 설정 할 수 있습니다. 이런 옵션을 사용하고 싶진 않을 경우엔 하위 버전으로 다운그레이드를 하면 됩니다. relaxedQueryChars The HTTP/1.1 specification requires that certain characters are %nn encoded when used in URI query strings. Unfortunately, many user agents includin..
하나의 tomcat에 context를 2개로 나눠 작업 중 오류 발생log4j 기본 param value값이 webapp.root인데,따로 지정해주지 않을 경우 중복사용으로 오류 발생하니 유니크값으로 변경하라는 메세지 SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListenerjava.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [/sw/bo/] instead of [/sw/bo2/] - Ch..
tomcat-connectors-*-src.tar.gz 직접 다운로드https://archive.apache.org/dist/tomcat/tomcat-connectors/jk/ 장비에서 *버전 직접 다운로드wget https://archive.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-*-src.tar.gz /sw 경로에 connectors-1.2.43, apache가 설치되는 기준cd /swwget https://archive.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.43-src.tar.gztar zxvf tomcat-connectors-1.2.43-src.t..
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException..
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [70,141] milliseconds. vi /apache-tomcat-*/bin/catalina.sh BeforeJAVA_OPTS="$JAVA_OPTS $JSSE_OPTS" AfterJAVA_OPTS="$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom"