Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Error 404-Not Found appears after weblogic deployment

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Error 404--Not Found error

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.

One problem encountered is to publish a webservice project to weblogic under linux.

1) publish in local tomcat: http://localhost:8080/npmService/services can correctly get a list of wsdl files.

2) modify the web.xml file after publishing Weblogic

< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

After the weblogic can start normally.

3) through: http://localhost:8080/console, you can log in to the weblogic console normally

4) input http://localhost:8080/npmService/services has the error of 404 above

5) solution

Add the weblogic.xml file to the web.xml sibling directory with the following contents:

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) Summary: the 404 error is first of all a clear direction, which is the wrong request for road strength.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report