Bryan,
Without looking at your code, I'm guessing you will need to turn on
'resolveMachIIDependencies'
Whatever requires your activedirectory isn't finding it whenever it needs it.
Have a look in the coldspring plugin, that's pretty much all the
documentation there is - but it's pretty straight forward.
Mark
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.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>
>
>
>
--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com