Can see the stack trace (aka the tag context) for this error? I am wondering
which is triggering this error. Can we see the configuration for any beans
that configured to use active directory DAO?
--Kurt
On 7/31/07, Bryan S <[EMAIL PROTECTED]> wrote:
>
> 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.coldspringPlu
> gin">
> <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>
>
>
>