RE: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues
You need to provide mxmlc with the context root for the FDS application -compiler.context-root context-path Ie. compiler.context-root /flex Then you should see the correct path for the message broker endpoint in the console output. regards, peter From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dadrobson Sent: Friday, September 08, 2006 9:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error pasted below. There is one line in the error message (below) that caught my eye. It's the message broker URI: http://localhost/messagebroker/amfpolling Shouldn't the path to FDS be in there? I.E., http://localhost/path_to_FDS/messagebroker/amfpolling? If so, does anyone know how to set this? Is there a compiler argument for it? I haven't had any success locating this in the docs. ** Begin Error Message ** Client.Error.MessageSend Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed Send failed (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = C737E92B-DCA1-43B6-E259-8D6BE56F200C destination = extendedData = (null) faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed faultString = Send failed headers = (Object)#2 messageId = 8F8D3BE9-B6D2-6436-2DFE-8D6BE58E9CBA rootCause = (Object)#3 code = NetConnection.Call.Failed description = HTTP: Failed details = http://localhost/messagebroker/amfpolling level = error timestamp = 0 timeToLive = 0 ** End Error Message ** --- In [EMAIL PROTECTED]ups.com, Brian Dunphy briandunphy@... wrote: Think I just figured it out -- you need to add a -compiler.servicespath_to_services- config.xml to that line and it picks it up. Thanks for your help though! Much appreciated. Brian __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues
As somebody already pointed out, you need to use --compiler.services path_to_services-config.xml during compilation.-Metedadrobson [EMAIL PROTECTED] wrote: I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error pasted below. There is one line in the error message (below) that caught my eye. It's the message broker URI: "http://localhost/messagebroker/amfpolling" Shouldn't the path to FDS be in there? I.E., "http://localhost/path_to_FDS/messagebroker/amfpolling"? If so, does anyone know how to set this? Is there a compiler argument for it? I haven't had any success locating this in the docs. ** Begin Error Message ** Client.Error.MessageSend Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed Send failed (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = "C737E92B-DCA1-43B6-E259-8D6BE56F200C" destination = "" extendedData = (null) faultCode = "Client.Error.MessageSend" faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed" faultString = "Send failed" headers = (Object)#2 messageId = "8F8D3BE9-B6D2-6436-2DFE-8D6BE58E9CBA" rootCause = (Object)#3 code = "NetConnection.Call.Failed" description = "HTTP: Failed" details = "http://localhost/messagebroker/amfpolling" level = "error" timestamp = 0 timeToLive = 0 ** End Error Message ** --- In [EMAIL PROTECTED]ups.com, "Brian Dunphy" briandunphy@... wrote: Think I just figured it out -- you need to add a -compiler.servicespath_to_services- config.xml to that line and it picks it up.Thanks for your help though! Much appreciated.Brian All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues
Jim, Did you see my reply before Metes? Ill repost You need to provide mxmlc with the context root for the FDS application -compiler.context-root context-path Ie. compiler.context-root /flex Then you should see the correct path for the message broker endpoint in the console output. -peter From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dadrobson Sent: Friday, September 08, 2006 11:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues Mete: As I noted in the first line of my post, I *did* set the path to services-config.xml. But the issue persists. Any other thoughts? Jim --- In [EMAIL PROTECTED]ups.com, Mete Atamel meteatamel@... wrote: As somebody already pointed out, you need to use --compiler.services path_to_services-config.xml during compilation. -Mete dadrobson jim.robson@... wrote: I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error pasted below. There is one line in the error message (below) that caught my eye. It's the message broker URI: http://localhost/messagebroker/amfpolling Shouldn't the path to FDS be in there? I.E., http://localhost/path_to_FDS/messagebroker/amfpolling? If so, does anyone know how to set this? Is there a compiler argument for it? I haven't had any success locating this in the docs. ** Begin Error Message ** Client.Error.MessageSend Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed Send failed (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = C737E92B-DCA1-43B6-E259-8D6BE56F200C destination = extendedData = (null) faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed faultString = Send failed headers = (Object)#2 messageId = 8F8D3BE9-B6D2-6436-2DFE-8D6BE58E9CBA rootCause = (Object)#3 code = NetConnection.Call.Failed description = HTTP: Failed details = http://localhost/messagebroker/amfpolling level = error timestamp = 0 timeToLive = 0 ** End Error Message ** --- In [EMAIL PROTECTED]ups.com, Brian Dunphy briandunphy@ wrote: Think I just figured it out -- you need to add a -compiler.servicespath_to_services- config.xml to that line and it picks it up. Thanks for your help though! Much appreciated. Brian - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues
Ok. This is page 163 of Flex2 Build and Deploy guide: You must remember that the context root of an application is only valid in the context of a web application. If you are using the command-line compiler or the offline Flex Builder compiler, you must manually specify it using the context-root command line option, as the following example shows:$ mxmlc -context-root=http://www.mydomain.com MyApp.mxmlCould this be it?-Metedadrobson [EMAIL PROTECTED] wrote: Mete: As I noted in the first line of my post, I *did* set the path to services-config.xml. But the issue persists. Any other thoughts? Jim --- In [EMAIL PROTECTED]ups.com, Mete Atamel meteatamel@... wrote: As somebody already pointed out, you need to use --compiler.services path_to_services-config.xml during compilation.-Metedadrobson jim.robson@... wrote: I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error pasted below. There is one line in the error message (below) that caught my eye. It's the message broker URI: "http://localhost/messagebroker/amfpolling" Shouldn't the path to FDS be in there? I.E., "http://localhost/path_to_FDS/messagebroker/amfpolling"? If so, does anyone know how to set this? Is there a compiler argument for it? I haven't had any success locating this in the docs. ** Begin Error Message ** Client.Error.MessageSend Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed Send failed (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = "C737E92B-DCA1-43B6-E259-8D6BE56F200C" destination = "" extendedData = (null) faultCode = "Client.Error.MessageSend" faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed" faultString = "Send failed" headers = (Object)#2 messageId = "8F8D3BE9-B6D2-6436-2DFE-8D6BE58E9CBA" rootCause = (Object)#3 code = "NetConnection.Call.Failed" description = "HTTP: Failed" details = "http://localhost/messagebroker/amfpolling" level = "error" timestamp = 0 timeToLive = 0 ** End Error Message ** --- In [EMAIL PROTECTED]ups.com, "Brian Dunphy" briandunphy@ wrote: Think I just figured it out -- you need to add a-compiler.servicespath_to_services-config.xml to that line and it picks it up.Thanks for your help though! Much appreciated.Brian - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___