Your Flex source-code may need to be changed as well -- all your
RemoteObjects may need to have their Destination set to SecureColdFusion (or
whatever desination-name you give to your secure CF channel...)  Unless
you've set all your destinations to the default channel, then your changes
to the XML files above should work, I would think...  Of course, that
changes the default destination for EVERYTHING using CF on that server...

And, don't forget to load your program using the https:// protocol -- secure
CF channels don't work unless you've loaded the program with https:

Third:  When you export a release-build, you specify a folder-name where you
want it to go.  Just copy that entire folder to the production server --
it should contain any of the external files you're referencing in your
directory structure.

Fourth -- you may want to think about securing your development server, if
you're going to be running your program in secure-mode on the production
server.  It's kind of a pain, but it can be done with a server-cert that you
create yourself.  Just add that cert to the trusted certs in the browser
you're using to test the program on the development server, and it should
work just fine -- at least, it does on my machine.  Just make FlexBuilder
look for your program with an https: address, not the default http:
address...

I'm sure others will have more tips for you -- this is just off the top of
my head what I can remember when I first did a release-build for my Flex
project...

Good luck!
L.

On Wed, Sep 15, 2010 at 8:53 PM, Chris H <[email protected]> wrote:

>  I believe I need to choose the Export option in the Flex 3 builder,
> choose the Release Build so that I can get the compact binaries which can be
> uploaded on the server.
>
> 1. What else might be needed to be moved other than the files in
> html-template folder(containing AC_OETags.js and the history folder),
> assets(containing images and the external css file),  and the files in flex
> folder which are data-management-config.xml, messaging-config.xml,
> proxy-config.xml, remoting-config.xml, services-config.xml? Would doing an
> Export of the Release Build include the required files(html-template folder,
> assets folder, flex folder?
>
> 2. The application is running on a regular http protocol on the development
> machine, but it needs to run on a secure https protocol on the production
> box.
>
> Currently, in the services-config.xml file I have
>
> <!--  CF Based Endpoints -->
>         <channel-definition id="my-cfamf"
> class="mx.messaging.channels.AMFChannel">
>
>             <properties>
>         .<polling-enabled>false</polling-enabled>
>                 <serialization>
>                     <instantiate-types>false</instantiate-types>
>                 </serialization>
>             </properties>
>         </channel-definition>
>
>
>
> <channel-definition id="my-cfamf-secure"
> class="mx.messaging.channels.SecureAMFChannel">
>
>             <properties>
>                 <polling-enabled>false</polling-enabled>
>                 <add-no-cache-headers>false</add-no-cache-headers>
>                 <serialization>
>                     <instantiate-types>false</instantiate-types>
>                 </serialization>
>             </properties>
>         </channel-definition>
> .
> .
> .
>
> and in remoting-config.xml there is
>
>  <default-channels>
>         <channel ref="my-cfamf"/>
>     </default-channels>
>
>     <destination id="ColdFusion">
>         <channels>
>             <channel ref="my-cfamf"/>
>         </channels>
>
> I guess I need to change the <channel ref="my-cfamf"/> in
> remoting-config.xml to <channel ref="my-cfamf-secure"/> in default channels
> and destination id.
>
> 2. Will any other changes be needed in any of the config.xml files?
>
> I know it is hard to comment/advise without looking at the entire
> application, but I have not done this before so need  some suggestions.
>
>
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com/>
> -------------------------------------------------------------

Reply via email to