WebLogic 12c 와 Spring 연동시 weblogic.xml 파일에 아래 설정을 해야 한다.
이유는 WebLogic 12c 도 Spring framework 2.5.6 버젼을 사용하고 있기 때문이다.
weblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<wls:context-root>myapplication</wls:context-root>
<resource-description>
<jndi-name>jdbc/DS1</jndi-name>
<res-ref-name>ds1</res-ref-name>
</resource-description>
<wls:container-descriptor>
<wls:prefer-application-packages>
<wls:package-name>org.springframework.*</wls:package-name>
</wls:prefer-application-packages>
</wls:container-descriptor>
</wls:weblogic-web-app>
spring boot application deploy to weblogic 12C (0) | 2017.10.21 |
---|---|
WAR, EAR 차이 (0) | 2016.05.20 |
maven build to the WebLogic 12c (0) | 2016.05.11 |
Weblogic wlst gc (0) | 2014.03.21 |
JMS queue load balance 설정 (0) | 2014.03.10 |
댓글 영역