On 1/24/07, Craig McClanahan <[EMAIL PROTECTED]> wrote:

> INFO: Initializing TilesServlet
> 24-Jan-2007 16:05:29
org.apache.tiles.servlet.TilesServletreadFactoryConfig
> INFO: CONFIG FILES WERE NOT DEFINED IN WEB.XML, LOOKING FOR
> /WEB-INF/tiles.xml


This message implies that your context init parameter is not being
recognized.  If I am reading the Tiles code correctly, the parameter name
should now be "org.apache.tiles.DEFINITIONS_CONFIG" although
"definitions-config"  is still recognized for backwards compatibility.


Yes try "definitions-config" and see if that works.  You can also check the
example web.xml found here:


https://svn.apache.org/repos/asf/tiles/trunk/tiles-test/src/main/webapp/WEB-INF/web.xml


24-Jan-2007 16:05:29 org.apache.tiles.servlet.TilesServlet
> initDefinitionsFactory
> INFO: initializing definitions factory...
> org.apache.tiles.DefinitionsFactoryException: I/O Error reading
> definitions.
>         at


The fact that this says I/O error instead of parsing error implies that
the
problem is not finding the file at all (rather than some problem with the
XML syntax).


I've seen this error before when Tiles could not load the file for one
reason or another.  As Craig said I don't think it's a problem with the XML,
it appears to be a problem loading the file itself.

Greg

Reply via email to