Error during Configuration initialization

From: emre (emre.yilma..tr.com.tr)
Date: Wed Jan 12 2005 - 02:37:03 EST

  • Next message: Mike Kienenberger: "Re: Error during Configuration initialization"

    Hello,

    Can anybody explain wyh get an error like this whereas I put the=20
    cayenne.xml in the same location with main class.

    Error:
    org.objectstyle.cayenne.ConfigurationException: [v.1.1RC2 October 24 =3D
    2004] Error during Configuration initialization. [v.1.1RC2 October 24 =
    =3D
    2004] [org.objectstyle.cayenne.conf.DefaultConfiguration] : Domain =3D
    configuration file "cayenne.xml" is not found.
            at =3D
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(=
    =3D
    Configuration.java:304)
            at =3D
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(=
    =3D
    Configuration.java:278)
            at =3D
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(=
    =3D
    Configuration.java:261)
            at =3D
    org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Configu=
    =3D
    ration.java:224)
            at =3D
    org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.=
    =3D
    java:252)
            at tr.com.htr.hgys.db.Cayenne.<init>(Cayenne.java:31)
            at tr.com.htr.hgys.db.test.main(test.java:13)
    Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.1RC2 =3D
    October 24 2004] [org.objectstyle.cayenne.conf.DefaultConfiguration] : =
    =3D
    Domain configuration file "cayenne.xml" is not found.
            at =3D
    org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfi=
    =3D
    guration.java:174)
            at =3D
    org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(=
    =3D
    Configuration.java:296)
            ... 6 more



    This archive was generated by hypermail 2.0.0 : Wed Jan 12 2005 - 02:35:45 EST