Restarted and used the dump as suggested and I get... struct [empty]
strange! If I was to go back the to setdnsBean i can dump in that function and its there however I want to inject using the init It should work again just in cause I will post the full code below, if you have any more ideas they would be very much welcome... coldspring.xml <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans default-autowire="byName"><!--Autowire by name--> <bean id="coldboxFactory" class="coldbox.system.extras.ColdboxFactory" /> <!--Create Config Bean--> <bean id="ConfigBean" factory-bean="ColdboxFactory" factory-method="getConfigBean" /> <!--Create DNS Bean--> <bean id="dsnBean" factory-bean="ColdboxFactory" factory-method="getDatasource"> <constructor-arg name="alias"> <value>DBDetails</value> </constructor-arg> </bean> <!--User Service Bean all external requests should hit this first to access User Gateway!--> <bean id="userService" class="model.UserService" /> <!--Gateway Bean needs DNS to be injected from DNS Bean!--> <bean id="userGateway" class="model.common" > <constructor-arg name="dsnBean"> <ref bean="dsnBean" /> </constructor-arg> </bean> </beans> ------------------------------------ common.cfc <cfcomponent displayname="common" output="false"> <!---- CONSTRUCTOR ---------> <cffunction name="init" access="public" returntype="any" hint="constructor"> <cfargument name="dsnBean" type="any" required="yes" /> <cfset variables.instance['dsnBean'] = arguments.dsnBean /> <cfreturn this /> </cffunction> ------------------- error Error Type: Application : [N/A] Error Messages: The DSNBEAN parameter to the init function is required but was not passed in. ID: CF_TEMPLATEPROXY LINE: 187 Template: D:\wwwroot\coldbox\system\plugins\beanFactory.cfc ID: CF_UDFMETHOD LINE: 240 Template: D:\wwwroot\coldbox\system\plugins\beanFactory.cfc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324981 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

