Re: Error: unnamed <domain>

From: Borut Bolčina (borut.bolcin..mail.com)
Date: Fri Aug 04 2006 - 15:17:01 EDT

  • Next message: Andrus Adamchik: "Re: Error: unnamed <domain>"

    Here it is:
    <?xml version="1.0" encoding="utf-8"?>
    <domains project-version="1.1">
        <domain name="NoviforumDomain">
            <map name="AnniversaryMap" location="AnniversaryMap.map.xml" />

            <node name="NoviforumDomainNode"
                datasource="NoviforumDomainNode.driver.xml"
                factory="org.objectstyle.cayenne.conf.DriverDataSourceFactory">
                <map-ref name="AnniversaryMap" />
            </node>
        </domain>
    </domains>

    2006/8/4, Andrus Adamchik <andrus@objectstyle.org>:
    >
    >
    > On Aug 4, 2006, at 2:35 PM, Borut Bolčina wrote:
    >
    > > ERROR [04 avg 2006 20:14:44:859] Exception starting filter
    > > CayenneFilter
    > > org.objectstyle.cayenne.ConfigurationException: [v.1.2 July 18
    > > 2006] Error
    > > during Configuration initialization. [v.1.2 July 18 2006] Domain
    > > 'name'
    > > attribute must be not null.
    >
    > So how does cayenne.xml look like? Is there a name attribute for the
    > domain:
    >
    > <domain name="XYZ">
    > ...
    >
    > Andrus
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Aug 04 2006 - 15:17:25 EDT