From 0a9086312169ec73430af42d9b31f505fca697d2 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Mon, 8 Sep 2025 18:01:41 +0900 Subject: [PATCH] =?UTF-8?q?-=20context.xml=20=EB=B0=B1=EC=97=85=20?= =?UTF-8?q?=EB=B0=8F=20=EC=82=AD=EC=A0=9C=20-=20mysql=20->=20oracle=20?= =?UTF-8?q?=EB=B3=80=ED=99=98=20=EC=9E=91=EC=97=85=20=EC=A7=84=ED=96=89?= =?UTF-8?q?=EC=A4=91=20-=20=EA=B0=9C=EB=B0=9C=EC=9A=A9=20logback-dev.xml?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95=20-=20ms949=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{context.xml => context-kbank-mysql.xml} | 0 WebContent/META-INF/context-kjb-mysql.xml | 22 +++++++++++ .../applicationContext-datasource-DEV.xml | 20 +++++----- WebContent/WEB-INF/applicationContext-jpa.xml | 2 +- build.gradle | 6 +-- src/main/resources/logback-dev.xml | 37 +++++++------------ src/main/resources/logback.xml | 24 +----------- 7 files changed, 51 insertions(+), 60 deletions(-) rename WebContent/META-INF/{context.xml => context-kbank-mysql.xml} (100%) create mode 100644 WebContent/META-INF/context-kjb-mysql.xml diff --git a/WebContent/META-INF/context.xml b/WebContent/META-INF/context-kbank-mysql.xml similarity index 100% rename from WebContent/META-INF/context.xml rename to WebContent/META-INF/context-kbank-mysql.xml diff --git a/WebContent/META-INF/context-kjb-mysql.xml b/WebContent/META-INF/context-kjb-mysql.xml new file mode 100644 index 0000000..04cbfb2 --- /dev/null +++ b/WebContent/META-INF/context-kjb-mysql.xml @@ -0,0 +1,22 @@ + + + + + + + + + + \ 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 45b8991..5f0bf5c 100644 --- a/WebContent/WEB-INF/applicationContext-datasource-DEV.xml +++ b/WebContent/WEB-INF/applicationContext-datasource-DEV.xml @@ -24,15 +24,15 @@ class="com.eactive.eai.rms.common.datasource.DataSourceType" p:name="APIGW" p:text="APIGW" - p:schema="ndapigw" + p:schema="AGWADM" p:dynamic="true" p:online="true" - p:jndiName="NDAPIGW_APP_NXA" + p:jndiName="jdbc/dsDOBP_AGW" p:render="ONL,COM" /> - + /> --> - + /> --> - + /> --> diff --git a/WebContent/WEB-INF/applicationContext-jpa.xml b/WebContent/WEB-INF/applicationContext-jpa.xml index 753b9a0..287b55e 100644 --- a/WebContent/WEB-INF/applicationContext-jpa.xml +++ b/WebContent/WEB-INF/applicationContext-jpa.xml @@ -93,7 +93,7 @@ none true true - ${hibernate.dialect:org.hibernate.dialect.PostgreSQL10Dialect} + ${hibernate.dialect:org.hibernate.dialect.Oracle12cDialect} 100 100 diff --git a/build.gradle b/build.gradle index 9a73829..2405bbe 100644 --- a/build.gradle +++ b/build.gradle @@ -16,17 +16,17 @@ def quartzVersion = "2.2.1" def queryDslVersion = "5.0.0" def hibernateVersion = "5.6.15.Final" -def nexusUrl = "https://nexus.eactive.synology.me:8090" +/*def nexusUrl = "https://nexus.eactive.synology.me:8090"*/ //def useOnJboss = false def generatedJavaDir = "$buildDir/generated/java" -repositories { +/*repositories { maven { url "${nexusUrl}/repository/maven-public/" allowInsecureProtocol = true } -} +}*/ project.webAppDirName = 'WebContent' diff --git a/src/main/resources/logback-dev.xml b/src/main/resources/logback-dev.xml index 520fcbe..a41f15a 100644 --- a/src/main/resources/logback-dev.xml +++ b/src/main/resources/logback-dev.xml @@ -2,8 +2,16 @@ - + + + + + + + %d{yyyy-MM-dd HH:mm:ss} %-5level [%thread] %logger{36} - %msg%n + + @@ -15,10 +23,6 @@ 10 - - MS949 - ${LOG_PATTERN} - - - MS949 - ${LOG_PATTERN} - @@ -45,10 +45,6 @@ 10 - - MS949 - -%msg%n - @@ -60,10 +56,6 @@ 10 - - MS949 - ${LOG_PATTERN} - @@ -74,19 +66,15 @@ ${LOG_HOME}/${PREFIX}_dynamic.log-%d{yyyy-MM-dd} 10 - - - MS949 - ${LOG_PATTERN} - + - - + + @@ -152,5 +140,6 @@ + \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index d8e7a3e..3857c3a 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -2,7 +2,7 @@ - + @@ -16,10 +16,6 @@ 10 - - MS949 - ${LOG_PATTERN} - - - MS949 - ${LOG_PATTERN} - @@ -46,10 +38,6 @@ 10 - - MS949 - -%msg%n - @@ -61,10 +49,6 @@ 10 - - MS949 - ${LOG_PATTERN} - @@ -75,11 +59,7 @@ ${LOG_HOME}/${PREFIX}_dynamic.log-%d{yyyy-MM-dd} 10 - - - MS949 - ${LOG_PATTERN} - +