Hi Antonio -
I had checked this prior, but yes they both exist in the tiles-core-2.1.4.jar
file as indicated below:
15492 10-13-09 21:29 org/apache/tiles/resources/tiles-config_2_1.dtd
13610 10-13-09 21:29 org/apache/tiles/resources/tiles-config_2_0.dtd
The DOCTYPE tag I had prior was:
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
I even verified this definition from the tiles test 2.1.4 web application which
I have deployed. Ironically enough the tiles test webapp does not throw this
exception, which makes me wonder if it is a side affect of integrating struts2,
tiles2, and spring in some fashion or a poor configuration on my part.
So far the only resolution I have been able to come by is to define my DOCTYPE
tag as follows:
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN"
"..\webapps\seek\WEB-INF\tiles-config_2_1.dtd" >
Naturally I'd rather not have to do this if I can afford not to do so, but if
it is the only resolution, I will deal and document it.
Any other places you suggest I check?
> -----Original Message-----
> From: Antonio Petrelli [mailto:[email protected]]
> Sent: Monday, November 16, 2009 9:36 AM
> To: [email protected]
> Subject: Re: Tiles 2.1.4 Validation
>
> 2009/11/16 CRANFORD, CHRIS <[email protected]>:
> > It appears that Tiles 2.1.4 is trying to validate the tiles.xml against
> > the DTD when Tomcat starts. Unfortunately our Tomcat server sits behind
> > a proxy server and is incapable of making request externally.
>
> It should not happen, because Tiles tries to load DTD internally, by
> configuring the digester.
> This DTD is in tiles-core jar. Can you try to open with a zip
> extractor to see if it is there?
> They are in:
> org/apache/tiles/resources/
>
> Antonio