HI,
Normally I do my web dev using Tomcat, today I tryed deploying to Resin
and as soon as I get the data context it throws:
(ok so it uses a different XML parser and personally I'd point the
finger at the caucho lib, but thought I'd ask here. I checked the
cayenne.xml and the domain tag has a valid looking name="my_domain")
Error during Configuration initialization. [v.1.1B3 September 20 2004]
Domain 'name' attribute must be not null.
Stack Trace:
org.objectstyle.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataDomain(RuntimeLoadDelegate.java:179)
org.objectstyle.cayenne.conf.ConfigLoader$DomainHandler.init(ConfigLoader.java:235)
org.objectstyle.cayenne.conf.ConfigLoader$DomainsHandler.startElement(ConfigLoader.java:190)
com.caucho.xml.XmlParser.addElement(XmlParser.java:2492)
com.caucho.xml.XmlParser.parseElement(XmlParser.java:633)
com.caucho.xml.XmlParser.parseNode(XmlParser.java:379)
com.caucho.xml.XmlParser.parseInt(XmlParser.java:254)
com.caucho.xml.AbstractParser.parse(AbstractParser.java:648)
org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:114)
org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:185)
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:296)
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:278)
org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:261)
org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Configuration.java:224)
org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.java:251)
Thanks,
Steve
This archive was generated by hypermail 2.0.0 : Fri Sep 24 2004 - 03:48:17 EDT