cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øyvind Harboe <>
Subject How to load 3.0 cayenne.xml in 3.1?
Date Fri, 21 Jan 2011 20:16:11 GMT
How do I load my cayenne.xml in 3.1?

Can I convert a cayenne.xml from 3.0 to 3.1 format somehow?

Is cayenne.xml != cayenne-UntitledDomain.xml?

Where does cayenne-UntitledDomain.xml come from?

When I tried using the instructions I on the wikipages, I got an error
message about the xml format not being correct.

cayenneRuntime = new ServerRuntime("cayenne.xml");


org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader  -
Loading XML configuration resource from
org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader  - tag
<domains> is unexpected at [32,2]. The following tags are allowed
here: [domain]

I get a bit further, if I manuall strip '<domains project-version="3.0">', but
that seems wrong.

Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

View raw message