Flex and ColdFusion on shared server

Good afternoon everyone,

So I, like many here I guess, use CF for quite awhile now and I am very interested in what Flex can do. I used the CF adapter several times now with great success on my LOCAL Dev machine, but when I download on my web server (hosted by the My Site host), it does not work. Instead, it throws an error springing from the somrthing on a flexgateway.

So what I was hoping that someone could tell me my host does not support or is at - it something I don't in my setting up a Flex project I have to do? I had the impression to run a simple Flex application, you didn't need something special at the end server except the flash player 9.

When I use Flex and CF adapter I just follow the steps to create what I need. I do not use the part "login" so I uncheck this option. Except that I use all the default settings.

And in regards to my host, I have another Flex application up, which works perfectly, but it uses no CFCS to fill in the data of a database as I am doing now.

I searched for many hours a lot now for a simple question answer with no luck.

Here, any help would be greatly appreciated.

OK, I see. So I think between you and your host that they provide you with a URL string of some sort that you have placed in the crossdomain.xml on your roots.

Something like this maybe:

And the crossdomain.xml file is on the root of your web or in the bin folder?

Tags: Flex

Similar Questions

  • Upload file multiple with Flex and ColdFusion problem

    Hi all

    I'm trying to resize images after download using the "multiple".
    Upload with Flex and ColdFusion"to

    http://www.Adobe.com/devnet/coldfusion/articles/multifile_upload.html

    In fact, everyone has a script that resizes the images successfully
    After the download of the images with this method?

    The reason why I ask is that I can't work properly, I tried
    all I can think and ended up with the code below. Which
    resizes the images, but does not delete the original file. The error
    who gets dumped is:

    "ColdFusion could not remove the file C:\ColdFusion8\wwwroot.
    \MultiFileUpload\uploadedfiles\0040.jpg for a
    unknown reason. »

    That does not really help. So I try to delete the original files
    manually, but windows will not let me also and wrote its been used by an application.
    If I download files over that I can then delete the original files
    the previous download.

    To me, it seems that the flash drive is not release the file

    Any help would be greatly appretiated.

    Richard


    Do you have applied the latest patches? There was a problem with locked files after using imageResize.

    http://cfsearching.blogspot.com/2008/04/ColdFusion-801-patch-issue-image-files.html
    http://KB.Adobe.com/selfservice/viewContent.do?externalId=kb402604

  • Problems using rpc between Flex and CF

    Hello
    I have a problem to send objects between Flex and Coldfusion using the gateway of the AUTHORITY of the new Version of Coldfusion.
    The transfer of CFCS to Flex works, but I can't send a complex object to a CFC.

    The Error Message is:
    faultCode:Client.Message.Encoding faultString:' cannot create class of type 'flex. HotlineSystem.bin.cf.Category'. ' faultDetail: 'Type' flex. HotlineSystem.bin.cf.Category' not found. »

    Im going totally nuts... the transfer of CF to Flex works very well, the mapping between category.cfc and category.as work of ist. But if I try to send a Flex object category to my CFC is not.

    I hope someone can help.

    Thank you!

    CFC function:
    < cffunction "insertCategory" access = "public" returntype = name = "Sub" output = "false" >
    < cfargument = "category" type name = 'flex. HotlineSystem.bin.cf.Category"required ="true">

    < cfquery name = "insertCategory" datasource = "hotline_system" >
    INSERT INTO category (category_idCategory, name)
    VALUES (#category.getCategory_IdCategory () #, ' #trim (category.getName ()) #')
    < / cfquery >


    Category.CFC:

    < cfproperty displayname = 'Category' alias = 'flex. Index HotlineSystem.bin.cf.Category"=" I model a single category ">
    < name cfcomponent = "idCategory" type = "numeric" default = "0" >
    < name cfcomponent = "category_idCategory" type = "numeric" default = "0" >
    < name cfcomponent = "name" type = "string" default = "" >

    < cfscript >
    Initialize the SWC with the default property values.
    variables.idCategory = 0;
    variables.category_idCategory = 0;
    variables. Name = "";
    < / cfscript >

    < name cffunction = "init" output = "false" returntype = "flex. HotlineSystem.bin.cf.Category">
    < cfreturn this >
    < / cffunction >

    < name cffunction output = "getIdCategory" = "false" access = "public" returntype = "any" >
    < variable cfreturn. IdCategory >
    < / cffunction >

    < name cffunction output = "setIdCategory" = "false" access = "public" returntype = "Cancel" >
    < name cfargument = "val" required = "true" >
    < cfif (IsNumeric (arguments.val)) or (arguments.val EQ "") >
    < cfset variables. IdCategory = arguments.val >
    < cfelse >
    < cfthrow message = "' #arguments.val #' is not a valid numeric" / >
    < / cfif >
    < / cffunction >

    < name cffunction output = "getCategory_idCategory" = "false" access = "public" returntype = "any" >
    < variable cfreturn. Category_idCategory >
    < / cffunction >

    < name cffunction output = "setCategory_idCategory" = "false" access = "public" returntype = "Cancel" >
    < name cfargument = "val" required = "true" >
    < cfif (IsNumeric (arguments.val)) or (arguments.val EQ "") >
    < cfset variables. Category_idCategory = arguments.val >
    < cfelse >
    < cfthrow message = "' #arguments.val #' is not a valid numeric" / >
    < / cfif >
    < / cffunction >

    < name cffunction = output "getName" = "false" access = "public" returntype = "any" >
    < variable cfreturn. Name >
    < / cffunction >

    < name cffunction = output "setName" = "false" access = "public" returntype = "Cancel" >
    < name cfargument = "val" required = "true" >
    < cfset variables. Name = arguments.val >
    < / cffunction >
    < / cfproperty >

    Category.As:

    package classes
    {
    [Bindable]
    [RemoteClass (alias = "flex. HotlineSystem.bin.cf.Category")]
    dynamic public class
    {
    public var idCategory:int;
    public var category_idCategory:int;
    public var name: String;

    public void category() {}

    }

    public void fill(idCategory:int,_category_idCategory:int,_name:String):void {}
    this.idCategory = idCategory;
    This.category_idCategory = category_idCategory;
    myIdName = name;
    }


    public function getIdCategory (): int {}
    Return this.idCategory;
    }

    public function setIdCategory (): void {}
    this.idCategory = idCategory;
    }

    public function getCategory_IdCategory (): int {}
    Return this.category_idCategory;
    }

    public void setCategory_IdCategory(category_idCategory:int):void {}
    This.category_idCategory = category_idCategory;
    }

    public void setName(name:String):void {}
    myIdName = name;
    }

    public function getName (): String {}
    Return myIdName;
    }
    }
    }

    Problem solved:
    Apparently, it is not possible to transfer an object from a class action script for coldfusion.

    The solution is to encapsulate the object (in my example category) in a table.

    Strange... but it works.

    Best regards

  • Flex 4 and Coldfusion 8

    Hi all

    I'm new to Flex. I just started a simple project whose type of Server Application Coldfusion Flash Remoting (using Flex 4 and Coldfusion 8). After the export release build in a coldfusion server folder all I see is "page is not found" if I use the URL http://localhost/test2/test2.html if I use this URL file:///C:/ColdFusion8/wwwroot/test2/test2.html it works very well. Can someone please help me solve this problem?

    Thank you very much!

    Don

    If you see a page not found error, then you try to access the bad page name / directory structure or you have not downloaded the file in a directory accessible from the web.

    Normally, you will place the release are used to build in a directory of your site web (for example, IIS or Apache), not a ColdFusion installation directory.  Did you do that?

    If you have access to a remote web server, you you FTP your Release version of your web server?  Just exporting on your local machine will not make remotely accessible to the public.

  • Flex 2 and ColdFusion

    OK, I read the installation manual, and I'm confused as all get out. I downloaded Flex 2 SDK (windows) and I think I'll put this on the server where I have coldfusion 7.0.2. Is this correct? If so, how can I actually install flex? Can I just restart the CF server and enter into force? How to create a flex server? Sorry, I'm just in this new and very confused.

    OK, found an article written by the Evangelist Ben Forta who responded to my questions... Flex 2 is not a server, but is Flex Data Services. That's what I install on top of ColdFusion. Flex Builder is just the IDE... soft.

    OK, I read the installation manual, and I'm confused as all get out. I downloaded Flex 2 SDK (windows) and I think I'll put this on the server where I have coldfusion 7.0.2. Is this correct? If so, how can I actually install flex? Can I just restart the CF server and enter into force? How to create a flex server? Sorry, I'm just in this new and very confused.

    OK, found an article written by the Evangelist Ben Forta who responded to my questions... Flex 2 is not a server, but is Flex Data Services. That's what I install on top of ColdFusion. Flex Builder is just the IDE... soft.

  • Use Peoplesoft 8 for our accounting systems and when I go to open a doc (tiff on a shared server file) link, it says that I am not authorized to view the page.

    Use Peoplesoft 8 and when I go to open a doc (tiff on a shared server file) link, it says that I am not authorized to view the page.

    You authenticate (log in) to access this TIFF file?

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • PGA in dedicated and shared server mode

    Hey what is the change in the allocation of memory for a database when it is run in dedicated and shared server mode

    Please read http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/memory.htm#CNCPT1243.

  • shared server and starting a database

    Hi guys,.

    I read in a book:

    And it is logically impossible to issue commands to start or stop using a shared server: shared servers are part of the instance and therefore not available at the moment where you issue a start command.
    If the administrator must always have a dedicated server connection.

    This confuses me. How a DBA can have a dedicated server connection if we use shared server?

    Thank you.

    How a DBA can have a dedicated server connection if we use shared server?

    with the entry in tnsnames.ora
    SERVER = DEDICATED

    or log on to the DB server itself & start the DB without using SQL * Net

  • Flex and application.cfc

    Hi all

    I'm under flex 3.5 and coldfusion 8.

    If I add my application.cfc in my flex my flex application file have an error to the appellant of CFCs.

    [Error CPP faultString = "coldfusion.runtime.AbortException" faultCode ="Server.Processing" faultDetail = "null"]
    to mx.rpc::AbstractInvoker / http://www.Adobe.com/2006/Flex/MX/internal:FaultHandler ([C:\autobuild\3.5.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:290])
    at mx.rpc::Responder/fault() [C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\Responder .as:58]
    at mx.rpc::AsyncRequest/fault() [C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:103]
    to NetConnectionMessageResponder / statusHandler ([C:\autobuild\3.5.0\frameworks\projects\rpc\ src\mx\messaging\channels\NetConnectionChannel.as:581])
    at mx.messaging::MessageResponder/status() [C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx \messaging\MessageResponder.as:222]

    What do I have to configure in my application.cfc to make this work?

    Thank you

    Johnny

    This question. I insert a file blank application.cfc in my folder of CFC and all works.

    Rgds

    Johnny

  • The assign/distribution of server processes dedicated to session SYSDBA on shared server

    Hello world

    My Oracle 11 g R2 server works on Win 8 in shared server mode. I put SHARED_SERVER = 3 and SHARED_SERVER_SESSIONS = 10 in the initialization parameter file. I don't know how these two works settings. Is anyway to set up the process server dedicated server shared for DBA session? In short, I want that on a shared server, all end users / Developer sessions use or shared server processes where the shared server process will be shared between them according to setting SHARED_SERVER_SESSIONS and also that you want to create dedicated server processes share server for session of DBA only because I want only uses session SYSDBA privileged dedicated process server rather shared server process.

    One of your post will help!

    Best regards

    Tushar Lapani

    Configuration of the database for shared server connections ALLOWS sharing of connections to the server, but does not REQUIRE it.

    It is the client process to apply the type of connection.

    Connection with a dedicated server is the default value.  If you want a shared server you have to specifically ask for it:

    In the tnsnames.ora:

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = vblnxsrv01.localdomain) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = SHARED)

    (SERVICE_NAME = orcl)

    )

    )

    In your defense, it is not very easy to find in the documentation if you don't already know what you are looking for.  Even in knowing exactly what I was looking for this answer, it took me a bit to find it, and then, it was obvious that it would be easy to see and do not understand the interest in your question.

    See http://docs.oracle.com/cd/E11882_01/network.112/e41945/concepts.htm#NETAG1036

    And your installation is not YET certified on your operating system.

  • How to find the reason for the high use of the processor - shared server process?

    Hello

    I have a Linux server with instance and an oracle 11.2.0.3. The database is configured for shared server. I do not know the application using the database, but they have performance problems. When I check the server I see, that ora_s001 use a processor Core with 90 to 100%. Is there a way to know the reason for the high CPU load? I'm not very adept at finding bottlenecks or bad sql statements. What I found ist, that some users have very high logical_io and the same users have much cpu_usage.

    What can I do next? Thanks for the tips.

    You must Server multi-user shared for this number of sessions. The main objective os using MTS is reducing the memory usage on the server for the UGA and PGA of sessions.

    About the CPU usage, you must session which uses this server shared at the time, with process $ v and v$ session to trace. From there, check the SQL_ID running and then get his stats. This is probably one or two SQLs with large number of I/o logic. This happens most of the time due to incorrect cardinality estimates and/or bad statistics on the subject which causes suboptimal plans to generate.

  • Oracle shared server

    Dear Experts,

    I was going through the process server shared in guide to Oracle 11 g and the Sub statement confuses me. can you give us your valuable comments on this

    "Certain functions are not allowed when using a shared server to Oracle connection. You cannot start, stop or run some types of recovery of an Oracle Server

    When you are connected via a shared server. "(The guide is not the reason)

    (1) what happens if you need to bounce the server?

    (2) what kind of recovery is not possible?

    Kind regards

    Philippe has

    Hello

    Following the Documentation, more generally, when you need administrator privileges (this is the case when you an instance of start/stop or recover) you must use a dedicated server process:

    Operations limited to the shared server

    Hope this helps.

    Best regards

    Jean-Valentin Lubiez

  • If I put the bridge on a shared server other computers access to this without going through bridge themselves?

    We have a shared server at work that I would like to download all photos - preferably using bridge - work so that everyone connected to this server can access/modify them remotely. All these computers should bridge or can it work just from the shared server?

    Bridge and servers may work, but think we need bridge on each computer, but then my knowledge of servers is zip.

    Bridge is not a good choice for a server, it will work, but it is not a digital asset manager.  You can look in a dam, Cantos Cumulus is a name that comes up frequently, and that works well.

  • Shared server required for outdoor work remote?

    Hi all

    We are moving to the programming of different remote shell on the Scheduler to Oracle scripts and therefore need to put in place the database to handle this, which includes the HTTP port assignment, creating remote objects in the database hourly etc.. In the Guide of the administrator (for Oracle 11 g 2, Chapter 30), he also says to "ensure that this shared server is enabled. Does anyone know if this is really necessary? We organize currently dedicated server mode and prefer not to change this just for the sake of the Scheduler. Also, Mr. Rood's excellent book on the Scheduler makes no mention of this requirement.

    Thank you
    Tobias

    Thanks for the compliments on my book :-D

    As much as I know there no functional reason to switch to the shared server. If you want to run huge amounts of work of short duration, I can imagine that this shared server could give a performance advantage because it can respond more quickly to requests. Shared server processes are already in place, where the dedicated server process always needs to be started for each session.

    Ronald
    http://ronr.blogspot.com

  • shared server config problems

    Dear experts,

    Here are my details of environment:

    DB: Database 10 g 1 Oracle (10.2.0.1)
    OS: RHEL 5

    I have configured the shared servers as shown below:

    (1) set the following parameters

    Dispatchers ='(Protocol=TCP) (Dispatchers = 2)'
    MAX_DISPATCHERS = 10

    SHARED_SERVERS = 4
    max_shared_servers = 10

    circuits (unconfigured)

    (2) modified TNS parameter like below

    I changed the SERVER = DEDICATED Server = SHARED

    (3) lsnrctl services

    the output of this command shows dispatchers ready

    Now come to the question, when I connect to the database using new tns alias, I see 'NONE' displayed 'SERVER' column of the view V$ SESSION. It should have been SHARED.

    Appreciate your help in this regard.

    Thank you

    P

    In shared server configuration when you see the 'NONE' value, it means that it is not a task currently being processed by Server shared for this session. The server column will be infact display the status of "SHARED" If there is a task being processed at that precise moment by the process server shared for this session. So to check, pull a big request and then check the status of the server.

    You can check the shared as server

    Select Server session $ v where machine = "XXXX";

    Neeraj-

Maybe you are looking for

  • DOWNLOAD audio driver does not work

    HelloThis link http://support.toshiba-tro.de/tools/SatellitePro/spm70/xp/sound-xp-510005870.zip doesn't seem to work, can you please check and repair if necessary.Thank you!

  • Need drivers Windows XP for Satellite A200-1KZ

    I want to install window xp in my computer, but in the toshiba page is not for xp. can someone tell me dodne I can bring them down?

  • ENVY 4520 All - in - One Printer: Instant ink still holding!

    Hello Our small company recently signed for the package monthly instant ink and we have lack of ink about a week ago. We received an email confirming that the ink is on its way; However 5 days later it still not been received and according to deliver

  • cRIO LVRT duplicate symbol

    I created a cRIO system I duplicated and tried to run it on a second system of cRIO.  It seems that there are questions for the cRIO LVRT start. The Console Out Bootlog is PARTIALLY set here... What would be the cause of all these "duplicate symbol:

  • Codec for VLC Media Player

    Where can I find a codec to play my movies in VLC media Player? When I opened my movie with VLC it says: "ERROR; Update of the codec is necessary"