Also just to add a bit more info, I'm seeing these in the exceptions section in the debug output:

14:17:32.032 - coldspring.beanDefException - in D:\Inetpub\wwwroot\coldspring\beans\BeanDefinition.cfc : line 136
	    property requested does not exist for bean: sessionManager 
14:17:32.032 - coldspring.beanDefException - in D:\Inetpub\wwwroot\coldspring\beans\BeanDefinition.cfc : line 108
	    constructor-arg requested does not exist for bean: sessionManager 
Which I'm assuming may be related to the problem. It almost seems like ColdSpring won't allow a constructor argument to be be a reference to another bean? I'll keep looking. Also I'm using the latest version from CVS.

Thanks.

Brian

On 4/4/06, Brian Kotek <[EMAIL PROTECTED]> wrote:
Anyone have an idea why this would be happening? My ColdSpring XML:

    <bean id="sessionManager" class="com.SessionManager" />
   
    <bean id="userManager" class=" com.userManager">
        <constructor-arg name="reactor">
            <ref bean="reactor" />
        </constructor-arg>
        <constructor-arg name="sessionManager">
            <ref bean="sessionManager" />
        </constructor-arg>
    </bean>

Which should be passing the sessionManager as an argument to the init() method of the userManager. However when I run this I get this error:
The method 'setSessionManager' could not be found in component D:\Inetpub\wwwroot\testapp\com\usermanager.cfc. Check to ensure that the method is defined, and that it is spelled correctly. <br>The error occurred on line 494.

This error coming from:
at cfDefaultXmlBeanFactory2ecfc998836096$funcCONSTRUCTBEAN.runFunction(D:\Inetpub\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc:494)


Not sure why ColdSpring would be trying to run setSessionManager() in this situation, any ideas? Thanks.







Reply via email to