weblogic 대응
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<persistence-unit name="elink-ems">
|
||||
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
|
||||
<jta-data-source>jdbc/dsOBP_EMS</jta-data-source>
|
||||
<properties>
|
||||
<property name="hibernate.dialect"
|
||||
value="org.hibernate.dialect.Oracle12cDialect" />
|
||||
<property name="javax.persistence.validation.mode"
|
||||
value="NONE" />
|
||||
<property name="eclipselink.weaving.validation" value="false" />
|
||||
</properties>
|
||||
<class>com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness
|
||||
</class>
|
||||
<class>com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp</class>
|
||||
<exclude-unlisted-classes>false</exclude-unlisted-classes>
|
||||
</persistence-unit>
|
||||
<persistence-unit name="elink-apigw">
|
||||
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
|
||||
<jta-data-source>jdbc/dsOBP_EMS</jta-data-source>
|
||||
<properties>
|
||||
<property name="hibernate.dialect"
|
||||
value="org.hibernate.dialect.Oracle12cDialect" />
|
||||
<property name="javax.persistence.validation.mode"
|
||||
value="NONE" />
|
||||
<property name="eclipselink.weaving.validation" value="false" />
|
||||
</properties>
|
||||
<class>com.eactive.eai.rms.data.entity.onl.bzwkdstcd.UserBusiness
|
||||
</class>
|
||||
<class>com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp</class>
|
||||
<exclude-unlisted-classes>false</exclude-unlisted-classes>
|
||||
</persistence-unit>
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</filter-mapping>
|
||||
-->
|
||||
|
||||
<listener>
|
||||
<listener>
|
||||
<listener-class>
|
||||
org.springframework.web.context.ContextLoaderListener
|
||||
</listener-class>
|
||||
|
||||
@@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app id="servlet-3_0" version="3.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
|
||||
<display-name>monitoring</display-name>
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>/WEB-INF/applicationContext.xml</param-value>
|
||||
</context-param>
|
||||
<!-- XSS Filter -->
|
||||
<filter>
|
||||
<filter-name>CrossScriptingFilter</filter-name>
|
||||
<filter-class>com.eactive.eai.rms.common.filter.CrossScriptingFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>CrossScriptingFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<filter>
|
||||
<filter-name>encodingFilter</filter-name>
|
||||
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>encoding</param-name>
|
||||
<param-value>UTF-8</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>forceEncoding</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter>
|
||||
<filter-name>encodingFilterEUCKR</filter-name>
|
||||
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>encoding</param-name>
|
||||
<param-value>utf-8</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>forceEncoding</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>encodingFilterEUCKR</filter-name>
|
||||
<url-pattern>*.excel</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>encodingFilter</filter-name>
|
||||
<url-pattern>*.file</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!--
|
||||
<filter>
|
||||
<filter-name>MonitoringFrontFilter</filter-name>
|
||||
<filter-class>com.eactive.eai.rms.common.filter.MonitoringFrontFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>MonitoringFrontFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
-->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>default</servlet-name>
|
||||
<servlet-class>weblogic.servlet.FileServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/static/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<listener>
|
||||
<listener-class>
|
||||
org.springframework.web.context.ContextLoaderListener
|
||||
</listener-class>
|
||||
</listener>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>springapp</servlet-name>
|
||||
<servlet-class>
|
||||
org.springframework.web.servlet.DispatcherServlet
|
||||
</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
<multipart-config>
|
||||
<max-file-size>10485760</max-file-size>
|
||||
<max-request-size>15728640</max-request-size>
|
||||
<file-size-threshold>1048576</file-size-threshold>
|
||||
</multipart-config>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>springapp</servlet-name>
|
||||
<url-pattern>*.do</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>springapp</servlet-name>
|
||||
<url-pattern>*.json</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>springapp</servlet-name>
|
||||
<url-pattern>*.view</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>springapp</servlet-name>
|
||||
<url-pattern>*.excel</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>springapp</servlet-name>
|
||||
<url-pattern>*.file</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>/emergency.jsp</welcome-file>
|
||||
<!-- <welcome-file>/multiLogin.jsp</welcome-file> -->
|
||||
<!-- <welcome-file>/login.jsp</welcome-file> -->
|
||||
<!--welcome-file>/initech/login_exec.jsp</welcome-file -->
|
||||
</welcome-file-list>
|
||||
|
||||
<error-page>
|
||||
<error-code>404</error-code>
|
||||
<location>/common/errors/error404.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<error-code>500</error-code>
|
||||
<location>/common/errors/error500.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<jsp-config>
|
||||
<taglib>
|
||||
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
|
||||
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
|
||||
</taglib>
|
||||
<taglib>
|
||||
<taglib-uri>http://java.sun.com/jsp/jstl/functions</taglib-uri>
|
||||
<taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
|
||||
</taglib>
|
||||
</jsp-config>
|
||||
|
||||
<session-config>
|
||||
<session-timeout>120</session-timeout>
|
||||
</session-config>
|
||||
</web-app>
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user