티스토리 뷰

하나의 tomcat에 context를 2개로 나눠 작업 중 오류 발생

log4j 기본 param value값이 webapp.root인데,

따로 지정해주지 않을 경우 중복사용으로 오류 발생하니 유니크값으로 변경하라는 메세지


SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListener

java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [/sw/bo/] instead of [/sw/bo2/] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!




web.xml

<context-param>

<param-name>webAppRootKey</param-name>

<param-value>bo.root</param-value>

</context-param>

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함