coldfusion - ColdSpring IsLazyInit isn't boolean? -


Has anyone ever seen this error with ColdForce?

ISLAZYINIT argument createBeanDefinition function type is not of Boolean.

This is happening after the CF service is restarted, and when trying to do something on it, start the application

  beanFactory = createObject ( "Coldspring.beans.DefaultXmlBeanFactory") init (defaultProperties = stuCsConfig). BeanFactory.loadBeans (expandPath ("/ share / config / Coldspring-services.xml"));  

that cold-processed. The content of the XML file looks like this:

  & lt; Bean id = "pageheader" class = "path.So page header" singleton = "true" lazy-init = "false" & gt; & Lt; Constructor-arg name = "fooBar" & gt; & Lt; Price & gt; $ {Foobar} & lt; / Pricing & gt; & Lt; / Creator-arg & gt; & Lt; / Bean & gt;  

For a few dozen equally produced beans, some are set to lazy-init = false , some lazy-init = true .

The code has not changed in some particular way recently, and I am thinking whether it is possibly a problem with Java JVM, or a CF administrator such as caching. can go. Has anyone got any suggestions or suggestions?

The problem was: Java on that server was upgraded from 7 to 8. It was not working, so it was brought back to Java7. Although it seems that some changes were made by the upgrade, when it was reverted back to Java7.

Fix was to completely uninstall Java and to restore V7 from the beginning, which seemed to fix it.


Comments