RE: [flexcoders] Re: Deploy Flex Application

2008-09-03 Thread Tracy Spratt
I am not familiar with your particular environment, but I habitually
pass full urls into my applications via flashvars in the html wrapper.  

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of beczimm
Sent: Wednesday, September 03, 2008 1:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Deploy Flex Application

 

I tried the mapping and the site is already in the root. So the
mapping did not work either. I have even tried hard coding the
context root into the services-config.xml where it is setting the path
for the flex2gateway and it is still trying to use
http://mysite.com/flex2gateway   instead
of the
http://mysite.com/mysite/flex2gateway.
  GRRR! I am really at a loss
as to what else to try with this.

--- In flexcoders@yahoogroups.com 
, "Sherif Abdou" <[EMAIL PROTECTED]> wrote:
>
> I Guess maybe then you can try mappings, Try doing /mysite for
Logical Path and for Directory Path give the path where mysite is
stored so C:\etc..? If that does not work then Try putting all your
files in root and Test out then we will move from there.
> --
> Sherif Abdou
> http://VadexFX.com  
> http://Sherifabdou.com  
> - Original Message - 
> From: beczimm 
> To: flexcoders@yahoogroups.com   
> Sent: Wednesday, September 03, 2008 12:22 PM
> Subject: [flexcoders] Re: Deploy Flex Application
> 
> 
> If I use the URL that the flex error is giving me that flex is trying
> to use to access the flex2gateway I get a Not Found error from the
> browser. But as soon as I try the URL that the flex error has along
> with the context path that is supposed to be there then I get the
> blank page which is good. I just am not sure how to make flex use the
> context path in the URL. For example the URL flex is trying to use is
> http://mysite.com/flex2gateway   but
it needs to be using
> http://mysite.com/mysite/flex2gateway.
  Does that make sense to
anyone?
> 
> --- In flexcoders@yahoogroups.com
 , "Sherif Abdou"  wrote:
> >
> > Actually, That problem is a pain. Everytime it happens I write the
> solution down and forget about it. First thing you need to try is go
> to http://yoursite.com/flex2gateway 
If you don't get a blank page then
> something is wrong with your configuration. I am assuming you are
> using ColdFusion. Next Thing you need to do is go in the ColdFusion
> Administrator and do Mappings to where your Folder is. I'll try to
> find the solution on my computer. 
> > --
> > Sherif Abdou
> > http://VadexFX.com  
> > http://Sherifabdou.com  
> > - Original Message - 
> > From: nathanpdaniel 
> > To: flexcoders@yahoogroups.com 

> > Sent: Wednesday, September 03, 2008 10:16 AM
> > Subject: [flexcoders] Re: Deploy Flex Application
> > 
> > 
> > I have no clue what you can do to actually fix the issue - but I
can 
> > suggest doing the following:
> > Put the debug version of the swf on your server. Then change your 
> > debug options to run at - http://yoursite.com 
(the web page serving 
> > your swf) - rather than C:\Documents\pathto.swf - or whatever the 
> > default is. It will be able to get you directly to the source of
your 
> > issue. I developed with Flex for 2 years before I ever figured that 
> > one out! :D (that one being I can debug remote swf files).
> > 
> > Hope this helps a little!
> > -Nathan
> > 
> > --- In flexcoders@yahoogroups.com
 , "beczimm"  wrote:
> > >
> > > So it is my first time of trying to deploy my flex app from
> localhost
> > > to an actual server. I know the process is supposed to be fairly
> > > simple in that you need to copy the swf and any other related
files,
> > > etc. However, I get an error when I try to access the application
> > > from the server.[RPC Fault faultString="Send failed"
> > > faultCode="Client.Error.MessageSend"
> > > faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed:
> > > HTTP: Failed: 
> > > 
> > > Now I have figured out that the problem is probably happening
> because
> > > it can not find the flex2gateway directory. The directory is there
> > > but the URL it is trying to use is incorrect, it seems to be
missing
> > > the context root of the server, which has been specified. Does
> anyone
> > > have any ideas on how to fix this?
> > >
> >
>

 



Re: [flexcoders] Re: Deploy Flex Application

2008-09-03 Thread Sherif Abdou
I Guess maybe then you can try mappings, Try doing /mysite for Logical Path and 
for Directory Path  give the path where mysite is stored so C:\etc..? If that 
does not work then Try putting all your files in root and Test out then we will 
move from there.
--
Sherif Abdou
http://VadexFX.com
http://Sherifabdou.com
  - Original Message - 
  From: beczimm 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, September 03, 2008 12:22 PM
  Subject: [flexcoders] Re: Deploy Flex Application


  If I use the URL that the flex error is giving me that flex is trying
  to use to access the flex2gateway I get a Not Found error from the
  browser. But as soon as I try the URL that the flex error has along
  with the context path that is supposed to be there then I get the
  blank page which is good. I just am not sure how to make flex use the
  context path in the URL. For example the URL flex is trying to use is
  http://mysite.com/flex2gateway but it needs to be using
  http://mysite.com/mysite/flex2gateway. Does that make sense to anyone?

  --- In flexcoders@yahoogroups.com, "Sherif Abdou" <[EMAIL PROTECTED]> wrote:
  >
  > Actually, That problem is a pain. Everytime it happens I write the
  solution down and forget about it. First thing you need to try is go
  to http://yoursite.com/flex2gateway If you don't get a blank page then
  something is wrong with your configuration. I am assuming you are
  using ColdFusion. Next Thing you need to do is go in the ColdFusion
  Administrator and do Mappings to where your Folder is. I'll try to
  find the solution on my computer. 
  > --
  > Sherif Abdou
  > http://VadexFX.com
  > http://Sherifabdou.com
  > - Original Message - 
  > From: nathanpdaniel 
  > To: flexcoders@yahoogroups.com 
  > Sent: Wednesday, September 03, 2008 10:16 AM
  > Subject: [flexcoders] Re: Deploy Flex Application
  > 
  > 
  > I have no clue what you can do to actually fix the issue - but I can 
  > suggest doing the following:
  > Put the debug version of the swf on your server. Then change your 
  > debug options to run at - http://yoursite.com (the web page serving 
  > your swf) - rather than C:\Documents\pathto.swf - or whatever the 
  > default is. It will be able to get you directly to the source of your 
  > issue. I developed with Flex for 2 years before I ever figured that 
  > one out! :D (that one being I can debug remote swf files).
  > 
  > Hope this helps a little!
  > -Nathan
  > 
  > --- In flexcoders@yahoogroups.com, "beczimm"  wrote:
  > >
  > > So it is my first time of trying to deploy my flex app from
  localhost
  > > to an actual server. I know the process is supposed to be fairly
  > > simple in that you need to copy the swf and any other related files,
  > > etc. However, I get an error when I try to access the application
  > > from the server.[RPC Fault faultString="Send failed"
  > > faultCode="Client.Error.MessageSend"
  > > faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
  > > HTTP: Failed: 
  > > 
  > > Now I have figured out that the problem is probably happening
  because
  > > it can not find the flex2gateway directory. The directory is there
  > > but the URL it is trying to use is incorrect, it seems to be missing
  > > the context root of the server, which has been specified. Does
  anyone
  > > have any ideas on how to fix this?
  > >
  >



   

Re: [flexcoders] Re: Deploy Flex Application

2008-09-03 Thread Simon Bailey
If its ColdFusion your connecting to it can be a random pain sometimes  
getting the url correct.  I have developed a mini HelloWorld  
application to keep hitting your server till you get the right string  
which may be of some assistance for you:


http://www.nutrixinteractive.com/blog/?p=129

Cheers,

Simon

newtriks.com

On 3 Sep 2008, at 16:26, Sherif Abdou wrote:


Actually, That problem is a pain. Everytime it happens I write the  
solution down and forget about it. First thing you need to try is go  
to http://yoursite.com/flex2gateway If you don't get a blank page then  
something is wrong with your configuration. I am assuming you are  
using ColdFusion. Next Thing you need to do is go in the ColdFusion  
Administrator and do Mappings to where your Folder is. I'll try to  
find the solution on my computer.

--
Sherif Abdou
http://VadexFX.com
http://Sherifabdou.com
- Original Message -
From: nathanpdaniel
To: flexcoders@yahoogroups.com
Sent: Wednesday, September 03, 2008 10:16 AM
Subject: [flexcoders] Re: Deploy Flex Application

I have no clue what you can do to actually fix the issue - but I can
suggest doing the following:
Put the debug version of the swf on your server. Then change your
debug options to run at - http://yoursite.com (the web page serving
your swf) - rather than C:\Documents\pathto.swf - or whatever the
default is. It will be able to get you directly to the source of your
issue. I developed with Flex for 2 years before I ever figured that
one out! :D (that one being I can debug remote swf files).

Hope this helps a little!
-Nathan

--- In flexcoders@yahoogroups.com, "beczimm" <[EMAIL PROTECTED]> wrote:
>
> So it is my first time of trying to deploy my flex app from localhost
> to an actual server. I know the process is supposed to be fairly
> simple in that you need to copy the swf and any other related files,
> etc. However, I get an error when I try to access the application
> from the server.[RPC Fault faultString="Send failed"
> faultCode="Client.Error.MessageSend"
> faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
> HTTP: Failed:
>
> Now I have figured out that the problem is probably happening because
> it can not find the flex2gateway directory. The directory is there
> but the URL it is trying to use is incorrect, it seems to be missing
> the context root of the server, which has been specified. Does anyone
> have any ideas on how to fix this?
>







Re: [flexcoders] Re: Deploy Flex Application

2008-09-03 Thread Sherif Abdou
Actually, That problem is a pain. Everytime it happens I write the solution 
down and forget about it. First thing you need to try is go to 
http://yoursite.com/flex2gateway If you don't get a blank page then something 
is wrong with your configuration. I am assuming you are using ColdFusion. Next 
Thing you need to do is go in the ColdFusion Administrator and do Mappings to 
where your Folder is. I'll try to find the solution on my computer. 
--
Sherif Abdou
http://VadexFX.com
http://Sherifabdou.com
  - Original Message - 
  From: nathanpdaniel 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, September 03, 2008 10:16 AM
  Subject: [flexcoders] Re: Deploy Flex Application


  I have no clue what you can do to actually fix the issue - but I can 
  suggest doing the following:
  Put the debug version of the swf on your server. Then change your 
  debug options to run at - http://yoursite.com (the web page serving 
  your swf) - rather than C:\Documents\pathto.swf - or whatever the 
  default is. It will be able to get you directly to the source of your 
  issue. I developed with Flex for 2 years before I ever figured that 
  one out! :D (that one being I can debug remote swf files).

  Hope this helps a little!
  -Nathan

  --- In flexcoders@yahoogroups.com, "beczimm" <[EMAIL PROTECTED]> wrote:
  >
  > So it is my first time of trying to deploy my flex app from localhost
  > to an actual server. I know the process is supposed to be fairly
  > simple in that you need to copy the swf and any other related files,
  > etc. However, I get an error when I try to access the application
  > from the server.[RPC Fault faultString="Send failed"
  > faultCode="Client.Error.MessageSend"
  > faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
  > HTTP: Failed: 
  > 
  > Now I have figured out that the problem is probably happening because
  > it can not find the flex2gateway directory. The directory is there
  > but the URL it is trying to use is incorrect, it seems to be missing
  > the context root of the server, which has been specified. Does anyone
  > have any ideas on how to fix this?
  >