cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: Trouble with Web deployment part 2
Date Sat, 13 Jun 2015 17:46:50 GMT
Not sure if it changed but typically it goes directly in src so it is at
the classpath root, and ends up in Web-inf/classes.
On Sat, Jun 13, 2015 at 8:26 AM Andrew Willerding <awillerding@itsurcom.com>
wrote:

> Hi,
>
> I'm experiencing a new problem now with deploying a V4 Cayenne project.
> With Version 3 projects I was able to place the cayenne-xx.xml file
> where I wanted under the WEB-INF folder and provide a params option in
> the web.xml file and everything worked as expected.
>
> With Cayenne V4 I am not experiencing the same.  I am getting the
> following error:
>
> org.apache.cayenne.configuration.server.DataDomainLoadException:
> [v.4.0.M2 Feb 26 2015 08:47:05] Configuration resource
> "cayenne-CSCTCBridgeWeb.xml" is not found.
>
> org.apache.cayenne.configuration.server.DataDomainProvider.descriptorFromConfigs(DataDomainProvider.java:198)
>
> org.apache.cayenne.configuration.server.DataDomainProvider.createAndInitDataDomain(DataDomainProvider.java:110)
>
> even with what I believe are the appropriate cayenne directives in the
> web.xml file.
>
>      <context-param>
> <param-name>cayenne.configuration.path</param-name>
> <param-value>/WEB-INF/DBConfig</param-value>
>      </context-param>
>
>      <filter>
> <filter-name>cayenne-CSCTCBridgeWeb</filter-name>
>
> <filter-class>org.apache.cayenne.configuration.web.CayenneFilter</filter-class>
>      </filter>
>
> where the cayenne-CSCTCBridge.xml and support files are located in the
> DBConfig directory.
>
> I am deploying on Tomcat V8.0.23 and jdk 1.8.0.45
>
> Has something changed in Cayenne V4?
>
> Thanks,
>
> Andrew
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message