error at runtime with procedures

From: Hogue, Brian (Brian.Hogu..FIB.ORG)
Date: Thu Oct 21 2004 - 17:44:25 EDT

  • Next message: Gentry, Michael: "RE: Query certain attributes"

    When I try to import , or reverse engineer, stored procedures (from Oracle) into the modeler - everything seems to work. However, I run into problems at runtime when this error is thrown. It seems to be having trouble with the procedure-parameter tag in the xml file, but the xml looks to be well formed. - any help much appreciated -

    Thanks - Brian

    org.objectstyle.cayenne.ConfigurationException: [v.1.1RC1 October 3 2004] Error during Configuration initialization. [v.1.1RC1 October 3 2004] Load failures. Main configuration class: org.objectstyle.cayenne.conf.DefaultConfiguration, details:
            domain.map.name=MembershipMap, domain.map.location=MembershipMap.map.xml, reason: map loading failed - [v.1.1RC1 October 3 2004] Wrong DataMap format, last processed tag: <procedure-parameter
            at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:304)
            at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:278)
            at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:261)
            at org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Configuration.java:224)
            at org.objectstyle.cayenne.access.DataContext.createDataContext(DataContext.java:251)
            at org.nfib.core.service.employee.EmployeeServicesImpl.main(EmployeeServicesImpl.java:35)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.1RC1 October 3 2004] Load failures. Main configuration class: org.objectstyle.cayenne.conf.DefaultConfiguration, details:
            domain.map.name=MembershipMap, domain.map.location=MembershipMap.map.xml, reason: map loading failed - [v.1.1RC1 October 3 2004] Wrong DataMap format, last processed tag: <procedure-parameter
            at org.objectstyle.cayenne.conf.RuntimeLoadDelegate.finishedLoading(RuntimeLoadDelegate.java:560)
            at org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:115)
            at org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:185)
            at org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguration(Configuration.java:296)
            ... 10 more
    Exception in thread "main"



    This archive was generated by hypermail 2.0.0 : Thu Oct 21 2004 - 17:44:26 EDT