Please tell me what I am missing. This is the first time I am using the
Coldspring plugin for mach-ii. Thanks.
Bryan
I'm getting this error in my security service:
Element INSTANCE.ACTIVEDIRECTORYDAO is undefined in VARIABLES.
I have this in my mach-ii.xml:
<mach-ii>
<properties>
<property name="ColdspringConfigFile"
value="/actionpacks/security/config/ColdSpring.xml" />
</properties>
<plugins>
<plugin name="ColdspringPlugin" type="coldspring.machii.coldspringPlugin
">
<parameters>
<parameter name="configFilePropertyName"
value="ColdspringConfigFile" />
<parameter name="configFilePathIsRelative" value="false" />
<parameter name="resolveMachiiDependencies" value="false" />
<parameter name="placeFactoryInApplicationScope" value="false"
/>
</parameters>
</plugin>
</plugins>
</mach-ii>
I know that my Coldspring.xml is good because this works if I put it the
init of the service:
<cffunction name="init" returntype="any" output="false" hint="Constructor">
<cfset variables.instance.BeanFactory = createObject("component","
coldspring.beans.DefaultXmlBeanFactory").init() />
<cfset
getBeanFactory().loadBeansFromXmlFile("/actionpacks/security/config/ColdSpring.xml",true)
/>
<cfset variables.instance.ActiveDirectoryDao =
getBeanFactory().getBean("ActiveDirectoryDao") />
<cfreturn this />
</cffunction>