I have been trying to get my Tiles app working with the current Shale release 
(thanks Craig and Greg for your help), and am currently working with the 
shale-framework-20061116 jars. My running version used only the 
shale-framework-20061004 jars. I have discovered that I can use the 20061116 
shale-tiles and tiles-core with the 20061004 Shale release, and have 
successfully implemented the Tiles 2 FAQ changes.

Once I replace my 20061004 shale-xxx jars (except for the two newer Tiles jars) 
with the 20061116 jars my app fails like before with this log data:

INFO: Undeploying context [/starraShale]
log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Nov 17, 2006 10:14:26 AM org.apache.tiles.listener.TilesListener 
contextInitialized
INFO: Initializing TilesListener
Nov 17, 2006 10:14:26 AM org.apache.tiles.listener.TilesListener 
readFactoryConfig
INFO: CONFIG FILES DEFINED IN WEB.XML
Nov 17, 2006 10:14:26 AM org.apache.tiles.listener.TilesListener 
initDefinitionsFactory
INFO: initializing definitions factory...
SaInitializer.contextInitialized
Nov 17, 2006 10:14:26 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Nov 17, 2006 10:14:26 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/starraShale] startup failed due to previous errors

My log4j is as follows:

log4j.debug=true
log4j.appender.C1=org.apache.log4j.ConsoleAppender
log4j.appender.C1.Threshold=DEBUG
log4j.appender.C1.layout=org.apache.log4j.PatternLayout
log4j.appender.C1.layout.ConversionPattern=%d - %p %c - %m%n
log4j.rootLogger=DEBUG, C1# test
log4j.logger.com.ibatis=DEBUG, C1
log4j.logger.java.sql=DEBUG, C1
log4j.logger.org.apache.commons.digester.Digester.sax=DEBUG, C1
log4j.logger.org.apache.shale=DEBUG, C1
log4j.logger.org.apache.catalina.core=DEBUG, C1
log4j.logger.org.apache.jasper.compiler=DEBUG, C1
log4j.logger.com.starrcs=TRACE, C1

As a test I reduced my shale lib jars to shale-core, shale-tiles, and 
tiles-core. This configuration works with the 20061004 jars (i.e. deploys and 
displays my first view) but fails with the corresponding three 20061116 jars. I 
realize that I may need more shale jars with the later release as the work 
seems to be distributed differently within the jars, but I was wanting to make 
the test as simple as possible (note from above that it also fails with the 
full set of 20061116 shale jars).

Bottom line seems to be that you can get away with using the latest shale-tiles 
and tiles-core with an earlier release of Shale. I never like mixing releases, 
but it is working for me - and I want to test the latest Tiles.

If anyone has the latest Shale/Tiles working please post what Shale/Tiles 
version you are using, and I will try it.

Thanks,

Dick


Reply via email to