Thanks guys, I read the documentation and when I tried the machii property, I received this error:
|-------------------------------------------------------------------------------------------------------------------------------------------| |Bean creation exception during init() of gov.epa.rtp.security.securityQuestion.securityQuestionDao The DATASOURCE parameter to the init | |function is required but was not passed in.: | |The error occurred on line 893. | |-------------------------------------------------------------------------------------------------------------------------------------------| |-------------------------------------------------------------------------------------------| |The error occurred in D:\Public\data\intranet\WEB-INF\coldSpring\beans | |\DefaultXmlBeanFactory.cfc: line 893 | |Called from D:\Public\data\intranet\WEB-INF\coldSpring\beans\DefaultXmlBeanFactory.cfc: | |line 632 | |Called from D:\Public\data\intranet\WEB-INF\machII\properties\ColdspringProperty.cfc: line | |674 | |Called from D:\Public\data\intranet\WEB-INF\machII\properties\ColdspringProperty.cfc: line | |520 | |Called from D:\Public\data\intranet\WEB-INF\machII\framework\AppManager.cfc: line 253 | |Called from D:\Public\data\intranet\WEB-INF\machII\framework\ListenerManager.cfc: line 228 | |Called from D:\Public\data\intranet\WEB-INF\machII\framework\AppManager.cfc: line 115 | |Called from D:\Public\data\intranet\WEB-INF\machII\framework\AppFactory.cfc: line 264 | |Called from D:\Public\data\intranet\WEB-INF\machII\framework\AppLoader.cfc: line 157 | |Called from D:\Public\data\intranet\WEB-INF\machII\framework\AppLoader.cfc: line 94 | |Called from D:\Public\data\intranet\WEB-INF\machII\mach-ii.cfm: line 89 | |-------------------------------------------------------------------------------------------| I was trying to use coldSpring's version to see if I could get around this error. It actually returned the same thing once I use the property call (sorry about the brain fart). This 1.8 install is forcing us to change our coldspring object injection. So I'm trying to learn how it needs to be done now. In the past, we used getters and setters for the dao/gateway object injection in the listeners. This doesn't seem to work now. Can you identify 1.8 sample code that shows the coldspring.xml, machii.xml, getter/setter listener.cfc, and dao/gateway so I can see where I need to make changes. thanks again.... Bill Peddy Web Developer ECS Team - ITS-EPA II - Contractor |------------> | From: | |------------> >---------------------------------------------------------------------------------------------------------------------------------------| |"Peter J. Farrell" <pe...@mach-ii.com> | >---------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >---------------------------------------------------------------------------------------------------------------------------------------| |mach-ii-for-coldfusion@googlegroups.com | >---------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >---------------------------------------------------------------------------------------------------------------------------------------| |05/18/2010 05:09 PM | >---------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >---------------------------------------------------------------------------------------------------------------------------------------| |Re: [Mach-II] Trying to upgrade from 1.5 to 1.8 received error | >---------------------------------------------------------------------------------------------------------------------------------------| Matthew Woodward said the following on 18/05/10 15:47: On Tue, May 18, 2010 at 1:37 PM, <peddy.b...@epamail.epa.gov> wrote: <plugins> <!-- ColdSpring autowire plugin. --> <!--<plugin name="coldSpringPlugin" type="coldspring.machii.ColdspringPlugin">--> <plugin name="coldSpringPlugin" type="coldspring.machii.ColdspringProperty"> The ColdSpring Property is a Property, not a plugin, so it needs to go in the properties section of your mach-ii.xml file, not the plugins section. http://trac.mach-ii.com/machii/wiki/UsingColdSpringWithMach-II As indicated in the documentation, use the ColdSpringProperty that ships with Mach-II. Not the property or plugin that ships with the ColdSpring core. The ColdSpring team has not updated the property/plugin in their core for quite some time and that is why we started shipping Mach-II with our own ColdSpringProperty back in Mach-II 1.5 I believe. Your definition should start like this: <properties> ... other properties ... <property name="ColdSpring" type="MachII.properties.ColdSpringProperty"> .... parameters here (be sure to look at the documentation as things may have changed since the old plugin ... </property> </properties> HTH, .pjf -- 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 mach-ii-for-coldfusion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/ -- 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 mach-ii-for-coldfusion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/