ah, ok.  This whole thing is a real undocumented shambles IMHO.  Folks on
flexcoders, some Adobe one seven, say you can have multiple channel defs in
here and that your Flex app will try each one until it finds one that
works.  This never worked for me.  To try this, looks like you need to add
to the channels list perhaps.

<channels>
                    <channel ref="my-cfamf"/>
<channel ref="*my-secure-amf*"/>
                </channels>


What I did in the end was to set the my-cfamf channel to use https, thus
only one channel.  I could do this at the time as ALL things on the server
required https.

HTH!

DK

On 8/15/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
>
> I get a blank page when I type
>     http://<hostname>/flex2gateway/
>
> I get the following error when I type
>    https://<hostname>/flex2gateway/
>
> *500 *
> No configured channel has an endpoint path '/flex2gateway/'.
>
> flex.messaging.MessageException: No configured channel has an endpoint
> path '/flex2gateway/'.
>                 at flex.messaging.MessageBroker.getEndpoint(
> MessageBroker.java:318)
>                 at flex.messaging.MessageBrokerServlet.service(
> MessageBrokerServlet.java:329)
>                 at javax.servlet.http.HttpServlet.service(HttpServlet.java
> :853)
>                 at coldfusion.bootstrap.BootstrapServlet.service(
> BootstrapServlet.java:78)
>                 at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java
> :91)
>                 at jrun.servlet.JRunInvokerChain.invokeNext(
> JRunInvokerChain.java:42)
>                 at jrun.servlet.JRunRequestDispatcher.invoke(
> JRunRequestDispatcher.java:259)
>                 at jrun.servlet.ServletEngineService.dispatch(
> ServletEngineService.java:541)
>                 at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(
> JRunProxyService.java:204)
>                 at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java
> :428)
>                 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
>
> Jay
> x8453
>
>
>  *"Charlie Arehart" <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
>
> 08/15/2007 10:32 AM  Please respond to
> discussion@acfug.org
>
>   To
> <discussion@acfug.org>  cc
>
>  Subject
> RE: [ACFUG Discuss] Getting Flex2Gateway to work with https
>
>
>
>
>
>
> Jay, did you write what you meant? because it sounds like you got what you
> expected. :-)
>
> You said, "I should...get a blank page...I am not getting that...it gives
> me a blank page."
>
> Or am I reading this wrong? :-)
>
> /charlie
>
>
> ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *
> [EMAIL PROTECTED]
> Sent:* Wednesday, August 15, 2007 9:55 AM*
> To:* [EMAIL PROTECTED]
> Subject:* Re: [ACFUG Discuss] Getting Flex2Gateway to work with https
>
>
> without going to Flex App, I should be able to type
> https://<hostname>/flex2gateway/ and get a blank page.  Is that correct?  I
> am not getting that. http://<hostname>/flex2gateway/ gives me a blank page.
>
>
> Jay
> x8453
>
>   *"Douglas Knudsen" <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
>
> 08/15/2007 09:38 AM
>   Please respond to
> discussion@acfug.org
>
>
>   To
> discussion@acfug.org  cc
>
>  Subject
> Re: [ACFUG Discuss] Getting Flex2Gateway to work with https
>
>
>
>
>
>
>
>
> You have to compile the Flex app against this services-config file.  I'd
> leave the endpoint URIs using the variables instead of hard-coded URLs too.
>  This way you can have two services-config files on your local machine, one
> for http one for https.  Simply point FB to the one you need and compile.
>
> DK
>
> On 8/15/07, [EMAIL PROTECTED]<[EMAIL PROTECTED]><
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]>>
> wrote:
>
> Hello,
>
>    I have a problem getting the https://<hostname>/flex2gateway/ to work.
>
> This is what I did:
>
>     1.  Added a channel definition for https in services-config file.
>
>   <services>
>       <service id="coldfusion-flashremoting-service"
>                class="flex.messaging.services.RemotingService"
>                messageTypes="flex.messaging.messages.RemotingMessage">
>
>           <adapters>
>               <adapter-definition id="cf-object" class="
> coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>
>           </adapters>
>
>           <destination id="ColdFusion">
>               <channels>
>                   <channel ref="my-cfamf"/>
>               </channels>
>               <properties>
>                   <source>*</source>
>                   <!-- define the resolution rules and access level of the
> cfc being invoked -->
>                   <access>
>                       <!-- Use the ColdFusion mappings to find CFCs, by
> default only CFC files under your webroot can be found. -->
>                       <use-mappings>false</use-mappings>
>                       <!-- allow "public and remote" or just "remote"
> methods to be invoked -->
>                       <method-access-level>remote</method-access-level>
>                   </access>
>
>                   <property-case>
>                       <!-- cfc property names -->
>                       <force-cfc-lowercase>false</force-cfc-lowercase>
>                       <!-- Query column names -->
>                       <force-query-lowercase>false</force-query-lowercase>
>                       <!-- struct keys -->
>
> <force-struct-lowercase>false</force-struct-lowercase>
>                   </property-case>
>               </properties>
>           </destination>
>
>       </service>
>   </services>
>
>   <channels>
>       <channel-definition id="my-cfamf" class="
> mx.messaging.channels.AMFChannel">
>           <endpoint 
> uri="*http://f122w17/flex2gateway/*<http://f122w17/flex2gateway/>"
> class="flex.messaging.endpoints.AMFEndpoint "/>
>           <properties>
>               <polling-enabled>false</polling-enabled>
>               <serialization>
>                   <instantiate-types>false</instantiate-types>
>               </serialization>
>           </properties>
>       </channel-definition> *
>       <channel-definition id="my-secure-amf" class="
> mx.messaging.channels.SecureAMFChannel">
>               <endpoint 
> uri="**https://f122w17/flex2gateway/*<https://f122w17/flex2gateway/>
> *" class="flex.messaging.endpoints.SecureAMFEndpoint"/>* *
>       <properties>* *
>               <add-no-cache-headers>false</add-no-cache-headers>* *
>               <serialization>* *
>                   <instantiate-types>false</instantiate-types>* *
>               </serialization>* *
>        </properties>
>       </channel-definition>*
>
>   </channels>
>
>   <logging>
>       <target class="flex.messaging.log.ConsoleTarget" level="Error">
>           <properties>
>               <prefix>[Flex] </prefix>
>               <includeDate>false</includeDate>
>               <includeTime>false</includeTime>
>               <includeLevel>false</includeLevel>
>               <includeCategory>false</includeCategory>
>           </properties>
>           <filters>
>               <pattern>Endpoint.*</pattern>
>               <pattern>Service.*</pattern>
>               <pattern>Configuration</pattern>
>               <pattern>Message.*</pattern>
>           </filters>
>       </target>
>   </logging>
>
>   <system>
>   </system>
>
> </services-config>
>
> 2.  Recycled the ColdFusion Service
>
> I know I am missing some step.  I would appreciate if somebody can help me
> identify what I am missing.
>
>
> Thanks
> Jay
> x8453
> -------------------------------------------------------------
> Annual Sponsor - *Figleaf Software* <http://www.figleaf.com/>
>
> To unsubscribe from this list, manage your profile @ *
> **http://www.acfug.org?fa=login.edituserform*<http://www.acfug.org?fa=login.edituserform>
>
> For more info, see 
> *http://www.acfug.org/mailinglists*<http://www.acfug.org/mailinglists>
> Archive @ 
> *http://www.mail-archive.com/discussion%40acfug.org/*<http://www.mail-archive.com/discussion%40acfug.org/>
> List hosted by *FusionLink* <http://www.fusionlink.com/>
> -------------------------------------------------------------
>
>
>
> --
> Douglas Knudsen*
> **http://www.cubicleman.com* <http://www.cubicleman.com/>
> this is my signature, like it?
> -------------------------------------------------------------
> Annual Sponsor - *Figleaf Software* <http://www.figleaf.com/>
>
> To unsubscribe from this list, manage your profile @ *
> **http://www.acfug.org?fa=login.edituserform*<http://www.acfug.org?fa=login.edituserform>
>
> For more info, see 
> *http://www.acfug.org/mailinglists*<http://www.acfug.org/mailinglists>
> Archive @ 
> *http://www.mail-archive.com/discussion%40acfug.org/*<http://www.mail-archive.com/discussion%40acfug.org/>
> List hosted by *FusionLink* <http://www.fusionlink.com/>
> -------------------------------------------------------------
>
> -------------------------------------------------------------
> Annual Sponsor - *Figleaf Software* <http://www.figleaf.com/>
>
> To unsubscribe from this list, manage your profile @ *
> **http://www.acfug.org?fa=login.edituserform*<http://www.acfug.org?fa=login.edituserform>
>
> For more info, see 
> *http://www.acfug.org/mailinglists*<http://www.acfug.org/mailinglists>
> Archive @ 
> *http://www.mail-archive.com/discussion%40acfug.org/*<http://www.mail-archive.com/discussion%40acfug.org/>
> List hosted by *FusionLink* <http://www.fusionlink.com/>
> -------------------------------------------------------------
>
> -------------------------------------------------------------
> Annual Sponsor - *Figleaf Software* <http://www.figleaf.com/>
>
> To unsubscribe from this list, manage your profile @ *
> **http://www.acfug.org?fa=login.edituserform*<http://www.acfug.org?fa=login.edituserform>
>
> For more info, see 
> *http://www.acfug.org/mailinglists*<http://www.acfug.org/mailinglists>
> Archive @ 
> *http://www.mail-archive.com/discussion%40acfug.org/*<http://www.mail-archive.com/discussion%40acfug.org/>
> List hosted by *FusionLink* <http://www.fusionlink.com/>
> -------------------------------------------------------------
>
> -------------------------------------------------------------
> Annual Sponsor - Figleaf Software <http://www.figleaf.com>
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to