Your application is now using Mach-II (so you're a bit closer), but it looks like you're running into an error when the home event is first called. Try changing your application root to "/Ninjashop" instead.
Also, I noticed that you're using version 1.9 of the framework, but the skeleton that you downloaded is targeting version 1.6 - you'll want the two of these to be in sync. Anyone aware if there is an updated version of the skeleton available for download? From: [email protected] [mailto:[email protected]] On Behalf Of sachin chawla Sent: Monday, June 07, 2010 7:44 AM To: [email protected] Subject: Re: [Mach-II] Issue in configuring MACHII Hi Joe, Thanks for response. I followed the step suggested by you and I got the below error: Could not find the included template //views/exception.cfm. Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible. The error occurred in C:\Inetpub\Wwwroot\MachII\framework\ViewContext.cfc: line 109 Thanks, Sachin On Mon, Jun 7, 2010 at 5:21 PM, Hayes, Joseph D. (JSC-IS)[TESSADA & ASSOC INC] <[email protected]<mailto:[email protected]>> wrote: Sachin, You'll want to undo step #4 below. The Mach-II folder should live at the same level as the Ninjashop folder, not in it. You can also create a mapping instead, but I don't believe that will be necessary in your case - simply move the Mach-II folder back up one level (to C:\Inetpub\Wwwroot\MachII), and try running the app again. - Joe ________________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] On Behalf Of sachin chawla [[email protected]<mailto:[email protected]>] Sent: Monday, June 07, 2010 3:18 AM To: [email protected]<mailto:[email protected]> Subject: Re: [Mach-II] Issue in configuring MACHII Hi Mathew, Thanks for response. I again tried to set up MACH II by following the video tutorial on MACH II website. Below are the steps I followed: 1. downloaded Framework 1.9.0 M1<http://www.mach-ii.com/code/MachII_1-9-0_Milestone1.zip> , Unzipped in the c:\inetpub\wwwroot folder 2. downloaded Skeleton 1.6 Stable<http://www.mach-ii.com/code/MachII_Skeleton_1-6-0.zip>, unzipped in the c:\inetpub\wwwroot folder 3. create a new folder 'Ninjashop' on the c:\inetpub\wwwroot folder, copied all the folder and files inside the skeleton folder and placed inside new folder 'Ninjashop'. 4. Cut MachII folder and pasted inside the 'Ninjashop' folder 6. Updated the application.cfc file and changed applicaion name to : <cfset this.name<http://this.name/><http://this.name<http://this.name/>> = "Ninjashop" /> 7. Updated the mach-II.xml file to: <property name="applicationRoot" value="/" /> 8. Tried to exeute the through url: http://localhost/Ninjashop/index.cfm 9. Got the Hard error: 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\Ninjashop\MachII\framework\AppFactory.cfc: line 166 Please help me and correct me If I went wrong somewhere. Thanks, Sachin On Fri, Jun 4, 2010 at 7:24 PM, Matthew Woodward <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> wrote: On Fri, Jun 4, 2010 at 3:04 AM, cf_sachi <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> wrote: I am new to MACHII. I have downloaded the MACHII 1.8 and placed in the c:\inetpub\wwwroot folder and on executing a sample code: http://localhost/MachII/HelloMachII/ The only thing under the MachII directory should be the framework code itself. Apps that use Mach-II would go one level above that. Move HelloMachII to your docroot but leave MachII where it is, restart your CFML engine, and things should work. -- Matthew Woodward [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>> http://blog.mattwoodward.com<http://blog.mattwoodward.com/><http://blog.mattwoodward.com/> identi.ca<http://identi.ca/><http://identi.ca/> / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>> To unsubscribe from this group, send email to [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[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/ -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected]<mailto:[email protected]> To unsubscribe from this group, send email to [email protected]<mailto:[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/ -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected]<mailto:[email protected]> To unsubscribe from this group, send email to [email protected]<mailto:[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/ -- 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/ -- 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/
