Error 404–not Found after WebLogic deployment

Source: Internet
Author: User










Error 404--not Found errors



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 Resource is permanently unavailable and has no forwarding address.



Encountered a problem, is to publish a WebService project to Linux under the WebLogic,



1) Posted in local tomcat: Http://localhost:8080/npmService/services can get a list of WSDL files correctly



2) After posting WebLogic, modify the Web. xml file



<! DOCTYPE Web-app Public "-//sun Microsystems, INC.//DTD Web Application 2.3//en" "Http://java.sun.com/dtd/web-app_2_3. DTD "> After WebLogic can start normally



3) via: Http://localhost:8080/console, can log in to WebLogic console normally



4) Input Http://localhost:8080/npmService/services 404 error occurred above



5) Workaround



Add the Weblogic.xml file to the Web. XML sibling directory with the 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: 404 error first clear direction, is to request road hard error.






Error 404–not Found after WebLogic deployment


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.