"cayenne.xml" is not found

From: Emre Yilmaz (emre.yilma..tr.com.tr)
Date: Thu Apr 14 2005 - 08:56:47 EDT

  • Next message: Andrus Adamchik: "Re: How i can read at runtime datasource info?"

    Hello,

    I write a class in which I call the datacontexts with (context = dataContext.createDataContext();) and I put the cayenne.xml in the same directory with this class
     but I get the ""cayenne.xml" is not found" error. Can anybody help me.

    Thanks.

    ERROR:
    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.
        at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:304)
        at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:278)
        at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:261)
        at org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Configuration.java:224)
        at org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.java:252)
        



    This archive was generated by hypermail 2.0.0 : Thu Apr 14 2005 - 09:00:52 EDT