Deploying Flex 4 application and Channel Disconnected Error

Hi,
After deploying my application I keep having this error when I want to insert into Database.
Channel disconnected before an acknowledgement was received
The problem is that everything works as a cham localy.
Thank's.

This is a Flex question. Please try posting it to the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion

Similar Messages

  • How to Build and Deploy Flex application in EP6

    Hi All,
    Can anyone tell how to build and deploy Flex application in EP6.
    I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
    Thanks
    Deepak

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • Best webservers for deploying flex application

    Hi,
    I want to deploy flex application in web server.
    I am serching for best and suitable server for deploing flex
    application.
    any info pls.............

    Rule 1: Never use the "Automatically Expose UI Componentes in a New Managed Bean" option, create your bindings manually;
    Rule 2: Rule 1 is always right;
    Rule 3: In doubts, refer to rule 2.
    You may also want to check out :
    http://groups.google.com/group/adf-methodology
    And :
    http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/Introduction_Best_Practices.pdf

  • View Channel disconnected error

    Hi Everyone,
    I received a Channel disconnected error, how can I view where the error is occuring?  Is that possible?
    Wesley

    I finally figured out what I was doing wrong. I was following davidflex's insturction at http://forums.adobe.com/thread/875709 and did not realize that I ahve to set host = "localhost:8889" in my php that connects to my remote mysql server. It's tricky because sicen it's remote server, you should set host = your domain, but that's not right. As davidflex said you need to set host = "local:8889" since your gateway.php is also running on the remote server.
    I stumbled for several weeks and hope someone else won't get stuck like I did for serveral weeks.

  • Deploying large applications and common used classes

    I've got an application containing EntityBeans, statefull/stateless
    SessionBeans, and a Webapplication. Every component is packed in a jar File
    and all together in an EAR-File as an application.
    Those EJBs share some common classes, for example:
    EjbA in A.jar and EjbB in B.jar share a Helperclass C.
    Where do I put this class C? I try to avoid to put this class C in the
    Classpath of the application server. And when I put C in both jar-Files I
    got a ClassNotFoundException in one of the EJBs. I'm using WLS 6.0.
    Any ideas? Thanx in advance.

    FYI, this is fixed in 6.1
    Torsten Friebe wrote:
    Hi Daniel,
    thanks, this article answers my question. But does WLS 6.0 or 6.1 allready
    support J2EE Packaging as described in J2EE 1.3 Spec (PFD3) Chapter 8?
    Cheers
    Torsten
    "Daniel Hoppe" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]..
    Hi Torsten,
    there is no really good solution so far. Check out this link, it
    elaborates this topic in detail.
    http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
    Cheers,
    Daniel
    -----Ursprüngliche Nachricht-----
    Von: Torsten Friebe [mailto:[email protected]]
    Bereitgestellt: Freitag, 29. Juni 2001 11:59
    Bereitgestellt in: environment
    Unterhaltung: deploying large applications and common used classes
    Betreff: deploying large applications and common used classes
    I've got an application containing EntityBeans, statefull/stateless
    SessionBeans, and a Webapplication. Every component is packed
    in a jar File
    and all together in an EAR-File as an application.
    Those EJBs share some common classes, for example:
    EjbA in A.jar and EjbB in B.jar share a Helperclass C.
    Where do I put this class C? I try to avoid to put this class C in the
    Classpath of the application server. And when I put C in both
    jar-Files I
    got a ClassNotFoundException in one of the EJBs. I'm using WLS 6.0.
    Any ideas? Thanx in advance.

  • Deploying JEE application and SOA Applications on the same SOA Dom

    Are there known issues in deploying SOA Applications and Weblogic/JEE application on the same SOA Domain.
    Couple of the issues that I can think of is if that
    If SOA Domain is unstable it will also impact JEE applications.
    SOA Domain depends on the SOA DB and there is no such db dependency for a weblogic server.
    In the past we have been creating seperate domains for Weblogic and Weblogic Integration domains.
    Anythoughts ?
    Any information on this topic would be greatly appreciated.
    Thanks
    Pavan

    Yes, it is possible to do this using virtual servers.
    In your example, you will have two different virtual servers and two http listeners (localhost/8181 and localhost/8282).
    When you deploy a war file, you can specify which virtual server to use. (--virtualservers option on asadmin deploy command, admin console has a virtual server text box on deployment screen).
    After deployment, the applications will only be available on the http listeners that map to the virtual servers they were deployed to.
    Can you also post the problem that you are running into with 8.1 update 2?
    Hope this helps,

  • 32 K error while compiling and deploying flex application

    Hi SAP Team,
    This is regarding the modelling of complex and huge models in VC and
    errors when modelling the same.
    I have a huge and complex model containing more than 100 queries from
    BI 7.0 system which iam using for modelling a VC application.I have 5
    layers to display the queries data.
    Iam getting deployment error when iam deploying the application which
    is a 32 K flex deployment error.
    I have modelled the application with multiple nested iviews and
    multiple layers.
    I have the following questions regarding the above VC model:
    1)is there a upper limit of number of queries or services ( i have used
    around 100 queries in the above model)that can be used in VC Model
    2)is there any performance issue of using this many number of queries
    in a single model and running all the queries on a single submit button
    click.
    3)How to deal with adobe flex compilation error when deploying large or
    complex models
    4)I have used all the best modelling practices in my model as per note
    936390 .But still iam getting the error.
    Thanks
    P.Navakanth
    +919985555065

    Can anyone pelase tell me what is the significance of the component:
    com.sap.visualcomposer.vcflex.default
    iam asking the above question because, theversion of above component is different from my actual v ersion of portal i.e EP is at Version 7.0 and SP 16 but the above component is at version7.0 and SP 10.
    the SAP note 936390 says that The fix for 32k flex deployment problem was introduced with the release of flex2.0 runtime in SP14 patch 2.
    I want to check whether the above component ( com.sap.visualcomposer.vcflex.default ) is actually causing the issue.
    To see the component versions of your sap EP please navigate to
    http://host:Port/sap/monitoring/ComponentInfo
    Thanks
    P.Navakanth

  • Error While deploy VC Application and Par file

    Hi Experts,
    The deployment of par or VC application worked fine, but last one week i am getting error while deploying par or VC application.
    I am getting pop-up window while deploy VC Application. That pop-up window shows Portal Request Failed. (com/sap/netweaver/bc/uwl/UWLException).
    I am getting Error like this, Please Check the user ID and password, while deploying par from NWDS.
    I have checked my userid and password, it is correct. I checked with admin userid and password, it shows the same error.  it is showing same for my team members userid also.
    I have checked logs and traces in server, nothing is logging regarding this deployment error.
    Where is the problem, please anybody help me.  I am using EP7 SP9.
    Thanks and Regards,
    Chinnadurai R

    Hi Detlev,
    I checked all the permission in the SECURITY ZONES, all the setting are correct in the portal.
    I informed to our BASIS Team, they found that problem is, one process always running in SDM. It didnt let to deploy another PAR file. They cann't able to open the SDM after gave the SDM username and password, its shows "still processing". So, how can we kill the process ? They restarted the SDM and also J2EE Engine, its still processing. After that they restarted the Machine also, still the process going on.
    How can we rectify the problem ?..
    Thanks & Regards
    Chinnadurai R

  • How to read JBoss server 'app.properties' file in the deployed Flex application?

    Hi, my current Flex project is using LCDS server to make call (Remote object call and Data managements services' call) to the backend Java services and consume data to render. I have defined the AMF and RTMP channels in the services-config.xml file and destinations for the Java services' in the remoting-config.xml and data-management-config.xml files.
         <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://localhost:8080/eqcFlex/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>false</polling-enabled>
                </properties>
         </channel-definition>
    As of now both the Flex application WAR file and Java services EAR files are depolyed on the JBoss server on my machine, therefore I can hardcode the endpoint URL as http://localhost:8080 in the services-config file and hit the Java services.
    But the requirement is that the Flex application WAR file needs to be deployed on JBoss servers deployed on different machines and hence the endpoint URL cann't be hardcoded in the services-config.xml file. Is there a way we can pick up the endpoint URL from the JBoss server's app.properties file so that we can dynamically create channels in Actionscript code and make call to the backend services with dynamic endpoint URL?

    But in Command prompt I found out that My properties file by name
    'cedrelay.properties' is not recognised by web.xml.My web.xml structure is
    How does web.xml "recognize" anything?
    You specify the properties file as an init parameter. Do you read it in the init method of the servlet? If so, what does the code look like for reading the properties file?
    You'll have better luck if you put that properties file in WEB-INF/classes and load it as a resource input stream from the CLASSPATH.
    %

  • Subsequent configuration to deploy SAPUI5 Application and to activate Gateway service

    Hi All,
    Subject: I want to know the subsequent configuration in the Gateway system in order to create gateway project in SEGW & register the service to the system alias and deploy SAPUI5 Application in the BSP repository.
    I have attached the SAINT Tcode & SICF Tcode details snapshot.
    When deploying the eclipse project to the bsp repository, we are getting authorization error. And we dont have authorization for SICF. I found that some ui5 service nodes are inactive, for example ui5_ui5, ui2. Kindly help me at this crucial phase. Your comments are highly appreciated. I want to know the subsequent activities that has to be done in that gateway system.
    Thanks in Advance.
    S.Vikgnesh

    Finally found an answer !
    You have to add this to your neo-app.json file : "authenticationMethod": "none"
    It's set to saml2 by default.
    Here's what my neo-app.json file looks like :
      "authenticationMethod": "none",
        "routes": [
                "path": "/onpremisegw",           
                "target": {
                  "type": "destination",
                  "name": "onpremisegw"
                "description": "onpremisegw"
    Regards

  • Deploy an Application and its components

    I am using Weblogic 6.1, sp1, with Win2k.
    I am trying to deploy my application (myapp.ear) which has 3 components,
    2 webapp comp and an ejb component.
    I have the Myapp.ear file in <weblogic home>/config/baiju/application
    directory
    and the components are listed in the config.xml file as follows :
    <Application Deployed="true" Name="Baiju-WebLogic"
    Path=".\config\mydomain\applications\Baiju-WebLogic.ear">
    <WebAppComponent Name="Baiju-WebLogic-Backoffice"
    Targets="Baiju" URI="Baiju-WebLogic-Backoffice.war"/>
    <EJBComponent Name="Baiju-WebLogic-Ejb"
    Targets="Baiju" URI="Baiju-WebLogic-Ejb.jar"/>
    <WebAppComponent Name="Baiju-WebLogic-Store"
    Targets="Baiju" URI="Baiju-WebLogic-Store.war"/>
    </Application>
    The problem is, when I start the Server it does not deploy the application
    "Baiju", if I go to admin console
    I can see the application as deployed ("its checked") and also its 3
    components, but I am not able to access the pages.
    Also this problem is not consistent, it sometimes work, with absolutely no
    change made to anything, I just re-start the server.
    I have my server running in Production Mode.
    (-Dweblogic.ProductionModeEnabled=true)
    Any help is appreciated,
    Thanks.
    Baiju.

    have a very similar situation in which an ear file deployed thru' the
    console is NOT getting picked up on restart. The file has been copied to
    config/mydomain/applications but does NOT show up in the .wlnotdelete
    directory when I restart the server. When I deployed the ear file initially,
    it was all ok. The home interfaces showed up in the JNDI treee but on
    restart, everything disappeared. It is running in the production mode.
    BTW everything works fine when I deploy using a JAR.
    "Baiju Gajjar" <[email protected]> wrote in message
    news:[email protected]...
    Hi Mihir,
    I am not deloying the application through the console, I have an ear file
    which I have in
    <Weblogic home>\config\<myapp>\applications
    folder as Baiju-WebLogic.ear file. If I start the server in developmentmode
    it is able to deploy
    it properly. It should be able to deploy even in production mode as it is
    listed in the config.xml
    file. Also this deployment is not consistent, it some does deploy it and
    some times it doesn't.
    Thanks,
    Baiju.
    "Mihir Kulkarni" <[email protected]> wrote in message
    news:[email protected]...
    Please set the Loggin level to the highest value ie,StdoutSeverityLevel="64".
    This will give you detailed information about the individual components
    in
    the
    ear being deployed. The config.xml entries look fine to me.
    Are you deploying the applications through the console ? As you arerunning
    with the productionMode=enabled, the server would not pick up anythingfrom
    the applications dir unless you have deployed it through the console. Doyou
    face the same problem when you are running in the dev mode ?
    Baiju Gajjar wrote:
    I am using Weblogic 6.1, sp1, with Win2k.
    I am trying to deploy my application (myapp.ear) which has 3
    components,
    2 webapp comp and an ejb component.
    I have the Myapp.ear file in <weblogic home>/config/baiju/application
    directory
    and the components are listed in the config.xml file as follows :
    <Application Deployed="true" Name="Baiju-WebLogic"
    Path=".\config\mydomain\applications\Baiju-WebLogic.ear">
    <WebAppComponent Name="Baiju-WebLogic-Backoffice"
    Targets="Baiju" URI="Baiju-WebLogic-Backoffice.war"/>
    <EJBComponent Name="Baiju-WebLogic-Ejb"
    Targets="Baiju" URI="Baiju-WebLogic-Ejb.jar"/>
    <WebAppComponent Name="Baiju-WebLogic-Store"
    Targets="Baiju" URI="Baiju-WebLogic-Store.war"/>
    </Application>
    The problem is, when I start the Server it does not deploy theapplication
    "Baiju", if I go to admin console
    I can see the application as deployed ("its checked") and also its 3
    components, but I am not able to access the pages.
    Also this problem is not consistent, it sometimes work, with
    absolutely
    no
    change made to anything, I just re-start the server.
    I have my server running in Production Mode.
    (-Dweblogic.ProductionModeEnabled=true)
    Any help is appreciated,
    Thanks.
    Baiju.

  • Is there any way to use RUN button to deploy the application and open IE...

    Hi
    Thank you for reading my post
    i used to use Run button to compile / deploy and run (opening the browser to project context path) .
    i want to know is there any way to use RUN button to deploy an application to standalone OC4J and opening browser?
    I know that we can define ear or war deployment profiles and use them to deploy the application to stand alone server , but i want a single click solution.
    thanks

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Need help Flex Application and Dataservices

    Hi,
    Is that possible to have two servers
    in 1 i will host my flex application
    in the 2nd i will host the data service application. ie my
    flex application talks to the remote object sitting in another
    server
    Thanks in advance..

    Can I change a Video object to to Camera object, If yes, How do??
    nsOutGoing.attachCamera(video as Camera);// it does not work rightly
    thanks

  • How can deploy the application and data to client?

    As I know, I can burn a CD with http://mobileserver/setup/webtogo/setup.exe and distribute this CD to client to install web-to-go Client.
    But how can I create a package for client to install my application and data?
    What tools should I use? Where can I get the information?
    Can you give/show me a simple example to make a package and install the package?
    Thanks a lot.

    Only the carrier to whom the device is locked can unlock it.
    StraightTalk is not a supported carrier... not all features may work.

  • Flex Builder 3 and Channel definition-error

    Hi,
    I'm developing AIR application which is connecting to third
    party dll via FluorineFx. I've FluorineFx Service running. Now the
    problem is that when I'm trying to run AIR app in Flex Builder 3 I
    get following error: "Channel definition,
    mx.messaging.channels.RTMPChannel, can not be found". Does anybody
    know what might be reason and how to fix this?

    Ok, solved the problem. Found answer from here:
    http://forum.fluorinefx.com/viewtopic.php?f=9&t=3
    I installed LCDS Express and then added fds.swc to my project
    from LCDS-folder.

Maybe you are looking for

  • Windows Vista and ipod

    I heard on the radio that ipod is not yet compatible with windows vista so I haven't synced my ipod nano with my library since I got my new computer. Is this true and if it is what can I do about it? Dell XPS 410   Other OS  

  • How can i edit Iweb published page to open as a Popup?

    I want to edit my iWeb site so that when a link is clicked it opens a different page as a popup with no other toolbars, scrollbars etc - just the image i want to show. I found some code online (http://www.quackit.com/html/codes/html_popup_window_code

  • Sharing iTunes library between 2 computers and 2 iPods via network disk?

    Hi, Me and the missus each got a laptop -hers a PC and mine a MacBook. We both use iTunes and we've both got an iPod. Recently I bought an Aiport Express and hooked it up with a 1TB WD MyBook -is there any way that we can share our iTunes library via

  • Deleting photo's from I Tunes-is it possible

    My I Phone has about 8GB of photos stored. Is it possible to delete photos on the I Phone from I Tunes vs. having to delete individually on the I Phone? Any help would be appreciated.

  • Table control in Reports.....

    Hi Champs,                   How to display the Table Control in report....? If anybody knows please help me.... Thanx in adv, Reg, <b>Suresh.V</b>