You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Joe Baldwin <jf...@earthlink.net> on 2015/07/05 22:02:42 UTC

4.0 web.xml filter config files

While migrating to 4.0, I have found that the config files assoicatated with the filter cannot be located.  It appears that the location rules have changed again.

This doc

	https://cayenne.apache.org/docs/4.0/cayenne-guide/starting-cayenne.html#webapps

says:

"When started by the web container, it creates a instance of ServerRuntime and stores it in the ServletContext. Note that the name of Cayenne XML project file is derived from the "filter-name". In the example above CayenneFilter will look for an XML file "cayenne-project.xml". This can be overridden with "configuration-location" init parameter.”

But there is no example, and it is not clear how all of the config files are located.

Is there an example of where to store and locate these using the web.xml filter?