Sorry. There is a typo in the subject line -- ColdSpring On May 31, 3:30 pm, Siva <[email protected]> wrote: > We all knew how to run skeleton application..keeping the ColdSpring + > MachII folders under wwwroot... > > Can someone modify the skeleton application to include ColdSpring & > MachII with in the skeleton folder and make it work? > > The reason for this, i would like to deploy my application to a hosted > service and they won't allow to keep the folders under wwwroot or give > me a mapping to my folders of coldSpring & MachII in ColdFusion > administrator. > > I don't think i doing some think new here and I hope someone might > have already done this. > > I read the wiki > athttp://trac.mach-ii.com/machii/wiki/FAQApplicationSpecificMappingWork > and followed the instructions. > > I copied mach-ii.cfc into the folder of application.cfc and > application.cfc extends 'mach-ii.cfc' and i also added the mappings > > application.cfc as follows > > ----------- > > <cfcomponent displayname="Application" extends="mach-ii" > output="false"> > > <!--- > PROPERTIES - APPLICATION SPECIFIC > ---> > <cfset this.name = "AppName" /> > <cfset this.loginStorage = "session" /> > <cfset this.sessionManagement = true /> > <cfset this.setClientCookies = true /> > <cfset this.setDomainCookies = false /> > <cfset this.sessionTimeOut = CreateTimeSpan(0,1,0,0) /> > <cfset this.applicationTimeOut = CreateTimeSpan(1,0,0,0) /> > <cfset this.mappings["/MachII"] = "/skeleton/MachII" /> > > -------- > > I tried and i am getting errors as follows. > > Could not find the ColdFusion component or interface > MachII.framework.CommandLoaderBase. > Ensure that the name is correct and that the component or interface > exists. > > The error occurred in C:\inetpub\wwwroot\skeleton\MachII\framework > \AppFactory.cfc: line 165 > Called from C:\inetpub\wwwroot\skeleton\MachII\framework > \AppLoader.cfc: line 157 > Called from C:\inetpub\wwwroot\skeleton\MachII\framework > \AppLoader.cfc: line 94 > Called from C:\inetpub\wwwroot\skeleton\mach-ii.cfc: line 143 > Called from C:\inetpub\wwwroot\skeleton\mach-ii.cfc: line 96 > > 163 : eventManager and the subroutineManager when looks > through its > commands. Needs to be loaded > 164 : before the property manager so its cache strategies > can get > loaded in. ---> > 165 : <cfset cacheManager = CreateObject("component", > "MachII.framework.CacheManager").init(appManager) /> > 166 : <cfset appManager.setCacheManager(cacheManager) /> > > ----------------- > > I cleared the cache in ColdFusion administrator and no other Mach > versions were installed on my machine and i also i restarted > ColdFusion service several times. I am using ColdFusion 9. > > Thanks > .sg
-- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] 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 ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
