One other issue I ran into that I asked about on the
Model Glue list but is apparently a Reactor problem, as
well:
I really don't want to
have to go this route but I thought I would experiment with it to see how it
works.
Adding an alias to my
reactor.xml as shown below causes the error shown below that. It's
reproducible : Comment out the object
tag and it works fine.
Uncomment it and it fails. I tried deleting all the generated files but that didn't help.
Uncomment it and it fails. I tried deleting all the generated files but that didn't help.
I confirmed the syntax
both here
http://evenamonkey.com/monkeyblog/reactor
And here
http://www.doughughes.net/index.cfm?event=viewEntry&entryId=167
http://evenamonkey.com/monkeyblog/reactor
And here
http://www.doughughes.net/index.cfm?event=viewEntry&entryId=167
/MyApp/config/Coldspring.xml
---
<bean id="reactorConfiguration" class="reactor.config.config">
<constructor-arg name="pathToConfigXml"><value>/MyApp/config/Reactor.xml</value></constructor-arg>
/MyApp/config/Reactor.xml
---
<reactor>
<object name="MyObjectName">
<field name="MyColumnName" alias="MyColumnAlias" />
</object>
</reactor>
<field name="MyColumnName" alias="MyColumnAlias" />
</object>
</reactor>
Bean creation exception during init() of ModelGlue.unity.eventhandler.EventHandlerFactory
Bean creation exception during init() of ModelGlue.unity.orm.ReactorAdapter:Bean creation exception during init() of reactor.config.config:An error occured while Parsing an XML document.:Open quote is expected for attribute "name" associated with an element type "object".
The error occurred in D:\www\coldspring\beans\DefaultXmlBeanFactory.cfc: line 539
Called from D:\www\coldspring\beans\DefaultXmlBeanFactory.cfc: line 332 Called from D:\www\ModelGlue\unity\loader\XmlConfigurationLoader.cfc: line 16
Called from D:\www\ModelGlue\unity\loader\XmlConfigurationLoader.cfc: line 319
Called from D:\www\ModelGlue\unity\loader\XmlConfigurationLoader.cfc: line 49
Called from D:\www\ModelGlue\unity\loader\FrameworkLoader.cfc: line 63
Called from D:\www\ModelGlue\unity\ModelGlue.cfm: line 48 Called from D:\www\AppSecurityManager\index.cfm: line 53
537 : <cfthrow type="coldspring.beanCreationException"
538 : message="Bean creation exception during init() of #beanDef.getBeanClass()#"
539 : detail="#cfcatch.message#:#cfcatch.detail#">
540 : </cfcatch>
541 :</cftry>
538 : message="Bean creation exception during init() of #beanDef.getBeanClass()#"
539 : detail="#cfcatch.message#:#cfcatch.detail#">
540 : </cfcatch>
541 :</cftry>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
