Yes I do, I cut it short for brevity. This is the latest machii 1.6
stable release. Also, like I said before the first file in the stack
trace is variable across all of our error message logs, and becomes
consistent at mach-ii.cfc:179.

I don't know if this is relevant but In my Application.cfc I am
overriding onApplicationStart and calling super.onApplicationStart()
(which subsequently calls LoadFramework()). Then in my onRequest(),
when our reinit string is passed in the url, I am calling
onApplicationStart() manually. Would this have the same affect as
"calling getProperty() or other methods" as you put it?

        <cffunction name="onApplicationStart" access="public"
returntype="boolean" output="false"
                hint="Overrides the parent onApplicationStart() fn.">
                <cfset super.onApplicationStart()>
                <cfset application.version = "">
                <cfif StructKeyExists( URL, "version" )>
                        <cfif IsNumeric( URL.version )>
                                <cfset application.version = URL.version>
                        </cfif>
                </cfif>
                <cfreturn true>
        </cffunction>

        <cffunction name="onRequestStart" returnType="void" output="true"
                hint="Run at the start of a page request.">
                <cfargument name="targetPage" type="string" required="true" />
                <!--- Request Scope Variable Defaults --->
                <cfset request.self = "index.cfm">
                <cfif StructKeyExists(url, "reinit")>
                        <cfif hash(URL.reinit,'md5') IS 'myhashstring'>
                                <!--- <cfsetting requesttimeout="120" /> --->
                                <cfset onApplicationStart() />
                                <cfhtmlhead text="<script 
type=""text/javascript"">alert('The CMS
has been reinited.');</script>">
                        </cfif>
                </cfif>
                <!--- Handle the request. Make sure we only process Mach-II
requests. --->
                <cfif findNoCase('index.cfm', listLast(arguments.targetPage, 
'/'))>
                        <cfset handleRequest() />
                </cfif>
        </cffunction>



-------- Full Stack Trace --------

"Error","jrpp-1194","03/30/10","11:25:04","cms_v3","Element APPLOADER
is undefined in a CFML structure referenced as part of an expression.
The specific sequence of files included or processed is: /home/cms/
public_html/rss/rss.cfm, line: 179 "  <!--THIS LINE IS VARIABLE ACROSS
ERROR LOGS-->
coldfusion.runtime.UndefinedElementException: Element APPLOADER is
undefined in a CFML structure referenced as part of an expression.
    at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1489)
    at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1477)
    at cfmach2dii2ecfc617979371$funcGETAPPMANAGER.runFunction(/home/
cms/public_html/MachII/mach-ii.cfc:179)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
    at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
    at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:360)
    at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
    at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
59)
    at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192)
    at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471)
    at cfmach2dii2ecfc617979371$funcONSESSIONSTART.runFunction(/home/
cms/public_html/MachII/mach-ii.cfc:81)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
    at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
    at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:360)
    at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
    at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
59)
    at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192)
    at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448)
    at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308)
    at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:
74)
    at
coldfusion.runtime.AppEventInvoker.onSessionStart(AppEventInvoker.java:
309)
    at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:234)
    at
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:
48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:
40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:
70)
    at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:
28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:
22)
    at coldfusion.CfmServlet.service(CfmServlet.java:175)
    at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:
89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:
42)
    at
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:
42)
    at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
286)
    at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
543)
    at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
203)
    at jrunx.scheduler.ThreadPool
$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool
$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool
$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

On Mar 30, 12:17 pm, "Peter J. Farrell" <[email protected]> wrote:
> Which version of Mach-II are you using?
>
> This happens when you call getProperty() or other methods in the
> bootstrapper before Mach-II loads.  Do you have an additional
> Application.cfc in you rss.cfm folder?
>
> Without a larger stack trace, it's impossible to tell what is calling
> getAppManager() prematurely since the stack is cut off.  Do you have a
> larger stack trace?
>
> .pjf
>
> Brian Pickens said the following on 30/03/10 11:54:
>
>
>
> > Error","jrpp-1194","03/30/10","11:25:04","cms_v3","Element APPLOADER
> > is undefined in a CFML structure referenced as part of an expression.
> > The specific sequence of files included or processed is: /home/cms/
> > public_html/rss/rss.cfm, line: 179 "
> > coldfusion.runtime.UndefinedElementException: Element APPLOADER is
> > undefined in a CFML structure referenced as part of an expression.
> >      at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1489)
> >      at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1477)
> >      at cfmach2dii2ecfc617979371$funcGETAPPMANAGER.runFunction(/home/
> > cms/public_html/MachII/mach-ii.cfc:179)...
>
> > Here is the deal. We are seeing this error occur fairly frequently on
> > our live cluster for about the last week or so. It has also been
> > reported on one of our developer's machines. I'm wondering what would
> > have to happen for this message to occur?
>
> > The first file referenced in the message is variable in all of our
> > logs. The second file down which is the mach-ii.cfc bootloader, line
> > 179 is constant. Its a getter function that looks like this:
> >    <cffunction name="getAppManager" access="public"
> > returntype="MachII.framework.AppManager" output="false"
> >            hint="Get the Mach-II AppManager. Not available until 
> > loadFramework
> > has been called.">
> >            <cfreturn application[getAppKey()].appLoader.getAppManager() />
> >    </cffunction>
>
> > So, apparently the apploader element is not being found in the
> > application scope... Can anybody offer any insight into this?

-- 
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
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/

To unsubscribe from this group, send email to 
mach-ii-for-coldfusion+unsubscribegooglegroups.com or reply to this email with 
the words "REMOVE ME" as the subject.

Reply via email to