Great! Yeah, removing support for WEB-INF as a config location was an intentional step. Using CLASSPATH to locate resources is the most portable approach that works in any Java environment, not just web apps.
And of course for those who are used to WEB-INF/, it is always easy to write your own bootstrap code based on CayenneFilter ideas. Andrus On Feb 8, 2012, at 9:04 PM, jason-pa wrote: > Hi Andrus, > Thank you! > ...... > "cayenne-shopperDomain.xml" was located in WEB-INF. Changed my ant build > script to move "cayenne-shopperDomain.xml" (and the other associated cayenne > configuration files) to WEB-INF/classes. That was it. Doh! I did a Homer > Simpson :) I overlooked the obvious :). Thank so much for your patience. > ..... > FYI > ..... > Had been using Cayenne v3.0.1 and v.3.0.2 with Tomcat (on various projects). > Never to had to move the cayenne configuration files from "WEB-INF" to > "WEB-INF/classes" before. Thus, my confusion over the obvious. > ...... > In general, kudos to all the Cayenne contributors. I find Cayenne a joy to > work with. > ...... > The Cayenne Modeler v3.1M3 graphing is a great feature. > ..... > Thank you so much for the help. > > > -- > View this message in context: > http://cayenne.195.n3.nabble.com/Web-App-Configuration-with-Cayenne-v-3-1M3-tp3724256p3726896.html > Sent from the Cayenne - User mailing list archive at Nabble.com. >
