Flex :: Coldfusion - Adds Incorrect Port To CFC Call?

Mar 7, 2012

I have a Flex/CF app that sits on 2 redundant servers behind a load balancer. Both the Flex and CF side make calls to the same CFC. The Flex, CF and CFC are all in the same folder. When the CF code calls the CFC, there's not a problem. However, when the Flex code calls the CFC, it adds an explicit port "84" to the URL.This causes a problem for the load balancer which only accepts traffic from port 80. As I understand it, the load balancer would internally route requests from port 80 to 1 of the 2 servers on port 84 (but that internal routing should be invisible to the client).

[Code]...

View 1 Replies


Similar Posts:


Flex :: Functions Called In Incorrect Sequence Or Earlier Call Was Unsuccessful

Mar 8, 2012

in my application, I did some trace statements of a file For example if(oldFile.parent.toString()!=file.parent.toString()) There are some other file print statements , and it seems to encounter this error stated below. But the error does not appear every time. For example i ran my application for 20 times, it will encounter this error once. Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful. at Error$/throwError() at flash.filesystem::File/resolveComponents() at flash.filesystem::File/get parent()

View 1 Replies

Flash - What Port Should Be Assigned To Socket Call In AS3

May 18, 2011

Basically, Im learning how the socket class works in AS3, seems pretty simple, but I dont know what port to assign in the second connect() parameter, let say I wanna load a image from the web, what should I have to do to figure what port is the right one?

View 1 Replies

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

Flex :: Setting Up Project With Coldfusion?

Aug 26, 2009

We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive the following error:

Warning: Failed to load policy file from http://localhost/crossdomain.xml
* Security Sandbox Violation *
Connection to http://localhost/flex2gateway/ halted - not permitted from file://ourServer/folder/ourProject/bin-debug/ourProject.swf

We created a valid crossdomain.xml file on the localhost (which I wouldnt think would be necessary since everything is on the same server)

View 1 Replies

ActionScript 3.0 :: Serial Port Communication - Read Input Data From A Serial Port

Jul 24, 2009

In a project that I'm working on, I have to be able to read input data from a serial port. The input data will be very simplistic in nature. I'm guessing more like a on/off, yes/no, true/false style of operation.I have found some examples in other languages, but nothing in AS3 or AS2. Could anyone send any sample code or a link to a tutorial that gives me some lead way on this? Which approach is better, going with a Flash projector piece, or building it in AIR? The final piece will be on a PC based system.

View 2 Replies

Flex :: Access Log Information For ColdFusion Server ?

Mar 30, 2011

I have Flex front end talking with ColdFusion as the back end. I have to debug my application and need to: Add log support to ColdFusion where I can add my custom messages to log list.Access this log at Flex end.Is it possible? Has anyone tried it before?

View 1 Replies

Coldfusion - Create A Treemap And Depict It Through Flex?

Jun 9, 2011

So basically what I'm trying to do is make something like this:[URL]... I've searched long and hard to find a site that would show me some pseudocode (at least) or an algorithm as to how to implement this type of application. But everything I find are only applications that take in data and do all the work for me to create the graph. I need to actually create it for myself, just a simple one for now. Does anyone know where I can find this? What I want it to do is take data from a database and use it to create the treemap, then express it in a GUI like in the link above. If any specifics are needed I can provide it. I'm trying to do this in Flash Builder using Flex and using ColdFusion as the backend.

View 1 Replies

Flex :: Coldfusion - Retrieving A Single Cell Value From A Datagrid?

Mar 11, 2010

I'm using CF to retrieve values from a database that are then being stored in a datagrid in Flex. I then want to selectively take the value from one cell of the datagrid and store it as a string variable. I've searched around, but I haven't been able to come about a solution. The users will not be interacting at all with the datagrid as it will be hidden to them.

View 1 Replies

Flex :: Coldfusion Returning Typed Objects / AMF Remoting

May 26, 2010

Is the same possible in ColdFusion? Currently I am using .Net/Fluorine to return objects to the client. Whilst in testing I like to pass strings representing the select statement and the custom object I wish to have returned from my service. Fluorine has a class ASObject to which you can set the var 'typeName'; which works great.

