2013年12月12日星期四

SSH2 503 error

Today deploy the project to tomcat , start tomcat, 503 error after access to the project .
now can not find the error message , how the 503 error message printed on the specified page ?
------ Solution ---------------------------------------- ----
and 404 belong to one kind of error codes. . .
------ Solution ---------------------------------------- ----
errors on 404,503 page -friendly Jumplines I know, I was trying to print specific information to the wrong page, how dare ?   amount . . . This I really did not come across it, wait for the experts . . .
------ Solution ---------------------------------------- ----
are plus log log is not on
------ Solution ------------------------- -------------------
you can use in the service side .. What struts.add add error message on the client using the struts tag displayed an error message ah
------ Solution ---------------------------------------- ----
in web.xml configuration:

404
/ error/e-404.html


500
/ error/e-500.jsp

like this configuration.
------ Solution ---------------------------------------- ----
Service unavailable
------ Solution ------------------------------ --------------
struts configuration can also
------ Solution ------------------- -------------------------
can do , " I remember 503 is the server has not been started successfully it, seeking answers
--- --- For reference only ---------------------------------------
for 404 503 page errors prompt and friendly jump I know, I was trying to print specific information to the wrong page, how dare ?
------ For reference only -------------------------------------- -
Thank you for your answer , the problem is not resolved, the project is struts2, spring, openJPA framework to do, after the package into tomcat linux under pressure , the newspaper after starting tomcat 503 error page , the background check tomcat startup log , suggesting class class is not loaded into the spring package file. The solution is to lower the spring of spring-agent.jar, spring-tomcat-weaver.jar apache package into the directory lib directory. Also reported a 503 error if so, to see what is wrong under the spool file prompt , check the error message is in the apache logs directory / catalina.out file , if you still not able to find a certain kind of thing, to see whether the proposed package is missing jar under files. Thank you .

没有评论:

发表评论