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工程發(fā)布到linux下weblogic中,
1) 發(fā)布在本地tomcat中:http://localhost:8080/npmService/services可以正確的得到wsdl文件一覽
2) 發(fā)布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能夠正常啟動
3) 通過:http://localhost:8080/console,能夠正常登錄到weblogic控制臺
4) 輸入http://localhost:8080/npmService/services出現(xiàn)上面404錯誤
5) 解決方法
添加weblogic.xml文件到web.xml同級目錄,內(nèi)容為:
http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
< jsp-descriptor>
< jsp-param>
< param-name>pageCheckSeconds
< param-value>0
< /jsp-param>
< /jsp-descriptor>
< context-root>/npmService< /context-root>
6) 總結:404錯誤首先明確方向,是請求路勁錯誤。
另外有需要云服務器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。
網(wǎng)頁題目:weblogic部署后出現(xiàn)Error404–NotFound-創(chuàng)新互聯(lián)
URL地址:http://chinadenli.net/article30/dgpspo.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站排名、關鍵詞優(yōu)化、App設計、建站公司、企業(yè)建站、動態(tài)網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容