myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjørn T Johansen <...@havleik.no>
Subject Re: Error trying to read tiles definitions...
Date Wed, 07 Sep 2005 06:06:00 GMT
Yes, the problem was the url to the dtd... But shouldn't there be a way to configure
this so that the application is not dependent on an internet connection or just that
a site is up or not??


BTJ

Jesse wrote:
> 
> I got the exact same error yesterday evening.  In my case, it only
> occurs when my internet connection is down (which is all too often I
> might add, Comcast needs to get their act together!!! ;-).  When the
> internet is reachable, I get no problems and everything (including
> tiles) works just fine.
> 
> Could it be the doctype in the tiles config xml file causing this?
> 
> <!DOCTYPE tiles-definitions PUBLIC
>   "-//Apache Software Foundation//DTD Tiles Configuration//EN"
>   "http://jakarta.apache.org/struts/dtds/tiles-config.dtd">
> 
> I'm no expert on the finer details of what goes into trying to
> parse/validate an xml file, but if some guru could point out what's
> actually causing this I'd be interested to hear.
> 
> Cheers,
> -Jesse.
> 
> p.s. While I'm here, can anyone tell me is this the correct doctype when
> using stand-alone tiles?
> 
> 
> Bjørn T Johansen wrote:
> 
>> I am trying to use tiles with JSF but I just get the following error:
>>
>> INFO: Initializing TilesServlet
>> 06.sep.2005 14:16:38 org.apache.tiles.servlets.TilesServlet
>> readFactoryConfig
>> INFO: CONFIG FILES DEFINED IN WEB.XML
>> 06.sep.2005 14:16:38 org.apache.tiles.servlets.TilesServlet
>> initDefinitionsFactory
>> INFO: initializing definitions factory...
>> 06.sep.2005 14:16:39 org.apache.tiles.servlets.TilesServlet
>> saveExceptionMessage
>> WARNING: Caught exception when initializing definitions factory
>> 06.sep.2005 14:16:39 org.apache.tiles.servlets.TilesServlet
>> saveExceptionMessage
>> WARNING: I/O Error reading definitions.
>> 06.sep.2005 14:16:39 org.apache.tiles.servlets.TilesServlet
>> saveExceptionMessage
>> WARNING: org.apache.tiles.DefinitionsFactoryException: I/O Error
>> reading definitions.
>> 06.sep.2005 14:16:39 org.apache.tiles.servlets.TilesServlet
>> saveExceptionMessage
>> WARNING: Caught exception when initializing definitions factory
>> 06.sep.2005 14:16:39 org.apache.tiles.servlets.TilesServlet
>> saveExceptionMessage
>> WARNING: I/O Error reading definitions.
>> 06.sep.2005 14:16:39 org.apache.tiles.servlets.TilesServlet
>> saveExceptionMessage
>> WARNING: javax.servlet.ServletException: I/O Error reading definitions
>>
>>
>> Anyone know why or if I should find another way to initialize tiles?
>> (I am using tiles-core from the sandbox...)
>>
>>
>>
>> Regards,
>>
>> BTJ

Mime
View raw message