On Tuesday, November 13, 2012 2:59:17 PM UTC-8, Brian G wrote:
>
>
> On Monday, November 12, 2012 5:41:47 PM UTC-8, Dan Wilson - 
> [email protected] wrote:
>>
>> Have you possibly tried some way to put the new ParentBeanFactory in a 
>> different key in the application scope? Then passing the new key to the MG 
>> child apps for reload?
>>
>>
I have good news and bad news.  The good news is that it turns out this 
issue is unrelated (or at least not dependent on) parent bean factories.  
The bad news is that something fundamental in MG 3.2 (dunno about earlier) 
is broken in the init process.

After several hours of trying to manipulate the startup process in my 
application and getting nowhere, I decided to try it against the MG 3 Hello 
World application.  Sadly, with just rudimentary code and a tiny bit of 
load (10 users), I can reliably get MG to throw an error while 
reinitializing itself.  Here's the steps:

1. Fire up Jmeter against the home page for my Hello, World app
2. After traffic stabilizes, in a separate browser window, trigger 
?init=true
3. Watch errors fly

This is with the version of MG 3.2 that you sent me Dan. There is something 
amiss with the locking or init in MG.  Simultaneous access while loading 
consistently throws errors where objects that should be in the event bucket 
are not populated.  There is something resetting or emptying the contents 
of the event bucket/viewstate during the initialization process.  When you 
try to execute a method on one of these objects, it blows up with an error 
like this:


The getID method was not found.Either there are no methods with the 
specified method name and argument types, or the getID method is overloaded 
with argument types that ColdFusion cannot decipher reliably. ColdFusion 
found 0 methods that matched the provided arguments. If this is a Java 
object and you verified that the method exists, you may need to use the 
javacast function to reduce ambiguity. The error occurred 
in*C:\Users\brian\Documents\web\mg\modelgluesamples\helloworld\views\pages\index.cfm:
 
line 32*
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfm:
 
line 33
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfc:
 
line 84
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:
 
line 687
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:
 
line 285
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Invocation.cfc:
 
line 96
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:
 
line 189
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc: 
line 297
*Called from* 
C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm: 
line 110
*Called from* 
C:\Users\brian\Documents\web\mg\modelgluesamples\helloworld\index.cfm: 
line 78

30 : 
31 : <cfset obj = viewState.getValue("testObject") />*32 : 
<cfoutput>#obj.getID()#</cfoutput>*
33 : 
34 : <p>

------------------------------
Resources:
   
   - Check the ColdFusion 
documentation<http://www.macromedia.com/go/proddoc_getdoc>
    to verify that you are using the correct syntax.
   - Search the Knowledge Base<http://www.macromedia.com/support/coldfusion/>
    to find a solution to your problem.

Browser  Apache-HttpClient/4.2.1 (java 1.5)Remote Address  127.0.0.1
Referrer  
Date/Time  13-Dec-12 07:39 PMStack Traceat 
cfindex2ecfm1701861048.runPage(C:\Users\brian\Documents\web\mg\modelgluesamples\helloworld\views\pages\index.cfm:32)
 
at 
cfViewRenderer2ecfm1037665257.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfm:33)
 
at 
cfViewRenderer2ecfc1037665043$funcRENDERVIEW.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfc:84)
 
at 
cfEventContext2ecfc516297268$funcRENDERVIEW.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:687)
 
at 
cfEventContext2ecfc516297268$funcEXECUTEEVENTQUEUE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:285)
 
at 
cfInvocation2ecfc905915655$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Invocation.cfc:96)
 
at 
cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:189)
 
at 
cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297)
 
at 
cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:110)
 
at 
cfindex2ecfm1265377074.runPage(C:\Users\brian\Documents\web\mg\modelgluesamples\helloworld\index.cfm:78)
 

coldfusion.runtime.java.MethodSelectionException: The getID method was not 
found.
        at 
coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHandler.java:322)
        at coldfusion.runtime.StructBean.invoke(StructBean.java:527)
        at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
        at 
cfindex2ecfm1701861048.runPage(C:\Users\brian\Documents\web\mg\modelgluesamples\helloworld\views\pages\index.cfm:32)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
        at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
        at 
cfViewRenderer2ecfm1037665257.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfm:33)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
        at 
coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:63)
        at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:280)
        at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
        at 
cfViewRenderer2ecfc1037665043$funcRENDERVIEW.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\view\ViewRenderer.cfc:84)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
        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.CfJspPage._invoke(CfJspPage.java:2272)
        at 
cfEventContext2ecfc516297268$funcRENDERVIEW.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:687)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
        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 
cfEventContext2ecfc516297268$funcEXECUTEEVENTQUEUE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:285)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
        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.CfJspPage._invoke(CfJspPage.java:2272)
        at 
cfInvocation2ecfc905915655$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Invocation.cfc:96)
        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.CfJspPage._invoke(CfJspPage.java:2272)
        at 
cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:189)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
        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.CfJspPage._invoke(CfJspPage.java:2272)
        at 
cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
        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.CfJspPage._invoke(CfJspPage.java:2272)
        at 
cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:110)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
        at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
        at 
cfindex2ecfm1265377074.runPage(C:\Users\brian\Documents\web\mg\modelgluesamples\helloworld\index.cfm:78)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
        at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)
        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.LicenseFilter.invoke(LicenseFilter.java:27)
        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$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
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/model-glue?hl=en

Reply via email to