diff --git a/WebContent/META-INF/persistence.xml b/WebContent/META-INF/persistence.xml
new file mode 100644
index 0000000..2668051
--- /dev/null
+++ b/WebContent/META-INF/persistence.xml
@@ -0,0 +1,30 @@
+
+ org.hibernate.jpa.HibernatePersistenceProvider
+ jdbc/dsOBP_EMS
+
+
+
+
+
+ com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness
+
+ com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp
+ false
+
+
+ org.hibernate.jpa.HibernatePersistenceProvider
+ jdbc/dsOBP_EMS
+
+
+
+
+
+ com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness
+
+ com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp
+ false
+
\ No newline at end of file
diff --git a/WebContent/WEB-INF/properties/env.D.properties b/WebContent/WEB-INF/properties/env.D.properties
index 2e38be4..0445e14 100644
--- a/WebContent/WEB-INF/properties/env.D.properties
+++ b/WebContent/WEB-INF/properties/env.D.properties
@@ -10,7 +10,7 @@ hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
# Priority of the was -D option
inst.Name=apimsSvr11
-eai.tableowner=apims
+eai.tableowner=EMSADM
# P/T/D/S
eai.systemmode=D
eai.drmode=N
diff --git a/WebContent/WEB-INF/properties/env.P.properties b/WebContent/WEB-INF/properties/env.P.properties
index 18a7407..6702788 100644
--- a/WebContent/WEB-INF/properties/env.P.properties
+++ b/WebContent/WEB-INF/properties/env.P.properties
@@ -9,8 +9,8 @@ db.vendor=mariadb
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
# Priority of the was -D option
-inst.Name=apimsSvr11
-eai.tableowner=apims
+inst.Name=admSvr11
+eai.tableowner=EMSADM
# P/T/D/S
eai.systemmode=D
eai.drmode=N
diff --git a/WebContent/WEB-INF/properties/env.T.properties b/WebContent/WEB-INF/properties/env.T.properties
index 78c3625..4eef0bc 100644
--- a/WebContent/WEB-INF/properties/env.T.properties
+++ b/WebContent/WEB-INF/properties/env.T.properties
@@ -9,10 +9,10 @@ db.vendor=mariadb
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
# Priority of the was -D option
-inst.Name=apimsSvr11
-eai.tableowner=apims
+inst.Name=admSvr11
+eai.tableowner=EMSADM
# P/T/D/S
-eai.systemmode=D
+eai.systemmode=T
eai.drmode=N
# black / blue / green / orange / yellow
theme.color=green
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml
index 5e2ea54..2342bdd 100644
--- a/WebContent/WEB-INF/web.xml
+++ b/WebContent/WEB-INF/web.xml
@@ -63,7 +63,7 @@
-->
-
+
org.springframework.web.context.ContextLoaderListener
diff --git a/WebContent/WEB-INF/weblogic-web.xml b/WebContent/WEB-INF/weblogic-web.xml
new file mode 100644
index 0000000..18e2775
--- /dev/null
+++ b/WebContent/WEB-INF/weblogic-web.xml
@@ -0,0 +1,146 @@
+
+
+ monitoring
+
+ contextConfigLocation
+ /WEB-INF/applicationContext.xml
+
+
+
+ CrossScriptingFilter
+ com.eactive.eai.rms.common.filter.CrossScriptingFilter
+
+
+ CrossScriptingFilter
+ /*
+
+
+
+ encodingFilter
+ org.springframework.web.filter.CharacterEncodingFilter
+
+ encoding
+ UTF-8
+
+
+ forceEncoding
+ true
+
+
+
+ encodingFilterEUCKR
+ org.springframework.web.filter.CharacterEncodingFilter
+
+ encoding
+ utf-8
+
+
+ forceEncoding
+ true
+
+
+
+ encodingFilterEUCKR
+ *.excel
+
+
+ encodingFilter
+ *.file
+
+
+
+
+
+ default
+ weblogic.servlet.FileServlet
+
+
+ default
+ /static/*
+
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+ springapp
+
+ org.springframework.web.servlet.DispatcherServlet
+
+ 1
+
+ 10485760
+ 15728640
+ 1048576
+
+
+
+
+ springapp
+ *.do
+
+
+ springapp
+ *.json
+
+
+ springapp
+ *.view
+
+
+ springapp
+ *.excel
+
+
+ springapp
+ *.file
+
+
+
+ /emergency.jsp
+
+
+
+
+
+
+ 404
+ /common/errors/error404.jsp
+
+
+
+ 500
+ /common/errors/error500.jsp
+
+
+
+
+ http://java.sun.com/jsp/jstl/core
+ /WEB-INF/tld/c.tld
+
+
+ http://java.sun.com/jsp/jstl/functions
+ /WEB-INF/tld/fn.tld
+
+
+
+
+ 120
+
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 598699a..092d219 100644
--- a/build.gradle
+++ b/build.gradle
@@ -47,6 +47,16 @@ compileJava {
}
war {
+ def profile = project.findProperty("profile") ?: "weblogic"
+ if (profile == "weblogic") {
+ // weblogic-web.xml 파일을 web.xml 이름으로 넣기
+ from("WEB-INF/weblogic-web.xml") {
+ into "WEB-INF"
+ rename { "web.xml" }
+ }
+ }
+
+
rootSpec.exclude '**/persistence.xml'
exclude '**/context.xml'
archiveFileName = "eapim-admin.war"