cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason-pa <>
Subject Web App Configuration with Cayenne v.3.1M3
Date Tue, 07 Feb 2012 22:57:53 GMT
I'm trying to configure and deploy a web app with Cayenne v.3.1M3  and
Tomcat 7.025. 

In my web.xml file: 


The class loader can't find "cayenne-shopperDomain.xml". The following
exception is thrown:
org.apache.cayenne.configuration.server.DataDomainLoadException: [v.3.1M3
Sep 13 2011 18:45:47] Configuration resource "cayenne-shopperDomain.xml" is
not found.

I've tried a few other locations, no dice. Tried the filter declaration
without any init parameters. 

I've also tried removing the Cayenne Filter configuration (from web.xml).
Then from one my application classes:
 ServerRuntime cayenneRuntime = new
 context = cayenneRuntime.getContext();

Ran that through the debugger, ClassLoaderResourceLocator.findResources(), 
class loader can't find "cayenne-shopperDomain.xml".

Any suggestions greatly appreciated. 

View this message in context:
Sent from the Cayenne - User mailing list archive at

View raw message