You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pe...@meteoswiss.ch on 2003/06/03 14:41:53 UTC

Tiles DTD 1.1RC1

I updated my app from 1.1b2 to 1.1rc1 (nightly build from May 25). However, I was not able to reload it due to parsing problems of the Tiles' DTD file (see below).

=> In 1.1b2 everything was find, in 1.1b3 or and any 1.1rc1 the uploading is not possible?
=> I deleted all old *.jsp
=> what did change? 
=> what is wrong?
=> it's not the first time I ask this question to this list, however, no answer yet...

Thanks for helping.

Peter

My tiles-defs.xml starts with following line
--------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1" ?>
  
<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
       "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
  

>From my Log file
----------------

DEBUG org.apache.commons.beanutils.ConvertUtils -   Using converter org.apache.commons.beanutils.converters.IntegerConverter@159d10
DEBUG org.apache.commons.digester.Digester - register('-//Apache Software Foundation//DTD Tiles Configuration//EN', 'jar:file:/home/zue/users/kep/tools1/jakarta-tomcat-4.1.24/webapps/obs/WEB-INF/lib/struts.jar!/org/apache/struts/resources/tiles-config_1_1.dtd'
DEBUG org.apache.commons.digester.Digester - register('-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN', 'jar:file:/home/zue/users/kep/tools1/jakarta-tomcat-4.1.24/webapps/obs/WEB-INF/lib/struts.jar!/org/apache/struts/resources/tiles-config_1_1.dtd'
DEBUG org.apache.commons.digester.Digester.sax - setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@fab5b1)
DEBUG org.apache.commons.digester.Digester.sax - startDocument()
DEBUG org.apache.commons.digester.Digester.sax - resolveEntity('-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN', 'http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd')
DEBUG org.apache.commons.digester.Digester -  Resolving to alternate DTD 'jar:file:/home/zue/users/kep/tools1/jakarta-tomcat-4.1.24/webapps/obs/WEB-INF/lib/struts.jar!/org/apache/struts/resources/tiles-config_1_1.dtd'
ERROR org.apache.struts.tiles.TilesPlugin - Can't create Tiles definition factory for module ''.


>From my Browser after unsuccessfully uploading
----------------------------------------------

javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. JAR entry org/apache/struts/resources/tiles-config_1_1.dtd not found in /home/zue/users/kep/tools1/jakarta-tomcat-4.1.24/webapps/obs/WEB-INF/lib/struts.jar
	at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:235)
	at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1156)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      ...

javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. JAR entry org/apache/struts/resources/tiles-config_1_1.dtd not found in /home/zue/users/kep/tools1/jakarta-tomcat-4.1.24/webapps/obs/WEB-INF/lib/struts.jar
	at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:235)
	at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1156)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      ...

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org