Railo 3.1.2.001 Error (Expression)
Message invalid component definition, can't find
MachII.framework.AppLoader
Stacktrace The Error Occurred in
/Users/dhaval/Programs/railo-3.1.2.001-railo-express-macosx/webroot/
website/MachII/mach-ii.cfc: line 105
103: <!--- Create the AppLoader. No locking requires if called during
the onApplicationStart() event. --->
104: <cfset application[appKey] = StructNew() />
105: <cfset application[appKey].appLoader = CreateObject("component",
"MachII.framework.AppLoader").init(MACHII_CONFIG_PATH,
MACHII_DTD_PATH, AppKey, MACHII_VALIDATE_XML) />
106: <cfset request.MachIIReload = FALSE />
107: </cffunction>
called from/Users/dhaval/Programs/railo-3.1.2.001-railo-express-
macosx/webroot/website/MachII/mach-ii.cfc: line 64
62: hint="Run on the application start event. Override to provide
customize functionality.">
63: <!--- Load up the framework --->
64: <cfset LoadFramework() />
65:
66: <cfreturn TRUE />
I am running railo express. I am sure this is some config issue, but I
dont understand what it is.
Hello, I followed the video tutorial and installed the framework, but
when I access the url, I am getting this error. I am also new the
coldfusion.
On Feb 2, 10:12 am, Matthew Woodward <m...@mattwoodward.com> wrote:
> On Tue, Feb 2, 2010 at 6:50 AM, dhaval <dhruva...@gmail.com> wrote:
> > Hello, I followed the video tutorial and installed the framework, but
> > when I access the url, I am getting this error. I am also new the
> > coldfusion.
>
> Are the Mach-II files in your webroot or in a directory below that?
>
> --
> Matthew Woodward
> m...@mattwoodward.comhttp://blog.mattwoodward.com
It is in the directory below that. This is the path: railo-3.1.2.001-
railo-express-macosx/webroot/website all the files are in the
"website" directory.
On Tue, Feb 2, 2010 at 7:35 AM, dhaval <dhru...@gmail.com> wrote:
It is in the directory below that. This is the path: railo-3.1.2.001-
railo-express-macosx/webroot/website all the files are in the
"website" directory.
It has to be in the webroot or you have to create a mapping. Note that if you're using virtual hosts it can be in the root of a virtual host as well. The key is that /MachII needs to get you to the MachII directory. If it doesn't, it's in the wrong place or you need to create a mapping.
Sincerely,
Dhaval