weblogic部署后出现Error404–NotFound-创新互联

weblogic 部署后出现Error 404–Not Found

术业有专攻,您咨询的再多,也不如我了解的一半多;有责任心的专业的建站公司会做到“客户想到的我们要做到,客户没有想到的我们也要帮客户做到“。我们的设计师是5年以上的设计师,我们不仅仅会设计网站,更会策划网站。

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中,

1) 发布在本地tomcat中:http://localhost:8080/npmService/services可以正确的得到wsdl文件一览

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能够正常启动

3) 通过:http://localhost:8080/console,能够正常登录到weblogic控制台

4) 输入http://localhost:8080/npmService/services出现上面404错误

5) 解决方法

添加weblogic.xml文件到web.xml同级目录,内容为:

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错误首先明确方向,是请求路劲错误。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


分享题目:weblogic部署后出现Error404–NotFound-创新互联
文章位置:http://csruizhi.cn/article/dgpspo.html

其他资讯

Copyright © 2007-2024 成都优众联杰科技有限公司 All Rights Reserved 蜀ICP备2024116266号
友情链接: 重庆网站制作 重庆网站制作 移动手机网站制作 重庆企业网站建设 梓潼网站设计 成都网站设计 成都网站建设公司 阿坝网站设计 企业网站建设 成都企业网站制作 成都品牌网站设计 成都网站设计 网站建设费用 成都网站制作 成都响应式网站建设 成都网站建设 app网站建设 成都网站制作 成都响应式网站建设公司 成都网站设计 响应式网站设计 企业网站建设