Native process execution problem in mac os

hi,
     In my flex application i have to get mac serial  number as a unique id for each system . On searching i got one terminal command to get serial number. For that i have  run terminal command through flex native process. I have set supportedprofile as <supportedProfiles>extendedDesktop desktop</supportedProfiles> in app xml. But when i install and run application on mac terminal is getting opened but command is not executing. I couldn't trace out the problem.  I could execute cmd in windows and that worked . Please help me to findout a solution................... The test code is adding below
private var process:NativeProcess
=
new NativeProcess();
protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                // TODO Auto-generated method stub
                if(NativeProcess.isSupported) {
                    Alert.show("Yes NativeProcess");
                    process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutput);
                    process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, onIOError);
                    process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOError);
                    process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOError);
                    process.addEventListener(NativeProcessExitEvent.EXIT,onIOError);
                    var info:NativeProcessStartupInfo     =     new NativeProcessStartupInfo();
                    info.executable                               =     new File("/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal");
                     /*  var startupArgs:Vector.<String>    =     new Vector.<String>();
                         startupArgs[0]                              =    'system_profiler |grep "r (system)" '; 
                         info.arguments                              =    startupArgs;*/
                    //Alert.show(String(info.arguments.length));
                     process.start(info); 
                    process.standardInput.writeUTFBytes('system_profiler |grep "r (system)" '+ "\n");
                }else
                    Alert.show("No");
            protected function onIOError(event:IOErrorEvent):void
                // TODO Auto-generated method stub
                Alert.show("Error");
            protected function onOutput(event:ProgressEvent):void
                var processID:String            =    process.standardOutput.readMultiByte(process.standardOutput.bytesAvailable,"");       
                Alert.show("Path : " + processID );
I have tried to set arguments but didn't execute......
Message was edited by: aswathykrishnan

Hello Aswathy, these days I'm also coding an application which uses AIR NativeProcess and I required to open the MacOS terminal with some parameter/commands. I also eventually turn to the AppleScript, but I considerably new to the AppleScript, yet trying to findout a way to passing parameters (the command argument) to the AppleScript; the appleScript I managed to open but not passing the argument. Can you please help? here's my some probable codes for the application:
My appleScript is:
#!/bin/bash
on run argv
          tell application "Terminal"
                    set currentTab to (do script) & item 1 of argv
          end tell
end run
I've packaged the appleScript as an Application (Contract.app) and here's my Flex code:
var npInfo : NativeProcessStartupInfo = new NativeProcessStartupInfo();
npInfo.executable = new File( "/Applications/Contract.app/Contents/MacOS/applet" );
                              var arg:Vector.<String> = new Vector.<String>;
                                  arg[0]="ssh [email protected]";
                              npInfo.arguments = arg;
                              process = new NativeProcess();
  process.start( npInfo );
Can you please help?
Thank you.

