cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Baldwin <jfbald...@earthlink.net>
Subject 4.0 web.xml filter config files
Date Sun, 05 Jul 2015 23:56:24 GMT
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?
Mime
View raw message