Hello cayenne-user,
After installation of the new version of Cayenne (1.0a5) I began
to receive the exception
java.lang.RuntimeException: Error initializing shared Configuration
at org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:214)
at org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:203)
at org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:186)
at org.objectstyle.cayenne.conf.Configuration.getSharedConfig(Configuration.java:159)
at com.winterthur.cm.controller.LocalUserManager.createContext(LocalUserManager.java:31)
and
WARN MapLoader: Relationship 'TO_CM_USER1': 'toDependentPK' is incorrectly set to true, unsetting...
ERROR Configuration: Error initializing shared Configuration
org.objectstyle.cayenne.ConfigException: [org.objectstyle.cayenne.conf.DefaultConfiguration] : Failed to load domain and/or its maps/nodes.
at org.objectstyle.cayenne.conf.Configuration.init(Configuration.java:249)
at org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:211)
at org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:203)
at org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.java:186)
at org.objectstyle.cayenne.conf.Configuration.getSharedConfig(Configuration.java:159)
in this method
private DataContext createContext() {
Configuration.bootstrapSharedConfig(this.getClass());
DataDomain sharedDomain = Configuration.getSharedConfig().getDomain();
return sharedDomain.createDataContext();
}
previous version work correctly!
p.s. all cayenne generated *.java classes was regenerated and cayenne
config was upgraded
what i do wrong?
-- Best regards, Tim mailto:ti..e7en.ru
This archive was generated by hypermail 2.0.0 : Fri Jan 03 2003 - 16:01:11 EST