From 7ae0928b971a6e93bcd3e813904687c02e9b825c Mon Sep 17 00:00:00 2001 From: "Yunsam.Eo" Date: Fri, 19 Sep 2025 09:11:09 +0900 Subject: [PATCH] =?UTF-8?q?KJB=20=EC=B4=88=EA=B8=B0=20=EA=B8=B0=EB=8F=99?= =?UTF-8?q?=EC=9D=84=20=EC=9C=84=ED=95=9C=20=ED=99=98=EA=B2=BD=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=88=98=EC=A0=95(=EC=9D=BC=EA=B4=84=ED=8F=AC?= =?UTF-8?q?=ED=95=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/META-INF/context.xml | 41 ++++ .../applicationContext-datasource-DEV.xml | 26 +-- .../applicationContext-datasource-PROD.xml | 31 ++- .../applicationContext-datasource-STG.xml | 27 ++- .../WEB-INF/applicationContext-jdbc-DEV.xml | 3 + .../WEB-INF/applicationContext-jdbc-PROD.xml | 3 + .../WEB-INF/applicationContext-jdbc-STG.xml | 3 + WebContent/WEB-INF/applicationContext-jpa.xml | 4 +- .../WEB-INF/properties/env.D.properties | 4 +- .../WEB-INF/properties/env.P.properties | 8 +- .../WEB-INF/properties/env.T.properties | 4 +- WebContent/WEB-INF/web.xml | 44 +++++ WebContent/WEB-INF/weblogic.xml | 18 +- src/main/resources/logback-dev.xml | 7 +- src/main/resources/logback-local.xml | 179 ++++++++++++++++++ 15 files changed, 336 insertions(+), 66 deletions(-) create mode 100644 WebContent/META-INF/context.xml create mode 100644 src/main/resources/logback-local.xml diff --git a/WebContent/META-INF/context.xml b/WebContent/META-INF/context.xml new file mode 100644 index 0000000..abcab3e --- /dev/null +++ b/WebContent/META-INF/context.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebContent/WEB-INF/applicationContext-datasource-DEV.xml b/WebContent/WEB-INF/applicationContext-datasource-DEV.xml index 2c45aca..731c24e 100644 --- a/WebContent/WEB-INF/applicationContext-datasource-DEV.xml +++ b/WebContent/WEB-INF/applicationContext-datasource-DEV.xml @@ -19,6 +19,7 @@ http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd "> + - - - + + + - - - - + + + - - - - + + + + + 100 100 - true - true + false + false org.hibernate.cache.ehcache.EhCacheRegionFactory true diff --git a/WebContent/WEB-INF/properties/env.D.properties b/WebContent/WEB-INF/properties/env.D.properties index b83da1a..21b5169 100644 --- a/WebContent/WEB-INF/properties/env.D.properties +++ b/WebContent/WEB-INF/properties/env.D.properties @@ -1,5 +1,5 @@ # mariadb/postgresql/oracle/db2 -db.vendor=mariadb +db.vendor=oracle # db.vendor specific dialect # Examples # - H2 : org.hibernate.dialect.H2Dialect @@ -9,7 +9,7 @@ db.vendor=mariadb hibernate.dialect=org.hibernate.dialect.Oracle12cDialect # Priority of the was -D option -inst.Name=apimsSvr11 +inst.Name=emsSvr11 eai.tableowner=EMSADM # P/T/D/S eai.systemmode=D diff --git a/WebContent/WEB-INF/properties/env.P.properties b/WebContent/WEB-INF/properties/env.P.properties index 908dbda..6ef25bb 100644 --- a/WebContent/WEB-INF/properties/env.P.properties +++ b/WebContent/WEB-INF/properties/env.P.properties @@ -1,5 +1,5 @@ # mariadb/postgresql/oracle/db2 -db.vendor=mariadb +db.vendor=oracle # db.vendor specific dialect # Examples # - H2 : org.hibernate.dialect.H2Dialect @@ -9,10 +9,10 @@ db.vendor=mariadb hibernate.dialect=org.hibernate.dialect.Oracle12cDialect # Priority of the was -D option -inst.Name=admSvr11 +inst.Name=emsSvr11 eai.tableowner=EMSADM # P/T/D/S -eai.systemmode=D +eai.systemmode=P eai.drmode=N # black / blue / green / orange / yellow -theme.color=orange \ No newline at end of file +theme.color=blue \ No newline at end of file diff --git a/WebContent/WEB-INF/properties/env.T.properties b/WebContent/WEB-INF/properties/env.T.properties index 806baae..54c8578 100644 --- a/WebContent/WEB-INF/properties/env.T.properties +++ b/WebContent/WEB-INF/properties/env.T.properties @@ -1,5 +1,5 @@ # mariadb/postgresql/oracle/db2 -db.vendor=mariadb +db.vendor=oracle # db.vendor specific dialect # Examples # - H2 : org.hibernate.dialect.H2Dialect @@ -9,7 +9,7 @@ db.vendor=mariadb hibernate.dialect=org.hibernate.dialect.Oracle12cDialect # Priority of the was -D option -inst.Name=admSvr11 +inst.Name=emsSvr11 eai.tableowner=EMSADM # P/T/D/S eai.systemmode=T diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 2342bdd..aad14c7 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -69,6 +69,18 @@ + + + springapp @@ -110,15 +122,47 @@ + + 400 + /common/errors/error.jsp + + + 401 + /common/errors/error.jsp + + + 402 + /common/errors/error.jsp + + + 403 + /common/errors/error.jsp + 404 /common/errors/error404.jsp + + 405 + /common/errors/error.jsp + 500 /common/errors/error500.jsp + + 501 + /common/errors/error.jsp + + + 502 + /common/errors/error.jsp + + + 503 + /common/errors/error.jsp + diff --git a/WebContent/WEB-INF/weblogic.xml b/WebContent/WEB-INF/weblogic.xml index 3e2e27d..ed59465 100644 --- a/WebContent/WEB-INF/weblogic.xml +++ b/WebContent/WEB-INF/weblogic.xml @@ -12,12 +12,14 @@ - -org.slf4j.* -ch.qos.logback.* - - -org/slf4j/impl/StaticLoggerBinder.class - - + + org.apach.ignite.* + org.slf4j.* + ch.qos.logback.* + + + org/slf4j/impl/StaticLoggerBinder.class + + + \ No newline at end of file diff --git a/src/main/resources/logback-dev.xml b/src/main/resources/logback-dev.xml index ca1d61f..5f92950 100644 --- a/src/main/resources/logback-dev.xml +++ b/src/main/resources/logback-dev.xml @@ -5,14 +5,11 @@ - - - - + utf-8 %d{yyyy-MM-dd HH:mm:ss} %-5level [%thread] %logger{36} - %msg%n @@ -28,6 +25,7 @@ 10 + utf-8 ${LOG_PATTERN} @@ -176,6 +174,5 @@ - \ No newline at end of file diff --git a/src/main/resources/logback-local.xml b/src/main/resources/logback-local.xml new file mode 100644 index 0000000..ea80be7 --- /dev/null +++ b/src/main/resources/logback-local.xml @@ -0,0 +1,179 @@ + + + + + + + + + + + + utf-8 + %d{yyyy-MM-dd HH:mm:ss} %-5level [%thread] %logger{36} - %msg%n + + + + + ${LOG_HOME}/${PREFIX}_stdout.log + + + ${LOG_HOME}/${PREFIX}_stdout.log-%d{yyyy-MM-dd} + + 10 + + + MS949 + ${LOG_PATTERN} + + + + + ${LOG_HOME}/${PREFIX}_access.log + + + ${LOG_HOME}/${PREFIX}_access.log-%d{yyyy-MM-dd} + + + + MS949 + ${LOG_PATTERN} + + + + ${LOG_HOME}/sms.log + + + ${LOG_HOME}/sms.log-%d{yyyy-MM-dd} + + 10 + + + MS949 + ${LOG_PATTERN} + + + + ${LOG_HOME}/${PREFIX}_query.log + + + ${LOG_HOME}/${PREFIX}_query.log-%d{yyyy-MM-dd} + + 10 + + + MS949 + ${LOG_PATTERN} + + + + ${LOG_HOME}/${PREFIX}_dynamic.log + + + ${LOG_HOME}/${PREFIX}_dynamic.log-%d{yyyy-MM-dd} + + 10 + + + MS949 + ${LOG_PATTERN} + + + + ${LOG_HOME}/${PREFIX}_hibernate.log + + ${LOG_HOME}/${PREFIX}_hibernate.log-%d{yyyy-MM-dd} + 10 + + + MS949 + ${LOG_PATTERN} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file