I have a Struts application that is running using Apache Tomcat 5.5. It has been working all this time, but today it is suddenly giving this error upon trying to connect:
javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. Connection timed out: connect
org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:235)
org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139)
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
root cause
org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. Connection timed out: connect
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:538)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:467)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:271)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:246)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:196)
org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:104)
org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:138)
org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:167)
org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:224)
org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139)
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
As mentioned this was sudden and I did not make any changes to the code yet it is suddenly throwing this error. The tiles-def.xml file is unchanged and it is still in the /WEB-INF folder. Also, this problem persists even when I try restarting the server. Could someone help with this problem? I have no clue how to continue. - Thanks
javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. Connection timed out: connect
org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:235)
org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139)
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
root cause
org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. Connection timed out: connect
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:538)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:467)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:271)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:246)
org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:196)
org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:104)
org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:138)
org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:167)
org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:224)
org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139)
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
As mentioned this was sudden and I did not make any changes to the code yet it is suddenly throwing this error. The tiles-def.xml file is unchanged and it is still in the /WEB-INF folder. Also, this problem persists even when I try restarting the server. Could someone help with this problem? I have no clue how to continue. - Thanks