Similar Messages

  • Execution of Java Native Process slow in Mac OS X

    Hi,
    I'm having some performance issues when executing an java native process on Mac OS X. I am developping an application in AIR that searches for people in the ldap of our organisation. It has to be usable both on Mac as on Windows. When I execute my app on windows, the search process takes about 2-3 seconds. However, when I try to execute it on mac, the search process takes about 6-8 seconds. This is a bit to long to make it usable.
    Has anybody encountered this problem as well and does anyone know what the problem can be?
    Thanks in advance
    Ronald Kamp
    Junior Flex/Java/LiveCycle Consultant at iDA MediaFoundry

    Hi Ronald,
    Have you tried benchmarking your java process without the inclusion of AIR?  If so, did you find a difference which points to AIR being a culprit for the performance hit?
    I'd be very interested in trying this out.  If you could provide me with a sample project that illustrates the slow down on Mac, I'll take a look right away.  Please feel free to contact me via private message on the forum or at [email protected] if you'd like to take this offline.
    Thanks,
    Chris

  • Problem with blocked native processes

    My application relies heavily on native processes so that I am trying to implement fallback strategies if a native process doesn't work as expected.
    While creating test scenarios I had a problem with handling errors caused directly by the start() method of the NativeProcess class. It throws errors if the target process can’t be accessed or is corrupted. For example if you take an exe file in Windows that works correctly and modify it in a hex editor to corrupt it the following error is thrown:
    Error: Error #3219: The NativeProcess could not be started. '%1 is not a valid Win32 application.'
          at flash.desktop::NativeProcess/internalStart()
          at flash.desktop::NativeProcess/start()
    If I try to put a try-catch block around the process.start() call something unexpected happens:
    The error is cought correctly, but another error is thrown instantly:
    Error: Error #1503: A script failed to exit after 30 seconds and was terminated.
          at mx.managers.layoutClasses::PriorityQueue/removeSmallest()[E:\dev\4.x\frameworks\projects\ framework\src\mx\managers\layoutClasses\PriorityQueue.as:238]
          at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\ src\mx\managers\LayoutManager.as:567]
          at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:730]
          at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
    The problem with this error is that I got no idea how to catch or prevent it. Depending on what I do in the catch block there is another error. For example if I try to log the error I get (but sometimes not as instantly as above):
    Error: Error #1503: A script failed to exit after 30 seconds and was terminated.
          at mx.logging::Log$/getLogger()[E:\dev\4.x\frameworks\projects\framework\src\mx\logging\Log. as:360]
    Strange is that the error is fired instantly sometimes not after 30 seconds.
    How can I fix this?

    In the first case I used a loader to load an error image. In the second case I tried something like:
    var logger:ILogger = Log.getLogger("Test");
    logger.error("NativeProcessError");
    I don't have the exact code at the moment, because I'm not on that computer.

  • Native Process Concerns on Linux and MAC

    I  have created an AIR application that has a feature to take screenshot  of the screen. I have used "senthil.jar" to support screenshot capture.
    http://sensaran.wordpress.com/2010/06/04/screen-shot-utility-using-air-2-0/
    http://code.google.com/p/dtflex/downloads/detail?name=ScreenShot.rar&can=2&q=#makechanges
    Native Process is created and used. I have also created native installers like -
    exe for windows
    dmg for MAC
    rpm for linux
    on  windows everything works fine.But on linux and MAC one NativeProcess  event is dispatched i.e. Event.ACTIVITY. No other event is dispatched.

    I haven't tested JWS before JRE 1.4 so I can't recommend you anything if you require JRE 1.3 or before, but if you can install JRE 1.4, specially JRE 1.4.2 or after, JWS works very good on Linux and Windows. In both platforms I use deploy applications using JWS and they all work very good. I have no experience on Mac OS X.
    Both platforms obviously require Java preinstalled. Also there is some ways to install Java automatically, this is something that must be done by an administrator as every other software that requieres installation and configuration on every PC. After that step, everything is very simple.
    On Linux if you click on a .jnlp file for the first time, at least mozilla ask if you want to save the file or open it, you can select the javaws executable inside your java installation as the program to open this file, mark that that's the action you always want to do with that kind of files, and that's all. Also you can manually register .jnlp files and application/x-java-jnlp-file mime tipe as handled by javaws as the last part of the java installation and this first step will not be necesary.
    On Windows the installer automatically register itself as insterested in handling jnlp files, so the previous step for linux is not required.
    Hope this helps.
    rivas.

  • Problem with AIR 2 Native Process?

    I had installed Adobe AIR 1 before and Flex Builder 3.0 (licensed) on a Windows Vista machine. Now i have installed AIR 2 framework (without uninstalling AIR 1, assuming that it will update that). I m trying to write a small code to use AIR 2 Native Process functionality but AIR is not recognizing Native Process classes/objects. Even i have tried a sample code from Adobe Developers Center article http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_native_process.html but no way.
    Please let me know wat is wrong? How i can use AIR 2 new features? How to upgrade to AIR 2?
    Looking forward for an earliest response.
    Thanks
    Asad Ijaz

    Thanks romil!
    I have installed AIR 2 but without uninstalling AIR 1. Should i uninstall AIR 1 before i install AIR 2?
    Regard,
    Asad Ijaz

  • HT4796 Migration process Setup problem on new MAC

    I just bought a MacBook Pro today and started the migration process as part of the setup and my PC suddenly shut down during the transfer process. Now the MAC seems hung on the Transferring Your Information screen and won't move.  How do I clear and start again?

    Would love to tell you never used that option. I guess it depends how much stuff you got on your old PC..

  • Creating native processes

    Hi,
    Runing SuSE Linux 8.0, java 1.4.0
    I'm trying to create a native shell (I/O dumped into a JTextArea) woith java, the problem is that once I have invoked bash, it somehow manages to work out that its not running in a real console and behaves as if my input was a script. I managed to get bash working properly with command line args, but now when I want to start other interpreters on top of it they too seem to detect they are not in a proper tty.
    Is there a way to make native processes behave as if they were run from, say, an xterm?
    my code follows:
    file tests/ConsoleOnSteroids.java
    /* File:    ConsoleOnSteroids.java
    * created: 10/07/03
    * author:  dsm
    package tests;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.PrintStream;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    *  Defines a console that handles a native process
    * @author    dsm
    public class ConsoleOnSteroids extends JFrame {
        private ThreadedStreamReader out;
        private ThreadedStreamReader err;
        private PrintStream inp;
        private String processName;
        private JTextArea jta;
        private IOControl ioc;
        private JScrollPane jsp;
         *  Constructor for the ConsoleOnSteroids object
         * @param  name         The name of the frame
         * @param  processName  The name of the process to execute (like /bin/bash in UN*X systems)
        public ConsoleOnSteroids(String name, String processName) {
            super(name);
            this.processName = processName;
            this.jsp = new JScrollPane();
            this.jta = new JTextArea();
            try {
                this.ioc = new IOControl(Runtime.getRuntime().exec(this.processName));
                this.out = new ThreadedStreamReader(this.ioc.getStdout(), this.jta,
                    this.processName + ":stdout");
                this.err = new ThreadedStreamReader(this.ioc.getStderr(), this.jta,
                    this.processName + ":stderr");
                this.inp = this.ioc.getStdin();
            } catch(IOException ioe) {
                System.err.println("The process " + this.processName
                     + "could not be started due to an IOException:");
                ioe.printStackTrace();
                System.exit(1);
            this.jta.setEditable(false);
            this.jsp.setViewportView(jta);
            this.addListeners();
            this.getContentPane().add(jsp);
            //this.pack();
            this.setSize(600, 500);
            this.setLocation(100, 100);
            this.setVisible(true);
            this.out.start();
            this.err.start();
            //this.inp.println("ps -A");
            //this.inp.flush();
         *  The main program for the ConsoleOnSteroids class
         * @param  args  The command line arguments
        public static void main(String[] args) {
            ConsoleOnSteroids cos  = new ConsoleOnSteroids("Bash", "/bin/bash --login --noediting -i");
         *  Adds necessary Listeners to the ConsoleOnSteroids object
        private void addListeners() {
            /* Window Listener... what happens when the window is closed */
            this.addWindowListener(
                new java.awt.event.WindowAdapter() {
                    public void windowClosing(java.awt.event.WindowEvent evt) {
                        System.exit(0);
            this.jta.addKeyListener(
                new java.awt.event.KeyAdapter() {
                    public void keyTyped(java.awt.event.KeyEvent evt) {
                        textBoxKeyTyped(evt);
         *  Handles the typing of stuff in the text area
         * @param  evt  Description of Parameter
        private void textBoxKeyTyped(java.awt.event.KeyEvent evt) {
            jta.append(new String(new char[]{evt.getKeyChar()}));
            inp.print(evt.getKeyChar());
            inp.flush();
         *  This private class takes a BufferedReader and a JEditorPane as parameters for the
         *  constructor, and every time a line is avaliable on the reader, it appends it to the pane.
         * @author    dsm
        private class ThreadedStreamReader extends Thread {
            private BufferedReader reader;
            private JTextArea pane;
             *  Constructor for the ThreadedStreamReader object
             * @param  reader  The reader to take input from
             * @param  pane    The pane to dump the input in
             * @param  name    The name of the thread
            public ThreadedStreamReader(BufferedReader reader, JTextArea pane, String name) {
                this.reader = reader;
                this.pane = pane;
                this.setName(name);
             *  Main processing method for the ThreadedStreamReader object
            public void run() {
                while(ioc.isAlive()) {
                    try {
                        char c;
                        int i;
                        if((i = reader.read()) != -1) {
                            c = (char) i;
                            pane.append("" + c);
                    } catch(IOException ioe) {
                        System.err.println("Cannot read from " + this.getName() +
                            " because of an IOException:");
                        ioe.printStackTrace();
                        System.exit(2);
                System.exit(0);
    }file tests/IOControl.java
    /* File:    IOControl.java
    * created: 10/07/03
    * author:  dsm
    package tests;
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.PrintStream;
    *  Controls the I/O for a process. When using the std[in|out|err] streams, they must all be put on
    *  different threads to avoid blocking!
    * @author    dsm
    public class IOControl extends Object {
        private Process process;
        private BufferedReader stdout;
        private BufferedReader stderr;
        private PrintStream stdin;
        private boolean alive;
         *  Constructor for the IOControl object
         * @param  process  The process to control I/O for
        public IOControl(Process process) {
            this.process = process;
            final Process p  = process;
            new Thread(
                new Runnable() {
                    public void run() {
                        alive = true;  // set the adequate flag for the process
                        try {
                            p.waitFor();  // wait for process to end interfacethis thread
                        } catch(InterruptedException ie) {
                            System.err.println("An error ocurred during the execution of the process");
                            ie.printStackTrace();
                        } finally {
                            alive = false;  // the process has ended
                }).start();
            this.stdin = new PrintStream(process.getOutputStream());
            this.stdout = new BufferedReader(new InputStreamReader(process.getInputStream()));
            this.stderr = new BufferedReader(new InputStreamReader(process.getErrorStream()));
         *  Gets the stdin attribute of the IOControl object
         * @return    The stdin value
        public PrintStream getStdin() {
            return this.stdin;
         *  Gets the stdout attribute of the IOControl object
         * @return    The stdout value
        public BufferedReader getStdout() {
            return this.stdout;
         *  Gets the stderr attribute of the IOControl object
         * @return    The stderr value
        public BufferedReader getStderr() {
            return this.stderr;
         *  Gets the process attribute of the IOControl object
         * @return    The process value
        public Process getProcess() {
            return this.process;
         *  Gets the alive attribute of the IOControl object
         * @return    The alive value
        public boolean isAlive() {
            return alive;
    }thanks,
    dave.

    anyone?

  • Same Problem - Different Scenario: Encountering Problems running Mac OS X c

    Same Problem - Different Scenario: Encountering Problems running Mac OS X commands.
    Hi. I'm having a weird experience on opening document using
    the Microsoft word 2008 application in MAC OS X.
    To be specific on what is the scope of my application.
    What I'm trying to do is run or simulate my application on appletviewer on a certain pop-up HTML
    document. The first part of my statement block on my code doing well on
    executing the downloading process of a file and save it on local machine.
    This portion of works fine.
    But the thing that I'm having some difficulties is
    whenever i Re-opened the downloaded file from my local machine
    that is being downloaded from my server.
    I'm trying to established a checking or triggering pattern that the
    file from my local machine was modified or not.
    doing this execution I'm using the following code below to figure it out:
    java code:
    portion of calling the trigger part
    if((nMacEditMode = editFileViaMac(clientFile)) == 1)
    baseApplet.addMsg("Opened and edited file on local machine ...");
    else
    if(nMacEditMode == 3)
    baseApplet.addMsg("Opening and editing of file on local machine failed! Try again!!");
    else
    baseApplet.addMsg("No changes made. Server file unchanged! You may close this window.");
    portion of the runtime execution of opening the file via MAC OS X
    public int editFileViaMac(String wordFileName)
    try
    String cFile = wordFileName.trim().replaceAll(" ", "\\ ");
    wordPath = wordPath.trim().replaceAll(" ", "\\ ");
    Process wordProcess =null;
    Date startTime;
    Date endTime;
    File wordFile = new File(cFile);
    startTime = new Date(wordFile.lastModified());
    String[] myCommand = { "open", "-a", wordPath, wordFile.getAbsolutePath(), "-W" };
    wordProcess = Runtime.getRuntime().exec(myCommand);
    wordProcess.waitFor();
    endTime = new Date(wordFile.lastModified());
    if (startTime.before(endTime))
    return 1;
    return 2;
    catch(Exception ex)
    baseApplet.addMsg("Method Error : editFileViaMac() - "+ex.getMessage());
    ex.printStackTrace();
    return 3;
    Now the weird things happen here.
    The file was able to opened- as I wanted to, but when a made changes or not doing anything.
    The Microsoft Word 2008 application on the MAC Activity Monitor. The instance was still alive or
    keep running and I execute MAC commands being implement on the Process on the Terminal and it still
    stuck in that thing. which means I have to manually kill the process of the said application on
    the GUI part of Task Manager of MAC and my 2nd statement on the if replies.
    Any thoughts will glady appreciated.

    Please ensure new topics are posted in an appropriate forum. I have moved this thread from "news & updates" but in future posts made there in error will be deleted.
    Edited by: dcminter on 19-Aug-2009 13:13

  • Problem description: mac mail not opening, software updates not working, app store not opening. imac osx 10.9.5

    Problem description:
    mac mail not opening, software updates not working, app store not opening. 10.9.5
    EtreCheck version: 2.0.11 (98)
    Report generated 1 December 2014 16:51:49 CET
    Hardware Information: ℹ️
      iMac (21.5-inch, Late 2009) (Verified)
      iMac - model: iMac10,1
      1 3.06 GHz Intel Core 2 Duo CPU: 2-core
      12 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1067 MHz ok
      BANK 0/DIMM1
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM1
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 9400 - VRAM: 256 MB
      iMac 1920 x 1080
      BenQ GL2240 1920 x 1080 @ 60 Hz
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 1:32:17
    Disk Information: ℹ️
      WDC WD5000AAKS-40V2B0 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (164.03 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GA11N 
    USB Information: ℹ️
      EPSON EPSON Epson Stylus S22 Series
      Canon MX410 series
      ASMedia AS2105 1 TB
      S.M.A.R.T. Status: Verified
      EFI (disk3s1) <not mounted> : 210 MB
      Backup (disk3s2) /Volumes/Backup : 999.86 GB (506.24 GB free)
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader 7.95 GB
      S.M.A.R.T. Status: Verified
      EOS_DIGITAL (disk1s1) /Volumes/EOS_DIGITAL : 7.94 GB (7.83 GB free)
      Western Digital My Book 1140 2 TB
      S.M.A.R.T. Status: Verified
      EFI (disk2s1) <not mounted> : 210 MB
      2TB (disk2s2) /Volumes/2TB : 2.00 TB (1.50 TB free)
      Wacom Co.,Ltd. CTE-450
      Contour Design ShuttlePRO v2
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Parallels Desktop.app
      [not loaded] com.parallels.kext.hidhook (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.hypervisor (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.netbridge (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.usbconnect (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.vnic (9.0 24217.979618) Support
      /Applications/Toast 10 Titanium/Toast Titanium.app
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      /Library/Extensions
      [loaded] at.obdev.nke.LittleSnitch (4052 - SDK 10.8) Support
      [not loaded] xxx.qnation.PeerGuardian (1.1.9) Support
      /System/Library/Extensions
      [not loaded] com.FTDI.driver.FTDIUSBSerialDriver (2.2.18 - SDK 10.6) Support
      [not loaded] com.pctools.iantivirus.kfs (1.0.1) Support
      /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
      [not loaded] com.roxio.TDIXController (2.0) Support
    Startup Items: ℹ️
      ParallelsDesktopTransporter: Path: /Library/StartupItems/ParallelsDesktopTransporter
      WkSvMacX: Path: /Library/StartupItems/WkSvMacX
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [running] at.obdev.LittleSnitchUIAgent.plist Support
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.CS4ServiceManager.plist Support
      [running] com.epson.epw.agent.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
    Launch Daemons: ℹ️
      [running] at.obdev.littlesnitchd.plist Support
      [failed] com.adobe.fpsaud.plist Support
      [loaded] com.adobe.versioncueCS4.plist Support
      [loaded] com.barebones.textwrangler.plist Support
      [running] com.cleverfiles.cfbackd.plist Support
      [not loaded] com.gopro.stereomodestatus.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [invalid?] com.tvmobili.tvmobilisvcd.plist Support
      [loaded] fi.polar.libpolar.plist Support
      [running] fi.polar.polard.plist Support
      [failed] xxx.qnation.PeerGuardian.kextload.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.macpaw.CleanMyMac.helperTool.plist Support
      [loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist Support
      [running] com.macpaw.CleanMyMac.volumeWatcher.plist Support
      [invalid?] com.plexapp.helper.plist Support
      [not loaded] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      Garmin Express Service Application (/Applications/Garmin Express.app/Contents/Library/LoginItems/Garmin Express Service.app)
      SmartDaemon Application (/Library/Application Support/CleverFiles/SmartDaemon.app)
      SilverKeeper Scheduler ApplicationHidden (/Applications/SilverKeeper.app/Contents/Resources/SilverKeeper Scheduler.app)
      Dropbox Application (/Applications/Dropbox.app)
      Garmin ANT Agent UNKNOWN (missing value)
    Internet Plug-ins: ℹ️
      DirectorShockwave: Version: 11.5.7r609 Support
      Google Earth Web Plug-in: Version: 6.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      PandoWebInst: Version: 1.0 Support
      AdobePDFViewerNPAPI: Version: 10.1.12 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      DivXBrowserPlugin: Version: 2.0 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.239
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.0.0 Support
      AdobePDFViewer: Version: 10.1.12 Support
      GarminGpsControl: Version: 4.2.0.0 - SDK 10.8 Support
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
      fbplugin_1_0_3: Version: (null) Support
    Safari Extensions: ℹ️
      Open in Internet Explorer
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
      Adobe Version Cue CS4  Support
      DivX  Support
      Flash Player  Support
      Flip4Mac WMV  Support
      GoPro  Support
      Growl  Support
      Java  Support
      MacFUSE  Support
      MenuMeters  Support
      Perian  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: NO - Auto backup turned off
      Destinations:
      Back Up [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Excellent
      Backup size 0 B > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
          12% Google Chrome
          12% WindowServer
          4% Dock
          2% Little Snitch Agent
          2% SystemUIServer
    Top Processes by Memory: ℹ️
      399 MB iTunes
      322 MB mds_stores
      216 MB Google Chrome Helper
      193 MB Google Chrome
      155 MB com.apple.IconServicesAgent
    Virtual Memory Information: ℹ️
      6.64 GB Free RAM
      3.51 GB Active RAM
      1.36 GB Inactive RAM
      1.11 GB Wired RAM
      1.91 GB Page-ins
      0 B Page-outs

      [not loaded] com.pctools.iantivirus.kfs (1.0.1) Support
    Un-install according to the developer's un-install instructions.
    You do not need to use cleaning programs. They can destroy your computer operation as they may already have done.
    CleanMyMac - Uninstall
    CleanMyMac2 Un-install
    After un-installing, run this program to make sure you got all the pieces.
    EasyFind – Spotlight Replacement
    Do a backup.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.appstore.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • AD account Login problem with MAC 10.6.8

    Hi All,
    We have around 50 odd MAC that are connected to windows server 2008 R2. the user were logining in to these MACs using their AD account. Recently few of the random MAC did not allow the user to login using their AD account.When analyzed though the MAC shows that it has connected to the Domain and the server is active with green button it has unbind itself from the server.I had to login in as local user bind the MAC back to get this resolved.
    Now the same has started happeneing for most of the MAC that we have and every morning I have login as local Admin and unbind / bind the MAC with the server. this gets reset once the user reboots or shutsdown.
    Have tried with few of the below solution but nothing helped:
    Solution 1:
    <key>mdns_timeout</key>
    <integer>2</integer>
    The integer value is in seconds; changing it to at least 5 should allow the Mac OS X client to reconnect to the Active Directory domain after a network interruption. In some configurations, a larger timeout value may be required.
    You can change this value by using the sudo command and a text editor to edit the preference file directly. Or you can use the Terminal command below, making sure to enter it all on a single line:
    sudo /usr/libexec/PlistBuddy -c 'Set :mdns_timeout 5' /System/Library/SystemConfiguration/IPMonitor.bundle/Contents/Info.plist
    Solution 2:
    I have seen all of the probable solutions and tried everything and still I am getting issues with 10.6.6 and after rebooting the Mac gets unbind. Or the Mac gets Network Accounts Available even when not accessing the list of users from AD. But the thing that I have done that has solved all my issues with AD on the Macs is to uncheck the box to search on all domains. For some reason I am seeing that when the Macs have this option checked, it searches through out the forest on the same domain controller more than once, so AD stops the handshaking of the authentication.
    I hope this helps like it did on our Network, since then I have not seen the Macs lose the binding or slow SMB.
    If you've tried this please let us know.
    TIP: Uncheck Allow Authentication from any domain for Mac AD problems
    Wednesday, April 20, 2011
    Steven Wells sent a fix and an explanation of problems with Macs losing their binding to Active Diretory:
    Unchecking "Allow authentication from any domain in the forest" is working at our college. We have been beating our heads on this for about 2 terms, with no understanding of why it works in some places and not in others. When we found this working, our IT guy said that the Security SID is being duplicated, when it looks in other domain forest, and that is what is causing the problem. This is the first time I have found an explanation for the problem.
    If you've tried this approach please let us know.
    Solution 3:
    Solved it. Create a file in Textedit with the name 'auto_master' (no file extension) with the following contents:
    # Automounter master map
    +auto_master # Use directory service
    /net -hosts -nobrowse,hidefromfinder,nosuid
    /home auto_home -nobrowse,hidefromfinder
    #/Network/Servers -fstab
    /- -static
    Place this in /etc/ folder
    Hope this helps
    solution 4:
    TIP: a Kerberos fix for OS X 10.5 and 10.6 binding to Active directory
    Friday, November 11, 2011
    Mehdi Mafi forwarded a fix he found for problems with Leopard and Snow Leopard binding to Active Directory:
    This was taken from Dane Riley's imaging building for DeployStudio.
    With Mac OS X Leopard every Mac is now running a KDC (Kerberos Distribution Center). Basically each imaged machine is using the same security certificate and hash. Deploying a single image will deploy the same KDC to every system. This [Apple] article covers how to reset the local KDC so that each system is unique. Basically, do the following:
    Launch Keychain Access
    Search for com.apple.kerberos.kdc and delete all 3 items
    Using Terminal type sudo rm -fr /var/db/krb5kdc
    After deployment, perhaps using Apple Remote Desktop to all systems, re- establish the KDC by typing sudo /usr/libexec/configureLocalKDC
    If you've tried this approach with Mac OS X 10.5, 10.6, or even Lion, please let us know. .
    TIP: More on a kerberos fix for AD binding problems
    Monday, November 14, 2011
    Mehdi Mafi updated his Friday report about Mac OS X 10.6 problems binding to Active Directory:
    You may want to add this. If the Mac keeps unbinding from AD (people can't log in to a Mac), here is how to fix it:
    Unbind it from Domain
    Launch Keychain Access
    Search for com.apple.kerberos.kdc and delete all 3 items
    Using Terminal type sudo rm -fr /var/db/krb5kdc
    Re-establish the KDC by typing sudo /usr/libexec/configureLocalKDC
    Bind it to domain again ( When you bind, uncheck allow authentication from any domain in the forest in: Directory Utilitiy-> Advanced Options\Administrative ) this fix the issue that sometimes it can' find AD under search space.
    If you tried this please let us know.
    Solution 5:
    For Snow Leopard AD login issues, use upper case domain
    Solution 6: for .local
    To create this StartupItem, create the following directory as root:
    /Library/StartupItems/FixADAuth
    Then chown it to root:wheel and chmod it to 755. These must also be the owner/permissions on the two files it will contain, below:
    Contents of our /Library/StartupItems/FixADAuth/FixADAuth:
    #!/bin/bash
    . /etc/rc.common
    date > /var/log/FixADAuth.log
    n=0
    AuthSuccess=0
    while [ $AuthSuccess != 1 ]
    do
    id Administrator && AuthSuccess=1 || networksetup -setsearchdomains Ethernet "Empty"; networksetup -setsearchdomains Ethernet middlewich.local; n=$(($n+1))
    done
    echo Authentication successful: $AuthSuccess >> /var/log/FixADAuth.log echo Operation count: $n >> /var/log/FixADAuth.log
    date >> /var/log/FixADAuth.log
    Contents of our /Library/StartupItems/FixADAuth/StartupParameters.plist:
    Description = "Fixes Active Directory authentication issue";
    Uses = ("Disks");
    Obviously you'll need to change "middlewich.local" to your own domain name (and the network interface name if your connection is wireless). The script checks to see if it can see the user "Administrator" on the domain, as he's a fairly common bloke, but if you've renamed yours for security reasons then pick another one. I've also included some logging functionality for debug purposes, so you can verify how well the script is working if you need to and time it in your environment before telling the users how long to wait. The /var/log/FixADAuth.log file will contain the date/time the process started, the success variable set to 1 (just to verify), how many DNS operations were required to fix the problem, and the date/time it ended. For us the time difference is normally about +30-40 seconds with around 120-180 operations taking place. Once you're happy with the script, you can strip it down to its bare functionality if you like, like so for us:
    #!/bin/bash
    . /etc/rc.common
    AuthSuccess=0
    while [ $AuthSuccess != 1 ]
    do
    id Administrator && AuthSuccess=1 || networksetup -setsearchdomains Ethernet "Empty"; networksetup -setsearchdomains Ethernet middlewich.local
    done
    I hope this helps someone!
    Regards

    You are welcome.
    But the question is 10.6 mac  just like 10.6.8  , as long  as its the same and works.
    Yes. You can save some updates by using the combo update.
    10.6.8 Combo Updater

  • Process execution engine execution error. from the latest HF in BPM Ent.

    Hi All,
    After applying the latest hotfix, I'm now getting this error when trying to launch any of the application.
    My setup is AquaLogic BPM Enterprise 6.0.4 for Weblogic.
    I've tried redeploying all the deployments within Weblogic and also the Admin Center. Nothing has worked.
    Any idea what's causing this?
    Process execution engine execution error.
    Caused by: fuego.io.ObjectSerialization.customWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;Ljava/lang/Class;)V
    fuego.papi.impl.EngineExecutionException: Process execution engine execution error.
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:158)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
    at $Proxy154.runGlobalActivity(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
    at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
    at fuego.web.papi.TaskExecutor.runApplicationTask(TaskExecutor.java:349)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:95)
    at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:228)
    at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:219)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3368)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.lang.NoSuchMethodError: fuego.io.ObjectSerialization.customWriteObject(Ljava/lang/Object;Ljava/io/ObjectOutputStream;Ljava/lang/Class;)V
    at BT_QW.MyProcess.Default_1_0.Instance.writeObject(Instance.xcdl)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
    at fuego.server.ProcInst.getComponentData(ProcInst.java:780)
    at fuego.server.ProcInst.mustStoreComponent(ProcInst.java:2793)
    at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.createInstance(JdbcProcessInstancePersMgr.java:1018)
    at fuego.server.persistence.Persistence.createProcessInstance(Persistence.java:669)
    at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1810)
    at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1109)
    at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
    at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:685)
    at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:368)
    at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2708)
    at fuego.ejbengine.EJBProcessControlAdapter.runGlobalActivity(EJBProcessControlAdapter.java:1036)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl.runGlobalActivity(EJBProcessControl_1zamnl_EOImpl.java:3450)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
    at fuego.ejbengine.EJBProcessControl_1zamnl_EOImpl_1000_WLStub.runGlobalActivity(Unknown Source)
    at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runGlobalActivity(EJBProcessControlInterfaceWrapper.java:2033)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
    ... 39 more

    I ended up rebuilding my ALBPMDir and ALBPMEngine schemas and WebLogic server domains from scratch. When executing the process that was giving me a headache, all of a sudden I got the following error:
    fuego.server.exception.MaxInstanceSizeRuntimeException: Max instance size exceeded.
    Current size is 16538, whereas the maximum size is 16384. This occurs with instance '
    Anyway, the sizes were not terribly far off, but I doubled the process instance size from 16k to 32k and the error went away.
    Something to try on your end, perhaps.
    Chris

  • Native signing not supported on mac!!

    To sign both the installer and its executable we're using Thawte and Comodo certificates. For MacOS we've Thawte and Apple. This following command builds a proper signed installer version (along with its executable .exe) with the combination of both the certificates, in Windows:
    adt -package -storetype pkcs12 -keystore myCert.pfx -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi
    (http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html)
    When running the same command to compile a .dmg file - ADT reported an error:
    Native signing not supported on mac
    I'm not sure if the adt doesn't has the ability to do such process in MacOS unlike Windows! Any idea?

    Hello Ken,
    Thanks for commenting. But that 'solution' already tested and its found not true with recent AIR SDK version.
    If you do this:
    adt -package -storetype pkcs12 -keystore myCert.pfx -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi -target native
    You'll have compiler error:
    "-storetype already specified", and you can see why in the command
    If you do this:
    adt -package -storetype pkcs12 -keystore myCert.pfx native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi -target
    You'll again have compiler error:
    "not enough argument"
    I don't think this have a fix yet.
    I lodged a bug at: https://bugbase.adobe.com/index.cfm?event=bug&id=3655573

  • Conversion Error: I/O error while communicating with native process

    Hi,
    I am trying to use Oracle Outside In Technology Image Export for conversion of images. I am trying to run the example ExportTest that comes with the downloaded SDK.
    I get the below error while running the ExportTest example.
    Conversion Error: I/O error while communicating with native process .
    Am I missing any settings?
    Please guide to the right forum if this is not the one for posting queries on Oracle Outside In Technology Image Export.
    Thank you.

    Hi Revanth,
    I am using Image Export 8.3.7 and I am trying to run the java class "ExportTest" that is in the location sdk\samplecode\ExJava\Examples\ExportTest\src of the download.
    My input folder has one jpg - puzzle.jpg (this is just a simple jpg), I am trying to convert it to TIFF. ExportTest.java uses the classes in Export.jar . Export.jar is located in the sdk\samplecode\ExJava\Examples\ExportTest . You can see source files of the Export.jar at location sdk\samplecode\ExJava\Java API\src of the download. I am running the 'ExportTest' by providing the arguments (input folder, output folder and ix.cfg - this file comes with the download). So now when I run this class I was getting the error I mentioned in this post. Inorder to find more details about the error I modified the 'Export.java' (at sdk\samplecode\ExJava\Java API\src\com\outsideinsdk) just to printStackTrace when the exception occurs and rebuilt the 'Export.jar' and ran the 'ExportTest.java'.
    And below is the stack trace that I got :
    java.io.IOException: CreateProcess: nullexporter.exe "inputpath_u=AGkAbgBwAHUAdA
    BcAHAAdQB6AHoAbABlAC4ASgBQAEc=" "outputpath_u=AG8AdQBwAHUAdABcAHAAdQB6AHoAbABlAC
    4ASgBQAEcALgBUAEkARgBG" "outputid=FI_TIFF" "fallbackformat=FI_TEXT" "tiffcolorsp
    ace=24BitRGB" "preferoitrendering=false" "tiffcompression=Packbits" "mapbuffersi
    ze=8192" "defaultprintfontheight=20" "graphicwidthlimit=0" "reordermethod=off" "
    unmappablechar=0x002A" "timezone=0" "graphicheightlimit=0" "defaultmarginleft=14
    40" "ssshowheadings=false" "quickthumbnail=false" "graphicoutputdpi=0" "ssdirect
    ion=AcrossandDown" "defaultmarginbottom=1440" "ssshowgridlines=false" "dbshowhea
    dings=false" "readbuffersize=2" "whattoexport=all" "graphicsizelimit=0" "imagewa
    termarkopacity=0" "blue=-1" "handlenewfileinfo=no" "outputid=FI_TIFF" "lzwcompre
    ssion=enabled" "usedocpagesettings=true" "defaultmarginright=1440" "numberofstat
    callbacks=0" "dbfittopage=NoScaling" "tempbuffersize=2048" "pdffilterreorderbidi
    =no" "imagecropping=nocropping" "defaultmargintop=1440" "documentmemorymode=larg
    e" "m?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at com.outsideinsdk.Export.convert(Export.java:262)
    at com.outsideinsdk.ExportTest.convert(ExportTest.java:142)
    at com.outsideinsdk.ExportTest.main(ExportTest.java:214)
    hope this helps to find the problem.
    Thank you

  • Native Process works OK in FlashBuilder 4.6 'run' but won't export build

    Hi,
    I have a small application that uses the 'native process' feature to invoke Image Magick to process an image file. My environment is Widows 7/64 bit.
    The application runs perfectly within FlashBuilder 4.6 using the 'run' facility and with 'supported profiles' set to 'extendedDesktop' in the -app.xml file.
    But when I try to export-build it, I get an error message (306) listing the supported profiles but extendedDesktop is not one of them.
    I have also tried to package this using the native Flex 4.6 SDK but the same error occurs.
    If I add 'desktop' to the supported profiles, the application will export build, and then allows the creation of the exe from the air file.
    But the exe will not run and just 'hangs' once you get to the point where the native proessing is invoked.
    The native process documentation says that extendedDesktop is required so the application using 'desktop' perhaps understandably 'hangs'.
    Any assistance with this will be most appreciated.

    OK, found the problem - I need to export-build the app as 'signed native installer' not 'signed AIR package'.
    Thanks to the answer to a similar problem in this forum from 2010.

  • Launch App with Native Process

    Hi,
    I want to launch serproxy application (http://www.lspace.nildram.co.uk/freeware.html) using native process in adobe air. But it seems not working.
    Here is my code:
    protected function launchSerproxy():void{
        if(NativeProcess.isSupported){
         var serproxy:File = File.applicationDirectory;
         serproxy = serproxy.resolvePath("serproxy/serproxy.exe");
         var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
         nativeProcessStartupInfo.executable = serproxy;
         var process:NativeProcess = new NativeProcess();
         process.start(nativeProcessStartupInfo);
         // connect to the com port
         setTimeout(connect,1500,"127.0.0.1",5339);
    Flex did not return any error or problem on runtime. What should I do to have Adobe Air load and run serproxy? Thanks.

    I think you just missing the working directory.
    "nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;"

Maybe you are looking for

  • How to download pdf from application server

    hi all, anybody has code to download pdf from application server to presentation server. right now i get the pdf file on to the desktop but i get error on opening. gui_download gives error if i use xstring. pl advice. thanks. sap fan.

  • After a pc crash I keep getting a message the iPad is synced to another iTunes library

    MY pc crashed and has had to be wiped clean and I lost everything. I have now reinstalled the iTunes and loged in with my only iTunes account, but when I plug in both my iPad and iPhone I get the MSG " the ipd/iPhone is synced with another iTunes lib

  • MS Word to FrameMaker

    Hi Everyone, We import a lot of documents from Word to our FrameMaker book templates. We have text, tables, and graphics. I've tried using Frame's "Import Text Flow by Copy"  with "Reformat Using Current Document's Formats" and removing manual page b

  • How to add a Z program in transaction F110

    Hi friends,                from Tcode F110 we can get the payment proposal, now i want to add a my own Z program where the payment proposal report is displayed. I am adding a Z report because in standard report G/L account No is missing.             

  • Can't remote connect to sql server

    I have SQL Sever 2008 R2 on the cluster environment cluster server name is A Cluster Node 1 name is A1 (current active one) Cluster Node2 name is A2 SQL Server name is Ab, default instance, tcp/ip port 1433 I am not able to remote connect to the serv