I am hoping that this is possible in Coldfusion. Does anyone know whether you can set the type of the returned object in a similar way. This is especially helpful with large collections as the flash player will convert them to a local object of the same name thus saving interating over the collection to convert the objects to a particular custom object.

[Code]...

View 2 Replies

Flex :: Coldfusion - RemoteObject - Passing Named Parameters

Dec 7, 2010

I'm calling ColdFusion cfc method using RemoteObject method of the Flex.

[Code].....

So you can see that I changed the sequence of the parameter, when I call the cfc method. But it does not worked. It means that <s:arguments> does not pass the named parameter. Is there any solution for that? As you can see that I may have some of the arguments not mandatory so, it must be passed by name.

View 1 Replies

Flash :: Create Cookie Through Flex / Coldfusion That Is Readable By Another Template?

Feb 4, 2010

Inside a flex app, I have a user login. The login calls a ColdFusion function as a remote object which authenticates the user and, if applicable, returns their id and access level. This works fine, but now I'm at the point where I want to also create a cookie for another ColdFusion template (called from fileReference.upload()) to be able to access later. I have tried several different methods for creating the cookie -- cfcookie, creating a cookie with JavaScript inside the ColdFusion function, and creating the cookie with JavaScript with an external interface once the coldfusion function returns to the flex result handler. All of these have been tried with a plethora of options regarding expiration, path, and domain tags.

[Code]...

View 1 Replies

Flex :: Getting Feedback From URLLoader After Sending Information To A Coldfusion File

Jun 28, 2011

I have a scheduling application that allows users to save any changes. When the user clicks the save button, Flex sends all the information to a coldfusion script which picks the information apart and sends saves it to the database. That all works well and good, but I would like to be able to display some sort of text to the user saying something like "Your file was successfully saved" or "There has been an error.

[Code]...

View 1 Replies

Javascript :: Flex Ajax Bridge, Or Any Other Push Method With ColdFusion?

Jul 5, 2011

Is it easy to implement Flex Ajax Bridge with ColdFusion? Where can I learn how to use it? My frontend is pure HTML+JS and I just need the push capability. I thought of using Websocket Event Gateway and Server Sent Event (aka EventSource) but seems like they don't have much browser support quite yet. Any pure jQuery short/long polling option Any good Server Sent Event polyfill solution available for older browsers?

View 3 Replies

Flex :: Do Calling A ColdFusion Web Service Using <s:RemoteObject> And <s:WebService> Have A Difference In Performance

Jan 22, 2011

Assuming calling the same ColdFusion web service and all other factors are identical, is there a difference in performance/speed between using the following two tags?

<s:RemoteObject id="MyService" destination="ColdFusion" source="MyWSFolder.MyService"/>

and

<s:WebService id="MyService" wsdl="http://www.myDomain.com/MyWSFolder/MyService.cfc?wsdl"/>

View 2 Replies

Flex :: Solve ClassCastException For Java.util.ArrayList Via WSDL Of ColdFusion 9's CFC?

Mar 20, 2011

I hope this problem would not waste your time. I use Adobe Coldfusion 9 to create CFC to to interact with database. Generally, CFC can be generate WSDL by itself. for example:[URL]..

The WSDL was generated well. But the problem has been found when I tried to use Adobe Flash Builder 4's Data service to generate service class to connect ColdFusion's WSDL.

If you tried to invoked the remote function that return primitive data type as int or String, it works correctly.

[Code]...

View 1 Replies

Flex :: Way To Monitor USB Port With Flash?

Feb 21, 2010

I want to write an application that monitor the USB port, and when something is connected should show the contents of the drive (image viewer) automatically.there is any way to do that with Flex/Flash directly?or i might program another application in C in order to monitor the USB port and then comunicate with the front-end application with sockets?

View 2 Replies

Flex :: Pass Data From Port To Xml()?

Mar 31, 2011

AM reading data from port in the form of bytes.my data will be like [code]...

View 3 Replies

Flex :: Configure Port For BlazeDS?

Dec 12, 2011

I've downloaded BlazeDS 4 and installed in on my Tomcat server. How can I make it to listen to port distinct from 8080? I change port in channels configuration in services-config.xml, and my client application sends requests for new port, but they failHow can I make server listen to custom port?

