The same file works well with Struts 1.1. I've checked the DOCTYPE definition, and even set the Tiles Plugin definitions-parser-validate property to false... unsuccessfully :-(
Here is the header of my tiles-def.xml : <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"> And here is my plugin configuration in struts config file : <plug-in className="org.apache.struts.tiles.TilesPlugin"><set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" /><set-property property="moduleAware" value="true" /><set-property property="definitions- parser-validate" value="false" /></plug-in> Sebastien Selon Joćo Vieira da Luz <[EMAIL PROTECTED]>: > Maybe you could send your /WEB-INF/tiles-def.xml. > > One possible reason could be the DOCTYPE definition to be wrong. > > On Thu, 2 Sep 2004 12:25:50 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > > > i'ml trying to migrate from Struts 1.1 to struts 1.2.2. I've got the > following > > error when using Struts 1.2.2 (tiles plugin) : > > > > org.apache.struts.tiles.DefinitionsFactoryException: IO Error while > parsing > > file '/WEB-INF/tiles-defs.xml'. No route to host: connect > > at > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile > > (I18nFactorySet.java:538) > > at > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles > > (I18nFactorySet.java:467) > > at > > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory > > (I18nFactorySet.java:271) > > at > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory > > (I18nFactorySet.java:246) > > at > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory > > (I18nFactorySet.java:196) > > at > > org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init > > (ComponentDefinitionsFactoryWrapper.java:104) > > at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory > > (TilesUtilImpl.java:138) > > at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory > > (TilesUtil.java:167) > > at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory > > (TilesPlugin.java:224) > > at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139) > > at org.apache.struts.action.ActionServlet.initModulePlugIns > > (ActionServlet.java:839) > > at > org.apache.struts.action.ActionServlet.init(ActionServlet.java:332) > > [...] > > > > Any idea ? > > > > Sebastien > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]