Parsing error processing resource path /WEB-INF/struts-config.xml


issue 1: Parsing error processing resource path /WEB-INF/struts-config.xml java.net.ConnectException: Connection timed out: connect

issue 2: 00:25:43,798 INFO  [[/openpixpdq]] Marking servlet action as unavailable 00:25:43,798 ERROR [[/openpixpdq]] Servlet /openpixpdq threw load() exception javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml         at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:769)         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:743)

issue 3: HTTP Status 503 – Servlet action is currently unavailable message Servlet action is currently unavailable description The requested service (Servlet action is currently unavailable) is not currently available.

Solution:

Problem with accessing the reference in DTD, it’s due to Internet or System configuration issues.

Step 1: Download struts-config_1_3.dtd from http://struts.apache.org/dtds/struts-config_1_3.dtd

Step 2: Find and Replace in (strut-config.xml is located in WEB-INF folder) <!DOCTYPE struts-config PUBLIC          “-//Apache Software Foundation//DTD Struts Configuration1.3//EN”          “http://struts.apache.org/dtds/struts-config_1_3.dtd“;>

with

<!DOCTYPE struts-config PUBLIC          “-//Apache Software Foundation//DTD Struts Configuration1.3//EN”          “struts-config_1_3.dtd”>

Step 3: copy downloaded struts-config_1_3.dtd file in to WEB-INF folder and deploy.

Good Luck…..