FlexContext vs HttpContext (in FDS)

Preliminary documentation indicates that it is possible to use static methods in the flex.messaging.HttpContext class to
retrieve the request (HttpContext.getHttpRequest), the answer (HttpContext.getHttpResponse) and the servletconfig
(HttpContext.getServletConfig).

HttpContext has been replaced by FlexContext in beta 2.

How can I get the ServletConfig with FlexContext?
I have not found any method to do so.

Thank you

flex.messaging.FlexContext.getServletConfig)

Tags: Adobe LiveCycle

Similar Questions

  • FlexContext.getFlexClient () returns an invalid object

    I have this Flex client application that I am trying to implement the logout function. This customer has HTTP and RTMP connections on the server. When the user press the logout button in the client, so I try to invalidate sessions HTTP and RTMP on MSDS so the FlexClient would become invalid.
    The behavior on the client, it's the login screen is displayed so that the user can connect again if they want. The problem is that if they do, the following happens on the side of the SDS:

    -connection through the HTTP channel will result in the call to FlexContext.getFlexClient () returns a new FlexClient object (which is correct), with the newly created flex Http session

    -aftarwards, try to connect via the RTMP channel, will result in FlexContext.getFlexClient () FlexClient object reference call to the former (i.e. those used on the previous session until the user pressed the disconnection), which is in an invalid State and has no session related. Everything would fail using this FlexClient. More, FlexContext.getFlexSession () returns the new RTMPFlexSession object (which is correct), but this session has no associated objects FlexClient (the getFlexClients() call returns an empty list)!

    My question is why the FDS who'd? Why FlexContext.getFlexClient () returns an old, invalid FlexClient object? It seems strange to me. I am using LiveCycle Data Services ES 2.5.1 on the backend, deployed on Tomcat 5.5

    Thank you.
    Robert

    Not sure it's a bug or not. I'll discuss it with dev, but I agree with you invalidate the flexclient destroy also.

    William Chan

  • How to configure FDS?


    The documentation for configuration "Flex Data Services" section is empty, even on livedocs.

    How to operate under a name other than localhost:? I know how to do this in apache, but according to the schema, apache is not involved with the SDS.

    I did the install JRun version, and I'm on a Linux (development).

    Where can I find documentation on how to configure FDS?

    (Also, in AMFPHP remoting stuff works ok with FDS?)

    Thank you

    Page 1085 the development of applications page 1240 Manual deals with data services configuration.

    AMFPHP is a clone of Flash Remoting. Flash Remoting is not the same thing as the SDS and SDS is not a quick replacement.

    In short, Flash Remoting handles function calls to various programs server-side, and you do the rest. SDS does not support some features of Flash Remoting, but offers many other features that go far beyond the scope of application of Flash Remoting as RTMP, messaging, data replication, conflict resolution, publish / subscription and occasionally connected clients.

  • FDS swallows the stack traces

    There are traces of stack, we need to see when the SDS makes calls to the functions of our body. For the moment, we have all the parameters of the log that we can find in the switched configuration XML files. FDS always swallow all our exceptions without a stack trace. No information about the location of the additional log parameters would be appreciated.

    I went in the category filters as you suggested and turned on a very large number of them. Now our stack trace get out. We didn't know that category filters would cancel debug logging on. Thank you!

  • Flex 2 TFS chapter 17 FDS & amp; DISPLAYS LCD

    Hello everyone.

    I've been working through this book, and everything that's happened a lot. However, I got to chapter 17 where you make the static xml files switch (at the www.flexgrocer.com/... XML) to fetch data from my localhost now uses the FDS - LCD displays.

    The problem that I have with everything set up the way it should be. I had already installed on my Apache to a previous book of ColdFusion server and it still works with all the projects I built on that. I followed the instructions in the appendix to the book install ColdFusion to Flex Builder 2 extensions. I've fiddled with the file path in the different places that the book said would need to be changed if I did not use the default installation location.

    I can run Apache, I can start the ColdFusion server and go in the ColdFusion Administrator (not that it helps me everything), I found the jrun.exe file in two completely different place and the two will start without errors. However, all-in-all, between the two console windows, I see ports 8200, 8300, 8500, & 8700 listed. I can run the EComm & data entry applications with no perceptible difference, but when I try to run the Dashboard application I get the error:

    Error: Client.CouldNotDecode: [RPC Fault faultString = "" Error #1090: XML parser failure: element is incorrect. "faultCode =" Client.CouldNotDecode"faultDetail ="could not load the WSDL.] If there are currently online, please verify the format of the WSDL (C:\CFusionMX7\wwwroot\flexGrocer\cfcs\aggregate.cfc?wsdl) and the URI"]

    I do not see a missed tag, I've not found anything online where someone else seems to have had this problem, and I don't know what the file is supposed to look like, how it works, or what it does. If anyone is familiar with the book or really has their mind wrapped around how / what things are supposed to be with FDS/LCDS/WSDL, could you give me a discount of what files need to point to files and various configuration stuff. I would be very grateful.

    I found a mistake that I did (I did the attribute wsdl using the absolute path to the file is c: /...) I corrected using the url that gives me the xml wsdl file ( http://localhost:8500/flexGrocer/cfcs/aggregate.cfc?wsdl). Firefox poster with the note that there is "no style information associated with it... tree below.» But now, I get this error message:

    Error: Server.Error.Request: [RPC Fault faultString = "HTTP request error" faultCode = "Server.Error.Request" faultDetail ="error: [IOErrorEvent type ="ioError"bubbles = false cancelable = false eventPhase = 2 text =" Error #2032: stream error. "]] "" URL: http://localhost:8500/flexGrocer/cfcs/aggregate.cfc " URL: http://localhost:8500/flexGrocer/cfcs/aggregate.cfc '

    Thanks again!

  • FDS Test Drive - help with examples of applications

    I try to use the FDS 30 minute TestDrive sample applications inside
    Flex Builder. I downloaded the test drive and all the samples of work
    fine just dandy, and I can view source etc. Then I wanted to load
    some of the apps sample in Flex Builder so that I could edit and
    play with them with the debugger to learn more.

    I tried the following:
    create the new project - use Flex Data Services/compilation app locally
    Root folder: C:\fds-tomcat\webapps\ROOT
    Root URL: http://localhost:8600 / ROOT. When I cliquerai to finish, I get the
    After 3 errors in the output panel:

    Unable to load SWC fds.swc: multiple points
    Unable to load SWC fds.swc: multiple points
    The definition of local base class was not found.
    Could not resolve < mx:Application > for implementation of component

    I'm on Flex 2.0.143459.

    I checked that fds.swc is indeed in the
    C:\fds-tomcat\webapps\ROOT\WEB-INF\flex\libs folder.
    I don't know what mean other messages or what to do.

    I then unzipped stubbornly examples of applications in the
    Project file FlexBuilder (I called FDS TestDrive samples) and
    tried to run anyway to see if I could get more information. I then get
    a browser with the following additional errors window:
    type of status report
    message /ROOT/FDS%20TestDrive%20Samples/Chat.html
    Description the requested resource (/ROOT/FDS%20TestDrive%
    20Samples/chat.html) is not available.

    So I guess that one of the problems is that it does not have an html document.
    But I don't know how to fix this.

    I don't know what to do. Any help would be GREATLY appreciated.

    Someone helped me offlist that once I'm frustrated that this forum is basically dead. But in case anyone else needs this info, I thought I would post. First of all, be on Flex version 2.0.155577. I have therefore had to redownload all of Flex, uninstall my old version, install the new version. Then I did the following
    to create the Flex Builder project for the dashboard sample application:

    File - > new-> Flex project
    Select Flex Data Services
    Select the application compiles locally
    Click next
    Uncheck the "default local Flex Data Services location"
    Click Browse... and open c:\fds-tomcat\webapps\ROOT
    Root URL: http://localhost:8600 /
    Context root: /.
    Click next
    Project name: ;
    Uncheck the "Use default location" checkbox
    Folder: c:\fds-tomcat\webapps\ROOT\dashboard
    Click next
    The main application file: dashboard.mxml
    Click on finish

    The context root is really essential. Also, to find my old Flex projects, I used file:import and then had to do a little more fiddling with some of the properties of the project.

    Too bad, this Forum is dead. I tried to get feedback to Adobe on this concern, but so far it has not helped. sigh

  • How to reach the HttpContext for project template

    Hi all

    I use jdeveloper 11g. I have projects that consist of two projects (model and testui-> viewController). I want to access the httpContext to an entity class in the model project.
    I need to use it to get the URL of the current page. How can I get the URL of the current page in the template project?

    Thank you


    Ozgur

    Access the object directly the HttpContext for the model project will be a very bad thing to do, since you can interrupt the separation of MVC layer and you will make your model depend on the layer from your view.
    Instead, you must expose a service method in your model (AM) layer that accepts a parameter - and call this your view layer service method passing the parameter in.

  • FDS and read-only properties

    Hello

    I'm pretty new to the SDS and trying to make it work in my object model. Some of my Java objects have read only properties. that is, they have only a get accessor and a Set accessor of no. It seems that the SDS don't really like this.

    When I use < mx:TraceTarget / > on the client, I get an error that says "Item recovered from the filling/page of the server response is missing and id ', and my client-side object has a null id.

    My Java POJO object does not have a property ID. It has only a getId() on the POJO property, but not a setId property.

    As soon as I add a setId property, everything works fine and my id is completed on the client. For other reasons, I don't want a setter on my POJO. Is there a way to tell the FDS is it normal to have a ReadOnly property? I want to just read the ID and bring it to the customer.

    Thank you!

    Yes, you need the getters and setters in FDS, but you can make this work with a custom IExternalizable. See Peter Farland's blog for an example:

    http://blogs.Adobe.com/pfarland/2006/11/custom_serialization_using_iex_1.html#more

  • FDS 2.5 with Hibernate

    Hello

    I'm working on my first app FDS connection to MySQL with Hibernate. I managed to create all the necessary mapping files and deploy my application server JBOSS 4.0. I get no errors or warnings (with active DEBUGGING) of JBOSS deployment of the application and I get no compile error when I build the app. I can see that all the Hibernate files are read by JBOSS successfully. It looks promising that the app should work. My hibernate.cfg.xml and hbm.xml also are read. MySQL Connector is found.

    When I run this simple application (it's just a datagrid column 2 with the help of a data service, which I configured in data-management-config. (XML), I get the following:

    [MessagingError message = 'Destination 'hibernateStates' has no channels defined and the application sets any default channels.]
    at mx.messaging.config::ServerConfig$/::internalGetChannelSet()
    at mx.messaging.config::ServerConfig$/getChannelSet()
    at mx.messaging::MessageAgent/mx.messaging:MessageAgent::initChannelSet()
    at mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend()
    at mx.messaging::Producer/mx.messaging:Producer::internalSend()
    at mx.messaging::AbstractProducer/connect()
    to mx.data::DataStore / http://www.adobe.com/2006/flex/mx/internal initialize()
    at mx.data::ConcreteDataService/fill()
    to mx.data.mxml::DataService/fill()
    to TFAppMain / ___Button1_click)

    What does that mean?

    Here's my data-management - config.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < id service = 'data service' class = "flex.data.DataService" >

    < adapter >
    < adapter-definition id = "actionscript" class = "flex.data.adapters.ASObjectAdapter" default = "true" / > "
    < adapter-definition id = "java-dao" class="flex.data.adapters.JavaAdapter"/ >
    < / adapters >

    < default channels >
    < Ref = "my-rtmp" channel / >
    < / default channels >

    < destination id = "hibernateStates" = "my-rtmp" channel >
    < Ref adapter = "java-dao" / >
    Properties of <>
    < use-transaction > true < / use transactions >
    flex.data.assemblers.HibernateAssembler < source > < / source >
    application of < scope > < / scope >
    < metadata >
    <!-this is the unique identifier of the entity extended sleep bean->
    < property identity = "id" / >
    < / metadata >
    < network >
    < session-timeout > 20 < / session-timeout >
    < paging enabled = "false" pageSize = "10" / >
    < Butterfly-inbound policy frequency max = "ERROR" = "500" / >
    < political Butterfly-outgoing = 'REPLACE' max-frequency = "500" / >
    < / network >
    < Server >
    TFHibernate.States < hibernate-entity > < / entity extended sleep >
    < fill method - >
    filling of < name > < / name >
    java.util.List < params > < / params >
    < / fill method >
    < filling-configuration >
    < use-query-cache > false < / use-query-cache >
    < allow-hql queries > true < / allow hql queries >
    < / filling-configuration >
    < / Server >
    < / properties >
    < / destination >

    < / service >

    I don't know what else I can check, it seems that there are no errors before execution. Any suggestions would be really useful! :-)

    Resolved:

    I've been putting my - services bad argument.

    Project properties, I went into the Flex compiler options and additional compiler Arguments changed my bad folder to:

    -services "C:\EclipseWorkspace\TFApp\WebContent\WEB-INF\flex\services-config.xml".

    Given that I deploy my application (TFApp) as a. EAR, it was confusing to me as to what should be the argument, but change to my services-config path. Workspace XML, not the deployment server resolved path problem.

  • Installation of CF FDS

    I'm at my wits end trying to identify the best way to install 2 Flex Data Services on my development PC. I installed ColdFusion (JRun option) and I do not understand all options enough to determine that the correct installation configuration.

    I tried the default configurations and when I try to view the mxml files in a browser, I'm prompted to save the file rather than see it on-screen. Is it an installation problem or something else altogether?

    Since I installed the CF with the JRUN option, can't install the FDS the JRun server already installed? If so, how? FDS J2EE Setup seems just to create a folder with the files it contains. So, what are you doing? On my second installation of FDS, I selected the option JRun and I seemed to have a second installed JRun server. Why is this? Someone help me please understand this. More I try to understand more confused I get.

    Download JRun and install it. He enters C:\JRun4. Then install the CF and select the MultiServer option. It's been so long since I installed the CF I don't remember if he asks you where (for example, to use an existing JRun) to put on, but we assume that it's for now :-)

    Then, you install FDS in JRun. It's pretty easy: start the Console of Administration of JRun and you will see "Create server" to the top of the page. Give it a name such as "fds" and leave the rest of the default settings (or left blank).

    Go to file Explorer and locate the FDS installation (for example, c:\fds2) and the flex.war file. Open it with WinZip or something that can read the files from the archive. Extract the files in the new JRun server, you created like this:

    For example, if you have decided to call the new SDS to server, then you will have a structure of directories like this:

    c:\jrun4\servers\fds

    Create a directory under one, for example 'flex' so now you have: c:\jrun4\servers\fds\flex
    This is the directory in which you extract the flex.war file. When you are finished you have to this directory:
    c:\jrun4\servers\fds\flex\WEB-INF\flex

    Now you have Flex Data Services installed in JRun and ColdFusion.

    If you also want to try FDS samples, create a directory related to the flex, for example: c:\jrun4\servers\fds\samples and extract samples.war in this directory.

  • Can FDS &amp; amp; Flex Server 1.5 coexist?

    MSDS & Flex Server 1.5 co-exist on the same server? This isn't a long-term configuration, but we need to support both that migrate us all our Flex 1.5 to Flex 2 applications. Anyone know of any issues running both as stand-alone facilities (not J2EE) servers?

    TIA,

    Rick...

    Thanks for the reply!

  • WinXP SP3 FF24 b FF stopped putting the adobe pdf plugin in tabs yesterday (b) updated to v11 today and FF will not load in PDF EVERYTHING.

    In part (a) of my question, I don't change anything, but suddenly lost the ability to have tabbed pdf files and could not return it. So today, I saw that the Player plugin was obsolete.

    Reader Adobe XI (update X) works in itself, but a plugin that FF was told to put up-to-date, and now says "day" does not work at all, and I'll be forced to use IE, I hate to do my job.

    Yes, I rebooted the machine when told by the installation of Adobe.

    FDS

    Firefox has a built-in PDF Viewer. Your preference might have gotten from the Adobe Integrated Viewer. Check and update this setting, check out this article: How to disable the built-in PDF Viewer and use another Viewer. Who help me?

  • [Depressed] Due to the cannot update/change my card wireless dv8000t

    My HP pavilion dv8000t Intel 3945abg pci-e wireless card died a week ago and I want to upgrade to Intel5300agn because it supports Wireless-N much faster than G.

    However, I got a 104 error messeage: unsupported material and never boot into windows.

    I checked the internet and understood this limited HP than dv8000t support Intel3945 abg only bios.

    I don't know the reason behind this, however, whatever the reason, it is totally unacceptable.

    You cannot update/change the brand of the wifi card, it's the most ridiculous thing that I have experienced in my life of the computer.

    I'm a fan of HP and I always recommend my fds HP and they trust in me and buy HP laptops that I am the head of the spirit of my circle.

    Unfortunately, after this time, I can't buy any laptop of HP unless HP change their policy which is to give the user benefits from upgrading their equipment.

    HP must indicate the parts that customers of can/Can ' t make clear in their brochure. I wouldn't buy this dv8000t if I know that I can not update/change my wireless card.

    One more thing, it is that the total customer care serivces is crap.

    Sharon of the team don't even know not dv8000t is intel based from the model number. I must give a conference to tell him how HP named their laptops.

    dv8000 (T), T for intel cpu dv8000 (Z), Z is AMD processor-based. I really doubt on the quality of the knowledge of their own products customer service team.

    A frustrated customer.

    You can also use usb adaptors as well for the wireless, it doesn't have to be an internal card. But you can be upset by a manufacturer to support only the card with which he delivered. These aren't desktop computers.

  • sleep mode wake

    Wakes up, and the screen disturbs the sleep of babies!

    My beloved iMac 27 inches, mid-2011 has started this problem after the update from Apple. The computer wakes up and turns on the monitor (very bright) when the person has touched. This is a behavior much unwanted.

    Inspection of syslog shows what is happening every 10 min. I tried unplugging all USB devices, nothing helps. I do not want to disable the 'siesta' mode, because this computer is used for the print server. Any help would be appreciated; If this continues, I will sell this device.

    [fds@falcon ~] $ syslog | grep-i 'Reason Wake'

    25 Dec 12:28:10 core Hawk [0] : Wake reason: EHC2

    25 Dec 12:48:19 core Hawk [0] : Wake reason: EHC2

    25 Dec 12:58:59 core Hawk [0] : Wake reason: EHC2

    Best,

    FDS

    EHC2 can be any number of input, including Bluetooth devices, so if you use BT one or several of its devices may be defective or require an update of the firmware. Open system preferences > Bluetooth to determine devices associated with your iMac.

    Does your system preferences > Energy Saver show Power Nap is an option to select? If your energy saver has an option for the NAP, something is wrong with your OS X installation because Power Nap is not supported on an iMac of mid-2011. All that would be necessary to enable it to function as a print server is to select 'network access' and select the share option is appropriate.

  • LabVIEW Terminal connects not to the EV3 EV3 software retail will be (but pilot LEGO will not uninstall)

    Windows connects successfully to the LEGO EV3 via USB or Bluetooth.

    However, the Terminal LEGO of LabVIEW 2015 do not recognize.

    I installed the software at retail EV3 for check and it * is * connect to the EV3.

    I'm trying to fix the "LEGO Mindstorms NXT x 64" driver, but it will not uninstall even if I uninstall everything of LabVIEW, including the module (input administrator rights when prompted.)

    I've been struggling with this days, and I need to connect my EV3 to teach my students LabVIEW.

    Any help is greatly appreciated! Thank you in advance.

    -Associate Professor Matthew,

    #Date: Thu, January 21, 2016 17:21:58
    #OSName: Windows 7 Enterprise Service Pack 1
    #OSVers: 6.1
    #OSBuild: 7601
    #AppName: LabVIEW
    #Version: 15.0 32 bits
    #AppKind: FDS


    21/01/2016 5:27:54.774 PM
    Coolish 0x00BA6193:
    c:\nimble\penguin\labview\components\mgcore\trunk\15.0\source\ThEvent.cpp(267): coolish 0x00BA6193:
    Minidump ID: 789e6f18-0e9e-4b10-8b46-c0dd7448d8d4
    $Id: //labview/components/mgcore/trunk/15.0/source/ThEvent.cpp#1 $

    We found it!

    Our IT Department has been able to dig up in the driver package and finally managed to uninstall.

    Something has been damaged and the pilot wouldn't uninstall correctly.

    This fixed the problem beautifully.

    -Matthew

Maybe you are looking for

  • Qosmio G50 - no TV channels found on Windows 7

    I have the same problem, since Windows 7 Ultimate (32 bit) upgrade pre installed Vista Ultimate (32 bit) on my Qosmio G50. Some channels are there now, where there was not a problem before. Remote control not working anymore. Otherwise, the upgrade o

  • Two Dynadocks on Mac - VGA two displays at the same time?

    I have two Dynadocks: PA3542EY1PRP and PA3541EY1PRP. They are connected to the iMac 21 'Snow Leopard'.All USB ports work but I can't run that two VGA displays simultaneously. If one works, the other doesn't.Display links drivers are updated.There mus

  • PCMCIA IDE/ATAPI Controller

    I have problems with my Toshiba Satellite and Toshiba 5 MB hard disk PCMCIA card. The device plugs into a fine and works well. The problem I encounter is that the Transfer Mode is set to PIO Mode. I need to use this card in DMA mode. Is this possible

  • How to get a new windows 7 or xp free CD or DVD Copy... __plz help me this is my email-id(Email removed for privacy) _

    How to get a new windows 7 or xp free CD or DVD Copy... Please help me this is my e-mail id(*** Email address is removed for privacy ***)  

  • in the event of failed hardware e1000

    I have an e1000 v2 ~ 3 months. In the last 24 hours, it seems dead, all 4 ethernet lights and the power light and the left one is are permanently. Before that I have to get rid of it, does anyone know if really it is a hardware failure or is it possi