Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / September 2007



Tip: Looking for answers? Try searching our database.

Flex Remoting with CFCs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mattscott - 19 Sep 2007 21:14 GMT
Ok heres the situation,

recently I finished building our first flex application and it was done for a
pretty major project so this issue is quite pressing.

I build an application for Quaker Oatmeal's Smart Heart Challenge (TM)
(http://quakeroatmeal.com/qo_heartHealthy/smartHeartChallenge/index.cfm) and I
am using ColdFusion for the entire back end of the application.

The way all of their PepsiCo servers work is we have a review site and a
production (live) site for each individual brand's website (i.e. quaker
oatmeal, tropicana, ricearoni, etc...).

Each brand's sites have it's own server which both the review and live version
of the sites run on.

The Quaker Oatmeal server is the only one that is still running a JRun
enterprise setup with ColdFusion running as a package or how ever all of that
works.

The review and live sites each have their own complete set of the web site's
files so that they do not conflict during updates for reviewing before going
live. This even includes all coldfusion cfcs.

In flex I am referencing my cfcs with the absolute path from the root of the
site using the standard dot notation.

The problem is that the live site is completely ignoring it's copy of the cfcs
in that specified path and is using the cfc's from the review site.

We have checked that there are no conflicting coldfusion mappings.

This problem is a major inconvienance because anytime we change any cfcs we
have to place them in a different modules directory on the review site and
change all the referencing paths in the flex application so that we may test
our changes on review without conflicting with the live site.

Does anyone have an idea of what this could be?
GArlington - 24 Sep 2007 11:34 GMT
> Ok heres the situation,
>
[quoted text clipped - 34 lines]
>
>  Does anyone have an idea of what this could be?

Are you using one server (JRun) instance for both live and review
sites?
In any case first you should check your Server Settings > Caching...
Any of the cache settings (or all of them may cause very unexpected
results in live env when something changes).
Make sure that your application is configured and actually searching
for your cfcs in the directory you expect it to search, simple test -
rename the cfc directory to something else.
In situation like yours (with cfc paths changing between environments)
it is better to configure main part of cfc path as application
variable (application.cfcPath or something), this way you can always
be sure that it will look for cfcs in correct directory.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.