Haven't tried it with JDK 1.5. Did you just upgrade to 1.5 and it stopped
working? Also do you have a listener setup in your web.xml
(http://objectstyle.org/cayenne/userguide/deploy/webapplicationlistener.html)?
Otherwise cayenne.xml won't be loaded from WEB-INF.
Andrus
> Hello everybody,
>
> I am puzzled by this error. I saw the thread about it in the
> archives, but I think my problem is a little bit strange. My context,
> mapping etc. were working yesterday but today cayenne says it cannot
> find cayenne.xml anywhere....
>
> The error is this one:
> org.objectstyle.cayenne.ConfigurationException: [v.1.1RC2 October 24
> 2004] Error during Configuration initialization. [v.1.1RC2 October 24
> 2004] [org.objectstyle.cayenne.conf.DefaultConfiguration] : Domain
> configuration file "cayenne.xml" is not found.
>
> but my files looks like this:
> joa..paulo:/opt/tomcat4/webapps/prevdata/WEB-INF$ ls -la
> total 29
> drwxrwxrwx 4 root root 224 2004-10-27 18:17 ./
> drwxrwxrwx 18 root root 688 2004-10-27 17:56 ../
> -rw-rw-rw- 1 root root 12807 2004-10-27 17:56 PrevdataMap.map.xml
> -rw-rw-rw- 1 root root 413 2004-10-27 18:17 cayenne.xml
> drwxrwxrwx 3 root root 72 2004-10-27 17:56 classes/
> drwxrwxrwx 2 root root 80 2004-11-10 18:46 lib/
> -rw-rw-rw- 1 root root 701 2004-10-27 17:56 sun-web.xml
> -rw-rw-rw- 1 root root 1677 2004-10-27 18:13 web.xml
> joa..paulo:/opt/tomcat4/webapps/prevdata/WEB-INF$
>
>
> As you can see, it's in the right place. I am using JNDI, my mapping is
> correct (it was working yesterday), the only thing out of the
> normal is that I am using jdk-1.5 .
>
> Anyone got such weirdness before?
> Any help is welcome.
>
> Thanks,
> --
> Joćo Paulo Vasconcellos
> ICQ: 123-953-864
This archive was generated by hypermail 2.0.0 : Wed Nov 10 2004 - 17:21:19 EST