FileStream problem with AIR deployment

I use FileStream to load local XML file. When I test the desktop application directly from Flex everything is ok but when I install it with AIR, the application work but the file is not loaded. Here is the code I use:
import flash.filesystem.*;
 var applicationDirectoryPath:File = File.applicationDirectory; 
var nativePathToApplicationDirectory:String = applicationDirectoryPath.nativePath.toString(); 
nativePathToApplicationDirectory +=
"/config_poste_temps.xml"; 
var file:File = new File(nativePathToApplicationDirectory); 
var fs:FileStream = new FileStream(); 
fs.open(file, FileMode.READ);
var config:XML = XML(fs.readUTFBytes(fs.bytesAvailable)); 
fs.close();
plan.text = config.division;
Regards

I am having the same problem as simon_lucas although my config is slightly different:
FlashBuilder 4 with SDK 4.6, Current app is with SDK 2.5.
Trying to update with SDK 3.2, I double-checked per Horia Olaru that I do use the application updater swc:
         <path-element>D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0 - Air 3.2\frameworks\libs\air\applicationupdater.swc</path-element>
         <path-element>D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0 - Air 3.2\frameworks\libs\air\applicationupdater_ui.swc</path-element>
But I still have the 16815 error.
If I change the update.xml to be <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
instead of <update xmlns="http://ns.adobe.com/air/framework/update/description/3.2">, I am proposed to download the new app and then I get an error 16824.
Please HELP!

