cayenne.xml not found

From: Joćo Paulo Vasconcellos (vasconcello..mail.com)
Date: Wed Nov 10 2004 - 16:31:27 EST

  • Next message: Andrus Adamchik: "Re: Oracle LOB problem"

    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 - 16:31:31 EST