Please do not remove the link yet, I want to show it in the Office. Thanks again!
On 7/19/11, Jon Mosquera <[email protected]> wrote: > WoW, you are amazing!. Very nice, you make me feel I am important :).. > that's cool.... > Well we've got CF 9 under Ubuntu 11.04 server and Ubuntu Desktop 10.10. > Did you do something special, or just put the folder, configured the > apache site and run it?... > We were doing a professional app. based on this tests on model-glue. > We love the framework, but we do not know what else we need to do to > make it run on Ubuntu... :(. > > Thanks for your time and help!. I have told my partners in the > enterprise and my students in the University that I am in contact with > you and that this is incredible amazing you have taken care of this > issue like it was yours and if this were from Microsoft Support I > would give up!!. The CF people is really cool!!! > > On 7/19/11, Dan Wilson <[email protected]> wrote: >> Jon, >> >> I stuck your application up on one of my servers. You can take a look at >> it >> here: >> >> http://datacurl.com/mgfundamentals/?event=uppercaser.form >> >> >> It seems to work just fine, from what I can tell. >> >> Which version of ColdFusion are you on? >> >> >> DW >> >> On Tue, Jul 19, 2011 at 12:28 PM, Jon Mosquera >> <[email protected]>wrote: >> >>> Sure, I hereby the zipped project. It is very simple, it was just for >>> learning based on the book CF anthology. It works good, so we decided >>> to have model glue as the framework in our IT deparment for testing >>> and may be in production. I like it, but I found these issues in Linux >>> Ubuntu. We are doing an enterprise application, this was working well >>> in Windows, but we decided to stop its development due to those bugs. >>> Thanks for your Help!!! :) >>> P.D. >>> I see a weird folder named "mgfundamentals" inside the root folder, we >>> never used that folder, but I noticed that mg was trying to create >>> folders in sort of looping... :S >>> >>> On 7/19/11, Dan Wilson <[email protected]> wrote: >>> > Jon, >>> > >>> > Thanks for the details. That helps in debugging your situation. >>> > >>> > I'm currently hosting a few Model Glue applications on Linux myself. >>> > I'm >>> not >>> > having any issues with the XML Searches and case sensitivity. >>> > >>> > Would it be possible for you to zip up your mgfundamentals project and >>> send >>> > it to me? You can email me privately if you like. >>> > >>> > DW >>> > >>> > >>> > On Tue, Jul 19, 2011 at 9:50 AM, Jon Mosquera <[email protected] >>> >wrote: >>> > >>> >> This is my application.cfc >>> >> >>> >> <cfcomponent output="false"> >>> >> >>> >> <!--- Application settings ---> >>> >> <cfset this.name = "mgfundamentals" /> >>> >> <cfset this.sessionManagement = true> >>> >> <cfset this.sessionTimeout = createTimeSpan(0,0,30,0)> >>> >> <cfset THIS.mappings["/ModelGlue"]="/home/jomosque/htdocs/ModelGlue"> >>> >> <cfset >>> >> THIS.mappings["/coldspring"]="/home/jomosque/htdocs/coldspring"> >>> >> >>> >> <cffunction name="onSessionStart" output="false"> >>> >> >>> >> <cfif StructKeyExists(URL, "reset")> >>> >> <cfset this.onapplicationStart()> >>> >> <cfset this.onSessionStart() > >>> >> </cfif> >>> >> <!--- Not sure anyone'll ever need this... >>> >> <cfset >>> >> invokeSessionEvent("ModelGlue.onSessionStartPreRequest", >>> >> session, application) /> >>> >> ---> >>> >> <!--- Set flag letting MG know it needs to broadcast >>> onSessionStart >>> >> before onRequestStart ---> >>> >> <cfset request._modelglue.bootstrap.sessionStart = true /> >>> >> </cffunction> >>> >> >>> >> <cffunction name="onSessionEnd" output="false"> >>> >> <cfargument name="sessionScope" type="struct" required="true"> >>> >> <cfargument name="appScope" type="struct" >>> >> required="false"> >>> >> >>> >> <cfset invokeSessionEvent("ModelGlue.onSessionEnd", >>> >> arguments.sessionScope, appScope) /> >>> >> </cffunction> >>> >> >>> >> <cffunction name="invokeSessionEvent" output="false" >>> >> access="private"> >>> >> <cfargument name="eventName" /> >>> >> <cfargument name="sessionScope" /> >>> >> <cfargument name="appScope" /> >>> >> >>> >> <cfset var mgInstances = createObject("component", >>> >> "ModelGlue.Util.ModelGlueFrameworkLocator").findInScope(appScope) /> >>> >> <cfset var values = structNew() /> >>> >> <cfset var i = "" /> >>> >> >>> >> <cfset values.sessionScope = arguments.sessionScope /> >>> >> >>> >> <cfloop from="1" to="#arrayLen(mgInstances)#" index="i"> >>> >> <cfset >>> >> mgInstances[i].executeEvent(arguments.eventName, >>> >> values) /> >>> >> </cfloop> >>> >> </cffunction> >>> >> >>> >> >>> >> </cfcomponent> >>> >> >>> >> Last thing I have found is that the file in >>> >> /home/jomosque/htdocs/ModelGlue/gesture/module/XMLModuleLoader.cfc >>> >> has >>> >> some lines with the name "modelglue" in lowercases and this throws an >>> >> error because my Model Glue Folder is UpperCase like "ModelGlue" so I >>> >> fixed >>> >> lines such as 373: /modelglue/event-handlers/event-handler with >>> >> /ModelGlue/event-handlers/event-handler >>> >> >>> >> this is a little frustrating, I do not know where is going to be the >>> >> next bug in my linux server application. Thanks for your help >>> >> :) >>> >> On 7/18/11, Dan Wilson <[email protected]> wrote: >>> >> > Paste the contents of your application.cfc/cfm >>> >> > On Jul 18, 2011 4:38 PM, "Jon Mosquera" <[email protected]> >>> wrote: >>> >> >> I have run my Model-Glue application in Internet Information >>> >> >> Server >>> >> >> with coldfusion 9. It runs perfect. >>> >> >> However I have recently migrate to Ubuntu 11.04, I put the folders >>> and >>> >> >> files exactly as they were in the Windows File system and I've got >>> >> >> this error when I try to invoke an event. >>> >> >> http://mgfundamentals/index.cfm?event=uppercaser.form >>> >> >> >>> >> >> Element modelglue.onApplicationInitialization is undefined in a >>> >> >> CFML >>> >> >> structure referenced as part of an expression. >>> >> >> >>> >> >> The error occurred in /home/jomosque/htdocs/ModelGlue/gesture/ >>> >> >> MemoizedModelGlue.cfc: line 84 >>> >> >> Called from >>> /home/jomosque/htdocs/ModelGlue/gesture/eventrequest/phase/ >>> >> >> Initialization.cfc: line 44 >>> >> >> Called from /home/jomosque/htdocs/ModelGlue/gesture/eventrequest/ >>> >> >> EventRequestPhase.cfc: line 44 >>> >> >> Called from /home/jomosque/htdocs/ModelGlue/gesture/eventrequest/ >>> >> >> EventContext.cfc: line 187 >>> >> >> Called from /home/jomosque/htdocs/ModelGlue/gesture/ModelGlue.cfc: >>> >> >> line 297 >>> >> >> Called from /home/jomosque/htdocs/ModelGlue/gesture/ModelGlue.cfm: >>> >> >> line 97 >>> >> >> Called from /home/jomosque/htdocs/mgfundamentals/index.cfm: line >>> >> >> 41 >>> >> >> >>> >> >> 82 : </cfif> >>> >> >> 83 : >>> >> >> 84 : <cfreturn this.eventHandlers[arguments.eventHandlerName] /> >>> >> >> 85 : </cffunction> >>> >> >> 86 : >>> >> >> >>> >> >> Any help? >>> >> >> Thanks! >>> >> >> >>> >> >> -- >>> >> >> 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 >>> >> > >>> >> > -- >>> >> > 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 >>> >> >>> >> -- >>> >> 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 >>> >> >>> > >>> > >>> > >>> > -- >>> > Plutarch - "The mind is not a vessel to be filled but a fire to be >>> kindled." >>> > >>> > -- >>> > 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 >>> >>> -- >>> 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 >>> >> >> >> >> -- >> Plutarch - "The mind is not a vessel to be filled but a fire to be >> kindled." >> >> -- >> 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 > -- 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