Similar Messages

  • Strange Problem with PAR deployment.

    Hi Everybody,
    I am undergoing with the strange problem with PAR deployment. When I am deploying any Par file its going successful but when again If I am changing this same PAR file in NWDS and deploying it ... its deploying but not showing the updated deployment version. To see the updated version, every time, I have to go Portal->System Admin->Support->Admin Console and DELETE the existing PAR file. But this procedure takes too time to work on each and every time. Can you help me with some new concept where the new deployed version will get updated on previous one without any manual process or if this something related to cache problem then how to work out?
    Thanks,
    Roshan Gupta

    Hi,
    If it saves you time you can also deploy from here:
    .../irj/servlet/prt/portal/prtroot/com.sap.portal.runtime.system.console.ClusterAdminConsole
    In some cases (rarely) I observed the behavior you described above.
    In thoes cases after deploying the file I click the "clean" button on the bottom, since after the deployment it contains the name of the par you just uploaded it'll save you the time of looking for that par to earase.
    After that you have to deploy the par again, but again it's allready in the browse console box.
    Best Regards,
    Nadav.

  • Problems with AIR-BR1310

    Hy,
    I have problems with AIR-BR1310.
    When the bridge boot this is the sequence on LEDs indication :
    Sequence 1:  R-blinking green S-blinking green E-off I-red
    Sequence 2:   R-off , S-green, E -red, I –red
    and the sequence continue.
    I connected a laptop at console port on power injector but in hyperterminal I cannot see anything.
    I changed the power injector and the symptoms was the same.
    To function properly the correct sequence 2 for LEDs indication should be:
    Sequence 2:   R-off , S-green, E-green , I –red
    What does it mean?
    What i can do ?
    It ' s possible to resolve this issue?
    Thanks.

    Hi,
    The below link will answer ur question..
    http://www.cisco.com/en/US/docs/wireless/access_point/12.4_21a_JA1/configuration/guide/scg12421aJA1-chap22-trouble.html#wp1099822
    lemme know if this answered ur question and please dont forget to rate the usefull posts!!
    Regards
    Surendra

  • Problems with EAR deployment

    When creating an ear-file (using ant 1.6.3) I get an EAR file that I can perfectly examin with the jar tool, I can even unzip it. All jars within can be unzipped as well. The ear file does contain an META-INF/application.xml file as well as a META-INF/sun-application.xml file but whenever I try to deploy, I get an error indicating that there are problems with the zip file.
    Running the verifier manually on the ear file gives the following:
    STATIC VERIFICATION RESULTS
    NUMBER OF FAILURES/WARNINGS/ERRORS
    # of Failures : 0
    # of Warnings : 0
    # of Errors : 1
    ERRORS THAT OCCURED WHILE RUNNING STATIC VERIFICATION
    Error Name : Could not verify successfully.
    Error Description : java.io.IOException: error in opening zip file
    at com.sun.enterprise.tools.verifier.VerificationHandler.explodeArchive(VerificationHandler.java:189)
    at com.sun.enterprise.tools.verifier.VerificationHandler.init(VerificationHandler.java:121)
    at com.sun.enterprise.tools.verifier.VerificationHandler.<init>(VerificationHandler.java:55)
    at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:74)
    at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)
    Caused by: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:204)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:97)
    at com.sun.enterprise.deployment.archivist.InputJarArchive.getJarFile(InputJarArchive.java:204)
    at com.sun.enterprise.deployment.archivist.InputJarArchive.open(InputJarArchive.java:193)
    at com.sun.enterprise.deployment.archivist.JarArchiveFactory.openArchive(JarArchiveFactory.java:41)
    at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:84)
    at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:59)
    at com.sun.enterprise.deployment.backend.EarExploder.explodeEjbs(EarExploder.java:80)
    at com.sun.enterprise.deployment.backend.EarExploder.explode(EarExploder.java:63)
    at com.sun.enterprise.tools.verifier.VerificationHandler.explodeArchive(VerificationHandler.java:179)
    ... 4 more
    Anyone an idea where to look?

    Are you using SP2? If not, try it, as BEA have fixed some tld-related bugs.
    simon.
    "Mike Dunbar" <[email protected]> wrote:
    >
    I'm having trouble deploying/running my application as an EAR file.

  • Problem with the Deployment

    Hi all,
       I am trying to deploy the ear by using the user credentials which was given at the time of installation.
    But is was giving an error like :
    Base login Exception : Cannot authenticate user.
    Session- CheckForTicketException.
    Regards,
    Kiran.

    Hi Bhogi,
        Try opening Visual Admin if your not able to login with username(admin) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation.
    Restart the server and deploy it...
    In case if your able to login visual admin follow the thread that will solve your problem;
    Cannot connect to Host with user name J2EE_ADMIN !!!
    Errors in While trying to Deopy Web Dynpro Application
    Regards
    Suresh KB

  • Problem with weblogic.deploy and cluster

              I'm having some problems with the weblogic.deploy class when trying to refresh
              a jsp file. Using the following command to redeploy the entire application works
              fine:
              java weblogic.deploy -port 9876 -host apptest01 update
              administrator portal c:\portal-site
              However using the following command to refresh just one jsp
              file:
              java weblogic.deploy -url t3://apptest01:9876 -username system
              -jspRefreshFiles ./index.jsp -jspRefreshComponentName portal
              refresh administrator portal
              produces the following stack trace:
              javax.naming.NameNotFoundException: Unable to resolve
              weblogic.management.home.olbcluster.
              Resolved: 'weblogic.management.home' Unresolved:'olbcluster' ;
              remaining name ''
              at weblogic.rmi.internal.BasicOutboundRequest.
              sendReceive(BasicOutboundRequest.java:85)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
              invoke(ReplicaAwareRemoteRef.java:255)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
              invoke(ReplicaAwareRemoteRef.java:222)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy0.lookup(Unknown Source)
              at weblogic.jndi.internal.WLContextImpl.
              lookup(WLContextImpl.java:323)
              at weblogic.management.tools.WebAppComponentRefreshTool.
              getMBeanHomeForManagedServer
              WebAppComponentRefreshTool.java:498)
              at weblogic.management.tools.
              WebAppComponentRefreshTool.
              getComponentMBeanForServer
              (WebAppComponentRefreshTool.java:225)
              at weblogic.management.tools.
              WebAppComponentRefreshTool.findInternalPaths
              (WebAppComponentRefreshTool.java:187)
              at weblogic.management.tools.WebAppComponentRefreshTool.
              refresh(WebAppComponentRefreshTool.java:151)
              at weblogic.deploy.refresh(deploy.java:704)
              at weblogic.deploy.runBody(deploy.java:374)
              at weblogic.utils.compiler.Tool.run(Tool.java:79)
              at weblogic.deploy.main(deploy.java:1601)
              Unable to resolve weblogic.management.home.olbcluster.
              Resolved: 'weblogic.management.home' Unresolved:'olbcluster'
              Any ideas?
              

              "John Murphy" <[email protected]> wrote:
              >
              >I'm having some problems with the weblogic.deploy class when trying to
              >refresh
              >a jsp file. Using the following command to redeploy the entire application
              >works
              >fine:
              >
              >java weblogic.deploy -port 9876 -host apptest01 update
              >administrator portal c:\portal-site
              >
              >However using the following command to refresh just one jsp
              >file:
              >
              >java weblogic.deploy -url t3://apptest01:9876 -username system
              >-jspRefreshFiles ./index.jsp -jspRefreshComponentName portal
              >refresh administrator portal
              >
              >produces the following stack trace:
              >
              >javax.naming.NameNotFoundException: Unable to resolve
              >weblogic.management.home.olbcluster.
              >Resolved: 'weblogic.management.home' Unresolved:'olbcluster' ;
              >remaining name ''
              > at weblogic.rmi.internal.BasicOutboundRequest.
              > sendReceive(BasicOutboundRequest.java:85)
              > at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
              > invoke(ReplicaAwareRemoteRef.java:255)
              > at weblogic.rmi.cluster.ReplicaAwareRemoteRef.
              > invoke(ReplicaAwareRemoteRef.java:222)
              > at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              > at $Proxy0.lookup(Unknown Source)
              > at weblogic.jndi.internal.WLContextImpl.
              > lookup(WLContextImpl.java:323)
              > at weblogic.management.tools.WebAppComponentRefreshTool.
              > getMBeanHomeForManagedServer
              > WebAppComponentRefreshTool.java:498)
              > at weblogic.management.tools.
              > WebAppComponentRefreshTool.
              > getComponentMBeanForServer
              > (WebAppComponentRefreshTool.java:225)
              > at weblogic.management.tools.
              > WebAppComponentRefreshTool.findInternalPaths
              > (WebAppComponentRefreshTool.java:187)
              > at weblogic.management.tools.WebAppComponentRefreshTool.
              > refresh(WebAppComponentRefreshTool.java:151)
              > at weblogic.deploy.refresh(deploy.java:704)
              > at weblogic.deploy.runBody(deploy.java:374)
              > at weblogic.utils.compiler.Tool.run(Tool.java:79)
              > at weblogic.deploy.main(deploy.java:1601)
              >Unable to resolve weblogic.management.home.olbcluster.
              >Resolved: 'weblogic.management.home' Unresolved:'olbcluster'
              >
              >Any ideas?
              >
              Hi John,
              How's tricks?
              It looks to me as though the olbcluster JNDI reference isn't being resolved from
              the tree. A similar error results when a Connection Pool cannot be resolved, the
              JNDI context env.jdbc is resolved but the particlar pool isn't. In my experience
              it often turns out to be an error in the correlation between the deployment descriptors,
              settings applied via the console and references made in the code.
              That's my tuppence worth,
              James :-)
              

  • Problem with air 2.5 renderization

    Hi,
    I have a problem with the renderization of imagens when in the computer is instaled and air version bigger than 2.6. When oi run my app in debug i have no problem and save and jpg with the correct color tone, but when i export and install the app if i have the air 3.3 for instance the image save have a different tone that the one in debug mode, or i i install the air 2.5 in my computer the same app saves the jpg correcty , exactly the same as in debug, sample imagens:
    Image with air 2.6:
    Image with air 3.3:
    If you note the image with air 3.3 installed the tone of the image isn't correct, can anyone tell me how to avoid this or the solution its just not to update the air version in my computer.?
    Thanks in advance
    Alex

    Hi,
    Just for the record i have opened a new bug in the bugbase https://bugbase.adobe.com/index.cfm?event=bug&id=3219361
    Tanks
    Alex

  • Problems with AIR for DW extension

    Is anyone having luck with the AIR for Dreamweaver component?
    I've got it installed but I try to export an AIR project all I ever
    get is stuff like this:
    File does not exist: /Users/databell/Library/Application
    Support/Adobe/Dreamweaver
    9/Configuration/Temp/FlashElements/ImageViewer/application.xml

    I am also experiencing problems. I am running DWCS3 build
    3481, Mac OS X 10.5.4 on an Intel MacBook, and AIR 1.0 (the 1.1
    updater page still provides v. 1.0 download) according to the file
    info, and I've tried completely re-imaging my computer and cleanly
    installing DWCS3, AIR, the extension, etc.
    The problems are centered on either selecting an existing
    certificate or trying to create a new one:
    1. Select an existing cert ~ selecting a previously-created
    certificate and entering in the *correct* password still results in
    a "could not load keystore file (password may be incorrect)" error.
    The cert is located one directory above the app folder, and it
    works fine via the command-line adt tool.
    2. Create a new cert, 1st attempt ~ attempting to create a
    new cert and selecting to place it in a central project folder
    within my home directory fails. I get an "unexpected failure:
    /scott/Documents/Projects/Optimac.pfx (No such file or directory)"
    error. Look closely at that path. The actual path I selected to
    save this cert to is
    "/Volumes/data/scott/Documents/Projects/Optimac.pfx." My disk is
    partitioned and my home folder is located on the "data" partition,
    whereas my operating system and applications are located at
    "/Volumes/os." (Mac OS X 10.5 enables locating your home directory
    on separate partitions, and I have not encountered any other
    problems with this configuration since Leopard was released, up
    until now.) It looks like Dreamweaver erroneously misconstrued my
    home directory as existing on root ("/"). So...
    3. Create new cert, 2nd attempt ~ if I create the new cert at
    root ("/"), that process completes successfully, but then if I
    select it and click "Create Air file" I get an "unable to create
    temp file in output directory" error.
    As is, I cannot create an AIR app in Dreamweaver.

  • Csa 6.0 problem with software deployment tool

    Hi Guys,
    I am having some problems with csa 6.0 and a software deployment tool called capainstaller, it resides on the client and picks up packages on some server shares and executes them from there, or copies it locally. We have added it to the class that defines mass software deployment like we did in 5.2, which works fine in 5.2, in 6.0 we are getting alot of applications getting put into @untrusted, for some reason. I can't figure out if i am supposed to make general exeptions for shares and local directories where the deployment tool reads its packages from ? In that case which classes should i modify, i am seeing alot of classification from the module called Security - Untrusted Content Classification, and this gives me alot of headaches.

    Well, the Mass Software Deployment class, is where you are supposed to put marimba, in 5.2 this was fine, and worked for most of the installations i have done. in 6.0 the big break came when i found out that you can't use UNC network paths in a file set, it just doesn't work. If you put it is a literal straight in the same field as the altiris and sms are in the built-in rules, that works, maybe your marimba agent is also part locally installed and part gotten from the network like ours is ?

  • Audio Problems with Air 2.0.2 in Linux

    We're seeing an issue which appears to be a bug in the Air 2.0.2 runtime for Linux.  When a video file plays [via VideoDisplay] the audio is heard but as soon as the video is finished, audio cuts out for the entire application.  We ran strace() and noticed Air opens the audio connection at the start of playback and closes it at the end, but will not re-engage audio for any other reason while the application is running.  This includes running different videos or even just playing sound effects.
    Has anyone seen this behavior where when a video is complete, the audio stops all together for the application?  We did not have this problem before Air or in Air 1.5, so I suspect this is a bug in the Air 2.0.2 runtime for Linux.

    Hi,
    I also tried playing 2 videos via VideoDisplay one after the other using the following code:
    <mx:VideoDisplay 
    id="video1" source="/assets/videos/vid1.flv" autoPlay="true" width="400" height="400" x="50" y="20" complete="video2.play()"/><mx:VideoDisplay 
    id="video2" source="/assets/videos/t.mov" autoPlay="false" width="400" height="400" x="550" y="20"/>
    For me, the audio plays fine for the both the videos on Ubuntu 9.10.
    Could you please provide the following information:
    1) The Linux distro you are on.
    2) The sound mixer you are using and its version(ALSA/pulseaudio).
    3) It would be really helpful if you could provide your application/part of source code where you are playing the videos.

  • Problem with AIR Bundled Distribution on Windows 7 (Error #5100)

    We've just finished an application and have set up the bundled distribution for the Installation of AIR and the Application. It works fine on Windows XP, Vista, and too on MAC OS X.
    On Windows 7 however, it doesn't install. It loads the installer, and gets to the stage to ask for user options (installation dir etc), and then after this when installing (both AIR and application) - somewhere, it dies with the following error (Error #5100)...
    Sorry, an error has occurred.
    And error occurred while uninstalling the application. Try uninstalling it again. If the problem persists, contact the application author.
    Any solutions to this? Thanks.

    Hi,
    Is it possible to get the application installer log?
    Moved discussion to the Installation Issues forum.
    Chris

  • Possibly graphic problem with air mid 2013

    Hi
    I bought in Miami the latest air,  I5, with 128gb and 4 gb of ram.
    one week ago i go a problem that id doesnt look good at all.
    everytime the screen is off and turns on the first image that i see for a second is the typicall image of the graphic cards when they have problems, or the connector.
    It is so fast that i cannot manage to take a snapshot.
    I upload one similar image that I found.
    my problem is i live in Malta (europe) and here the technical service is...where..i could say they never solv any problem.

    The display or the GPU are damaged. The only solution is to take the MacBook Air to an Apple Store or reseller, but if you think resellers are not good in Malta, you can call Apple > http://support.apple.com/kb/HE57

  • OIM 11G- Web Console- Problem with "Export Deployment Manager File"

    Experts,
    I am using gogle chrome browser on oim11g setup.
    I was able to Import/Export the objects using Import/Export Deployment Manager File.
    The reason why I opted for chrome is that I was unable to connect to login to the web console, it was just asking for userid and password and after some time, the browser(Internet Explorer 7) hangs on.
    And with FireFox 5.0.1, it is the same thing both import and export deployment manager file windows opens as soon as I click and they just close after 2-3 seconds.
    The problem now is after updating the java to "Version 6 Update 26 ", the Export Deployment Manager File stopped working. The window pop-ups and closes in 2 seconds.
    But Import Deployment Manager File is working fine with out any problems.
    The pop - up blocker is not enabled.
    And I am sure that it was working fine earlier with chrome before the java update.When I remove the updated java version, chrome is asking to download the latest java version.
    Any suggestions, that helps to work with chrome or firefox or IE?
    Edited by: Venu on Aug 11, 2011 4:46 PM
    Edited by: Venu on Aug 11, 2011 4:57 PM

    Venu,
    I have never had any luck getting anything after Version 6 update 23 to export properly. I would remove your updated Java and restore to a previous version of Java.
    Sunny Tsang

  • Problems with the deployment to Oracle Application Server 9.0.2

    I am having a problem to deploy a simple JSC application to Oracle Application Server 9.0.2.
    I am getting an error:
    500 Internal Server Error
    java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4020)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2218)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:585)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    However i don't have any problems to deploy my applications to new release of Oracle AS 10g (9.0.4).
    Unfortunately we still work with the old version (9.0.2)of the Oracle AS.
    Any help will be greatly appriciated
    Thanks
    Yuriy

    I try it but cant deploy in less than 10g.
    AFAIR is an JRE version issue.
    I lost at least 2 days trying.
    Regards.

  • Problems with CORBA deployed BC4J used by JSP app

    Hi JDev Team all is beginning to run
    , we are trying with EJB's but now we are turn to CORBA for close
    view, in a first look CORBA is more complicated than EJB's but
    the performance for EJB's is poor from our point of view, if you
    are interested in our tryings, more in a another message.
    But now in our very first probe with CORBA using the
    onlineOrders tuttorial as base, with the jars, classpaths and all
    the inner works in a ( as far we knows ) correct state, deployed
    and generated, when i try to navigate from de main.jsp (
    generated ) to, for example, CustomerView i get this error in the
    browser :
    Error Message: JBO-25008: Object SupplierView is referenced by
    SuppliedByLink. Cannot be removed
    Remember that for now we do not modify any code in the generated
    jsp's, and the tester runs OK on the deployed BC from
    onlineorders, deployed in a fresh schema created in the process
    and prepared like the tutorial says.
    We continue impressed and very very pleased in the process of
    learning JDdev 3.0 and your works :-)
    Regards, Nacho
    null

    Hi
    It is a bug discovered late but there is a workaround for this.
    The error lies in the following iine in
    oracle\DataWebBeanImpl.java am.getTransaction().reconnect(false);
    Commenting this line out solves the problem.
    Workaround Description:
    1.Extract jboHTMLsrc.zip to get
    oracle\jdeveloper\html\DataWebBeanImpl.java
    and comment out the line:
    am.getTransaction().reconnect(false);
    2. Add this file to your project or compile it and add the .class
    file to the classpath.
    regards
    raghu
    Ignacio Ortega (guest) wrote:
    : Hi JDev Team all is beginning to run
    : , we are trying with EJB's but now we are turn to CORBA for
    close
    : view, in a first look CORBA is more complicated than EJB's but
    : the performance for EJB's is poor from our point of view, if
    you
    : are interested in our tryings, more in a another message.
    : But now in our very first probe with CORBA using the
    : onlineOrders tuttorial as base, with the jars, classpaths and
    all
    : the inner works in a ( as far we knows ) correct state,
    deployed
    : and generated, when i try to navigate from de main.jsp (
    : generated ) to, for example, CustomerView i get this error in
    the
    : browser :
    : Error Message: JBO-25008: Object SupplierView is referenced by
    : SuppliedByLink. Cannot be removed
    : Remember that for now we do not modify any code in the
    generated
    : jsp's, and the tester runs OK on the deployed BC from
    : onlineorders, deployed in a fresh schema created in the process
    : and prepared like the tutorial says.
    : We continue impressed and very very pleased in the process of
    : learning JDdev 3.0 and your works :-)
    : Regards, Nacho
    null

Maybe you are looking for