Re: error at runtime with procedures

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Oct 21 2004 - 19:53:43 EDT

  • Next message: Andrus Adamchik: "Re: Weird Behaviour with Nullify rule"

    Brian,

    could you post (or send directly to me) the <procedure>...</procedure>
    part of the DataMap XML (or the whole DataMap)? It might be something
    related to this bug -
    http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-167 ... Does
    a parameter in question has a "name" attribute? Maybe something that
    validation overlooks...

    Andrus

    On Oct 21, 2004, at 5:44 PM, Hogue, Brian wrote:

    >
    > 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.initializeSharedConfiguratio
    > n(Configuration.java:304)
    > at
    > org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguratio
    > n(Configuration.java:278)
    > at
    > org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguratio
    > n(Configuration.java:261)
    > at
    > org.objectstyle.cayenne.conf.Configuration.getSharedConfiguration(Confi
    > guration.java:224)
    > at
    > org.objectstyle.cayenne.access.DataContext.createDataContext(DataContex
    > t.java:251)
    > at
    > org.nfib.core.service.employee.EmployeeServicesImpl.main(EmployeeServic
    > esImpl.java:35)
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > at
    > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
    > va:39)
    > at
    > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
    > rImpl.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(Runtim
    > eLoadDelegate.java:560)
    > at
    > org.objectstyle.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java
    > :115)
    > at
    > org.objectstyle.cayenne.conf.DefaultConfiguration.initialize(DefaultCon
    > figuration.java:185)
    > at
    > org.objectstyle.cayenne.conf.Configuration.initializeSharedConfiguratio
    > n(Configuration.java:296)
    > ... 10 more
    > Exception in thread "main"
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Oct 21 2004 - 19:53:49 EDT