WebLogic 12c에서 배포를 하려 하는 중, unmarshaller failed error가 나타남.
이는 Servlet 버전과 Weblogic 버전이 맞지 않기 때문.
Weblogic 11g는 Servlet 2.2 ~ 2.5
Weblogic 12c R1은 Servlet ~ 3.0
Weblogic 12c R2는 Servlet ~ 3.1 까지 지원이 된다.
각 Servlet 버전 별 DTD(Document Type Definition) 정리해놓는다.
Servlet 2.2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
</web-app>
Servlet 2.3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
Servlet 2.4
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="servlet-2_4" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>
Servlet 2.5
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="servlet-2_5" version="2.5"
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_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
</web-app>
Servlet 3.0
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
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_3_0.xsd"
version="3.0">
</web-app>
Servlet 3.1
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
</web-app>
'Oracle > TroubleShooting' 카테고리의 다른 글
BEA-149231 <Unable to set the activation state to true for the application "bea_wls_internal"> (0) | 2022.04.20 |
---|---|
Weblogic windows 설치 중 OUI 관련 issue (0) | 2022.04.06 |
Weblogic 2021년 4분기 패치 warning 문구 관련 issue (0) | 2021.12.27 |
[WebLogic][Error] Exception in AppMerge flows' progression (0) | 2021.12.21 |
Oracle Linux 8 버전 ohs 12.2.1.4 설치 Package 누락 error (0) | 2021.12.21 |