View 2 Replies

Jquery :: Port From Flash / Flex To HTML?

Apr 24, 2011

I have a very complex social networking system built using the Adobe Flex SDK. Since we are experiencing certain performance issues, I want to move it to a "light-weight" platform, the backend is PHP so its just the UI.

What are my other options if I don't want to use Silverlight ?

I was told I could use AJAX/jQuery, which I am not familiar with - are there any GUI designers available ?What kind of GUI designer can I use to design my UI ?

View 2 Replies

Actionscript 3 :: Flex Spark View-port Scrolling?

Sep 8, 2011

I face a problem while i am try to scroll up or down the content in a scroller via viewport. my MXML cod is

[Code]...

View 2 Replies

Flex :: Incorrect Selection In Itemrenderer With Checkbox?

Mar 22, 2012

I am using a 'Tilelist' and 'HBOX' as itemrenderer. In the HBOX I have checkbox.Passing arraycollection as dataprovider to TileList(my arraycollection length is 20). On selecting checkbox of item1 in the Tilelist and scroll the list I could see subsequent item as of item1 is selected. In blogs I found there is some issue of flex cache while using checkbox.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" verticalGap="0" xmlns:local="*" height="500" >
<mx:Script>

[code]....

View 1 Replies

Flex :: OpenX Market IMG URLs Incorrect Problem?

Jul 16, 2010

I've got OpenX working on my Flex site. But, I'm having problems getting OpenX Market working. At the moment, I only get my OpenX dummy ad-- no OpenX Market ads are displayed.So, I set an alert on the img tags and looped through the return. I'm trying to figure out whether the img tags that are referenced are correct.url...

View 1 Replies

Annotations - Flex Chart AnnotationElement Incorrect Data Points?

Jul 22, 2010

I have 2 Y-axis on the chart and I am trying to use annotationElement's localToData to get the data points associated with a Point on the chart.

The annotation Element is able to return a set of values for the point ( 1 Y - data, 1 -x data), But it is returning the values against one axis and not the other.

Is there a way to associate the annotation element with a specific axis ?

View 1 Replies

Flex :: Call Function After Remote Call?

Jan 31, 2011

I have a function in Flex which has three function in it.

public function update():void
{
A(); \Dispatches a event with Remote Call

[code].......

View 1 Replies

ActionScript 1/2 :: Getting Value From Coldfusion

Sep 30, 2009

In my flash application, I need to get a value from coldfusion. For this purpose, I have used flashvars. But I am not getting the value.

View 1 Replies

ActionScript 2.0 :: Flash - ColdFusion - PDF?

Jan 23, 2006

I have a form in Flash. Would it be possible for me to send the data from that form to ColdFusion and then have ColdFusion generate a PDF with that information? What do I have to do to make it work?

I know how to send the variables from Flash to CF, but I don't know how to make ColdFusion generate a PDF with that data.

View 2 Replies

ActionScript 3.0 :: Cannot Connect To Coldfusion In Flash

Mar 22, 2011

trying to connect to Coldfusion through flash. i get message that server may be down. CF server is up and running. It doesn't validate the configuration also.

View 1 Replies

ActionScript 3.0 :: Uploading BitmapData To ColdFusion (cfm Page)?

Apr 20, 2009

Doesn't seem to be much info out there on this. I'm consistently getting a coldFusion error on upload. (sorry, wasn't sure whether this was a coldFusion or Flash problem, but ended up posting here)I have tried several ways of uploading, the latest would be:

var request:URLRequest = new URLRequest("http://www.blabla.com/upload.cfm");
request.method = URLRequestMethod.POST;
request.contentType="application/octet-stream";
var loader:URLLoader=new URLLoader();

[code]....

View 3 Replies

ActionScript 3.0 :: Passing JPEG From Flash To Coldfusion?

Sep 9, 2008

I am trying to pass an encoded JPEG from Flash/AS3 toColdfusion. The JPEG is generated in Flash with a Drawing tool, andwe want to save the JPEG on the Coldfusion server. I have written asimple CFC that saves files passed from a Flex RemoteObject, but Ican't get anything like that working in Flash.The only documentation I found that seems close to this onAdobe's site was this, am I barking up the wrong tree with this

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved