cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kanwar Manish <kanwarman...@gmail.com>
Subject Domain configuration file "cayenne.xml" is not found.
Date Thu, 24 May 2012 07:13:27 GMT
Sorry guys, I am posting this bugger again.

But it has turned out to be a bummer for me.

I am using NetBeans 7.1.1
JDK 1.7

cayenne files are in the folder - "/WEB-INF/config/cayenne-files". Total
three files cayenne.xml, map and node files.

Error:
"[v.3.0.2 Jun 11 2011 09:26:09] Error during Configuration initialization.
[v.3.0.2 Jun 11 2011 09:26:09]
[org.apache.cayenne.conf.DefaultConfiguration] : Domain configuration file
"cayenne.xml" is not found."

My XML File section for cayenne:
"
    <filter>
        <filter-name>CayenneFilter</filter-name>

<filter-class>org.apache.cayenne.conf.WebApplicationContextFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>CayenneFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <context-param>
        <param-name>cayenne.configuration.path</param-name>
        <param-value>/WEB-INF/config/cayenne-files</param-value>
    </context-param>
"

Thanks in Advance

I have searched this where I can - but not able to find a solution.

Thanks
KM

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