mach-ii not picking up changes

3 views
Skip to first unread message

jarthel

unread,
Apr 24, 2009, 3:52:49 AM4/24/09
to Mach-II for CFML
I am also using coldspring so it may be a coldspring issue.
++++++++++++++++++++

I made a backup of my models folder, coldspring.xml, mach-ii.xml.

I want to try transfer (ORM) so I changed some of the required files.
But this doesn't seemed to be working so I renamed:
- the current "models" folder to "models (transfer)"
- coldspring.xml to colspring.xml (transfer)
- mach-ii.xml to mach-ii.xml (transfer)

And then I rename the backed up files to their original names.

In my application.cfc, I am reloading the application on every
request.
+++++ SNIPPET of application.cfc ++++++++
<cffunction name="onApplicationStart" returnType="void"
output="false">
<cfsetting requesttimeout="120" />

<cfset application.startTime = now() />
<cfset loadFramework() />
</cffunction>

<cffunction name="onRequestStart" returnType="void" output="true">
<cfargument name="targetPage" type="string" required="yes" />

<cfset onApplicationStart() />
+++++++++

The problem is that everytime I try to view my "home" page,
"something" is trying to load the transfer version of my
usersGateway.cfc. I tried restarting apache to no avail. I deleted the
browser cache and this didn't help.

I tried shutting down my PC and this worked fine.

Well the reason I created the thread is to find what is the proper way
of "restarting" my application.

Thank you for the help. :)

Jayel

Peter J. Farrell

unread,
Apr 24, 2009, 10:30:49 AM4/24/09
to mach-ii-for...@googlegroups.com
You also could have bounced the CFML server service as well. It has to
do with template caching that is turned on in the CFML admin. Turn off
template caching, java classes, etc. there and you'll be fine. CFML
engines cache versions of .cfm / .cfc files if it is turned on for
performace -- except this is bad for development because you're changing
files.

.Peter

jarthel said the following on 4/24/2009 2:52 AM:

jarthel

unread,
May 5, 2009, 9:41:45 PM5/5/09
to Mach-II for CFML
Thanks Peter.
Reply all
Reply to author
Forward
0 new messages