Hi Folks,
A little background, we're converting a Coldfusion App from procedural
to OO using Mach-II, ColdSpring, and MXUnit as frameworks/tools etc.
We are a small app, that exists in the same place as some larger apps,
and to reduce risk to those apps, as well as try to entice them to
begin using Mach-II in the future we want to package all of these
within our app folder.  The problem is, every night, after the server
restarts, we get the below error.  I know that the way that we have
everything installed works correctly, because the skeleton code works
fine when we do it this way, but I can't seem to track down anywhere
in our code that would cause this error.
I had Mach-II installed at the root directory for the proof of concept
and was able to talk everyone into using it, but now that we're having
problems they're questioning how it will affect our redesign project
delivery dates.

I don't have access to CFAdmin because we're developing on a shared
network drive with coldfusion 8 installed.  Using Mach-II 1.8 (until
1.9 comes out :D).

Any help will be appreciated, any questions I'll respond as soon as
possible.

We currently have the code installed like this:
mySuperFunApp
     config
     MachII
     MachIIDashboard
     coldspring
     templates
     Application.cfc  -  extends="mach-ii"
     mach-ii.cfc

within Application.cfc I have the following mappings:
        <cfset this.mappings["/MachII"] = "#Expandpath('./MachII')#" />
        <cfset this.mappings["/MachIIDashboard"] = "#Expandpath('./
MachIIDashboard')#" />
        <cfset this.mappings["/coldspring"] = "#Expandpath('./coldspring')#" /
>


<Error>
The APPLOADER argument passed to the setAppLoader function is not of
type MachII.framework.AppLoader.

If the component name is specified as a type of this argument, its
possible that a definition file for the component cannot be found or
is not accessible.

The error occurred in E:\data\installedApps\Personal\Personal.ear
\Personal.war\pocmachii\MachII\framework\AppManager.cfc: line 316
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\AppLoader.cfc: line 165
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\AppLoader.cfc: line 101
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\Module.cfc: line 92
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\ModuleManager.cfc: line 139
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\AppManager.cfc: line 136
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\AppFactory.cfc: line 271
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\AppLoader.cfc: line 164
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\MachII\framework\AppLoader.cfc: line 101
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\mach-ii.cfc: line 154
Called from E:\data\installedApps\Personal\Personal.ear\Personal.war
\pocmachii\mach-ii.cfc: line 106

314 :   </cffunction>
315 :
316 :   <cffunction name="setAppLoader" access="public"
returntype="void" output="false"
317 :           hint="Sets the AppLoader instance.">
318 :           <cfargument name="appLoader" type="MachII.framework.AppLoader"
required="true" />


-- 
Come see Team Mach-II at OpenCFSummit - Feb 21-23, Dallas, TX - 
http://www.opencfsummit.org/

To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to