No, the way it got resolved is I had Matt Woodward trouble shoot it and this is what he found.
1. remove the entire includes block from your mach-ii.xml config file-- you don't need that 2. change the default autowire settings in your coldspring config file to "false" instead of "byName" So, that include file in the mach-ii.xml config file config was coming from code that I got from Dan Wilson's skeleton MachII files. <includes> <include file="config/coldspringProperty.xml" /> <!--<include file="config/anotherIncludeFile.xml" />-- > </includes> <beans default-autowire="byName"> <bean id="rssService" class="mymachii.model.rss.rssService"> </bean> That solved the problem with that particular listener and the session problems I was having. However, I have run into a similiar problem with another listener that I created. I used Illudium PU-36 to generate this code. My question is should Coldspring autowire this listener? <cfcomponent displayname="eStaffListener" output="false" extends="MachII.framework.Listener" hint="eStaffListener for mymachii"> <!--- configure is called once by Mach-II when the application loads ---> <cffunction name="configure" access="public" output="false" returntype="void"> <cfset variables.EstaffDAO = createObject("component", "mymachii.model.estaff.EstaffDAO").init(getProperty('dsn')) /> <cfset variables.EstaffGateway = createObject("component", "mymachii.model.estaff.EstaffGateway").init(getProperty('dsn')) /> <cfset variables.EstaffService = createObject("component", "mymachii.model.estaff.EstaffService").init(EstaffDAO,EstaffGateway) / > </cffunction> <cffunction name="getEstaffs" access="public" output="false" returntype="query"> <cfset variables.myEstaff = variables.EstaffService.getEstaffsAttributes() /> <cfreturn myEstaff /> </cffunction> </cfcomponent> <bean id="EstaffDAO" class="mymachii.model.estaff.EstaffDAO" default- autowire="false"> <constructor-arg name="dsn"><value>${dsn}</value></constructor-arg> </bean> <bean id="EstaffGateway" class="mymachii.model.estaff.EstaffGateway" default-autowire="false"> <constructor-arg name="dsn"><value>${dsn}</value></constructor-arg> </bean> <bean id="EstaffService" class="mymachii.model.estaff.EstaffService" default-autowire="false"> <constructor-arg name="EstaffDAO"> <ref bean="EstaffDAO"/> </constructor-arg> <constructor-arg name="EstaffGateway"> <ref bean="EstaffGateway"/> </constructor-arg> </bean> I am not able to keep the constructor empty. Thanks for your thoughts. On Oct 2, 9:25 am, Brian FitzGerald <[EMAIL PROTECTED]> wrote: > Hey Murphy, I hadn't responded again since Joel brought up the issue I > was thinking about. Were you able to get that worked out by enabling > session management? > > Thanks, > Brian > > On Sep 29, 1:34 pm, jlcox <[EMAIL PROTECTED]> wrote: > > > > > Did you enable session state in the Application.cfc? > > You should have a line like: > > > <cfset this.sessionManagement = true /> > > > in that file.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: https://greatbiztoolsllc-svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc-trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---