I managed to hack this. Tomcat uses HashMap to store filters so order of initialization is not guaranteed (which of course happened to me). So I renamed wicket filter so it's hashcode is "greater than" that of cayenne's in the terms of HashMap.yes it should. Make sure your filter is initialized before you call the code above and the filter name in web.xml is the same as your Cayenne XML file name.Andrus
Sometimes... :sigh: Marek