weblogic Error 404--Not Found
Error 404--Not Found 錯誤
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
遇到一個問題,就是將一個 webservice 工程釋出到 linux 下 weblogic 中,
2) 釋出 Weblogic 後,修改 web.xml 檔案
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd "> 後 weblogic 能夠正常啟動
5) 解決方法
新增 weblogic.xml 檔案到 web.xml 同級目錄,內容為:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<jsp-descriptor>
<jsp-param>
<param-name>pageCheckSeconds</param-name>
<param-value>0</param-value>
</jsp-param>
</jsp-descriptor>
<context-root>/npmService </context-root>
</weblogic-web-app>
6) 總結: