Alternately, you can build your Channels and ChannelSet in ActionScript as your 
app starts up and assign that to your components (e.g. RemoteObject, 
DataService, etc.). If you do this you either need to hardcode URLs for your 
server (or servers in a cluster) into your code, or make a request somewhere to 
fetch them dynamically. It's a chicken and egg problem :) But you don't 
necessarily need to compile them in via the -services mxmlc compiler flag.

Seth

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert 
Csiki
Sent: Thursday, May 15, 2008 3:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Problem with RTMP


Whenever you change that port, you need to rebuild the Flex app, as this
port value is burnt into the SWF. Someone please correct me if I'm
wrong.

--- In flexcoders@yahoogroups.com, "Madhu Bhat P" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> I have been working on the LCDS from past 4 months. I have an
> issue deploying more than two flex (with java) applications in
> weblogic. Whenever i start the app server it throws an exception
>
> flex.messaging.endpoints.rtmp.RTMPException: The RTMP server has
> encountered a fatal exception starting up: Address already in use:
> bind
>
>
> So changed the Port Number of RTMP of one of the application in the
> services-config.xml to 2038. After doing this error didnt reoccur,
> but the application started behaving weird.
> Initially the data would come properly but after the <idle-timeout-
> minutes> specified in the services-config.xml the request sent from
> the frontend was not going to the backend.
>
> Can anyone help me in this regard, its an major issue with my project
>
> Thanks in Adavnce
>
 

Reply via email to