The SWF is also loaded over HTTPS, the same domain as the url for 
the secure amf endpoint.  One part of the problem was that I didn't 
know the configuration files get compiled into the SWF (that still 
baffles me why you'd compile in configuration files).  Once I 
recompiled with the updated config files it started attempting to 
access the secure amf endpoint.  However, I had to change the config 
file to hardcode the context root - it was not interpreting the 
{context.root} in the endpoint definition. I found this out by 
seeing requests for //messagebroker/amfsecure in the Apache log. 

After that change it hits the secure amf endpoint, but it is still 
not working.  When I run over a non-secure amf endpoint I see the 
JMS message in the server console window with the Value objects that 
are being sent over the wire.  However, when I run over the secure 
amf endpoint I only see the JMS messages, no data.  I'm guess 
something is not configured correctly on Apache, JRUN, Flex or all 
the above.  I'm running Apache 2, with the mod_jrun20.so connecting 
to JRun through the JRunProxyService.  I do not have the SSLService 
running on JRUN, and the JRunProxyService is not setup to run 
securely as it gave me issues about plain text connections when I 
tried.  However, when I request the SWF over HTTPS the request is 
routed to JRUN through Apache and it comes back successfully.  Also, 
I do see the JMS messages in the console window when accessing the 
secure amf endpoint, so it seems as though the Apache-JRun 
communication works for the HTTPS requests.  Am I missing 
sometihng?  I'm at a loss.  Thanks.



--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> How are you loading your SWF? Are you loading it over HTTPS too? 
Is it
> on the same domain as the secure AMF endpoint?
> 
> Did you recompile your SWF with the updated configuration? Did you
> restart the server with the updated configuration?
> 
> How many channels are referenced under your RemotingService 
destination
> (i.e. the one in flex-remoting-service.xml)? 
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of sof4real03
> Sent: Monday, April 17, 2006 3:18 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Can't user RemoteObject on HTTPS ONLY Server?
> 
> I'm trying to get a Remote Object to work on an HTTPs only server 
(one
> that does not accept HTTP connections). I have it working fine 
over a
> regular HTTP connection. I then remove the AMF channel definition 
in the
> flex-enterprise-services.xml and replace it with a SecureAMF 
channel
> definition and update the destinations in the flex-remoting-
service.xml
> to use the SecureAMF channel. However, when I execute the SWF I 
see in
> the web server logs that it is POSTing to messagebroker/amf not
> messagebroker/amfsecure. Also, if I open up the server to allow 
HTTP
> connections, but only configure SecureAMF channels I get the 
following
> error:
> 
> "No configured channel has an endpoint path '/messagebroker/amf"
> 
> The stacktrace indicates it's coming from the
> flex.messaging.MessageBroker.getEndPoint(MessageBroker.java:297). 
This
> seems to indicate that the Flex Data Services cannot run on an 
HTTPS
> only server.
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to