Automic Community

Expand all | Collapse all

Application manager 9.3.1 on MAC

Jump to Best Answer
  • 1.  Application manager 9.3.1 on MAC

    Posted 11-15-2019 01:48 PM
    Hi All,

    Appworx on Mac. Getting below error while running the RunClient.jar.

    Javaw is only distributed to windows OS, not for Linux or Mac.

    AW_HOME: /Users/a212436458/Downloads/Client

    JAVA_HOME: /Users/a212436458/Downloads/jdk-11.0.5.jdk/Contents/Home

    "/Users/a212436458/Downloads/jdk-11.0.5.jdk/Contents/Home/bin/javaw" -cp ".;./jars/*" -Dappworx.debug=false -DAW_HOME="/Users/a212436458/Downloads/Client"  com.appworx.client.screen.main.AxMain

    java.io.IOException: Cannot run program ""/Users/a212436458/Downloads/jdk-11.0.5.jdk/Contents/Home/bin/javaw"": error=2, No such file or directory

                    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

                    at java.lang.Runtime.exec(Runtime.java:620)

                    at java.lang.Runtime.exec(Runtime.java:450)

                    at java.lang.Runtime.exec(Runtime.java:347)

                    at com.appworx.client.local.RunClient.main(RunClient.java:48)

    Caused by: java.io.IOException: error=2, No such file or directory

                    at java.lang.UNIXProcess.forkAndExec(Native Method)

                    at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)

                    at java.lang.ProcessImpl.start(ProcessImpl.java:134)

                    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

                    ... 4 more

    End RunClient

    could you please let me know how to setup the client on MAC for AM 9.3.1.

    -Raja



    ------------------------------
    Senior Consultant
    Capgemini
    ------------------------------


  • 2.  RE: Application manager 9.3.1 on MAC

    Posted 06-15-2020 06:03 PM
    Edited by Coleman 06-16-2020 08:00 AM
    You've probably figured this out by now, but I just figured out I can bypass the RunClient.jar by running something like the following:

    UC4Client.sh:

    export JAVA_HOME=/path/to/java/home
    export RUNDIR=/Applications/Directory

    $JAVA_HOME/bin/java -cp ".:./jars/*" -Dappworx.debug=true -DAW_HOME="$RUNDIR/Client" -Xmx256m com.appworx.client.screen.main.AxMain





  • 3.  RE: Application manager 9.3.1 on MAC

    Posted 06-16-2020 09:01 AM
    Thank you Paul for the information.

    I was wondering if you run that UC4Client.sh script on your MAC, or on some Linux host?

    I tried to get this working on Linux, but could not get it to work.  I think you can run a script on the MAC, but I never tried that.
    Plus I don't have a MAC, I would have to get someone to try it out for me.

    Thank you for the help.


    Rich



  • 4.  RE: Application manager 9.3.1 on MAC

    Posted 06-16-2020 09:17 AM
    Yes. On a Mac. To be clear, I've gotten it to actually launch UC4, but am now having trouble connecting because of SSL Handshake issues. So I'm not out of the woods yet.

    You need to update all paths in that script as well (I tried to make it generic).

    I'll update when I get through the SSL errors I get when I try and log in.


  • 5.  RE: Application manager 9.3.1 on MAC

    Posted 06-16-2020 09:37 AM
    Thank you Paul.   This is where I failed on getting it to work on Linux.    I kept getting the SSL HandShake error, and it would fail.
    On Windows it finds them under the
    C:\Users\<user name>\Appworx\<instance>     directories. On Windows it finds my user_keystore files properly.  But on Linux, and Mac it might not know where to look.  I came to a road block.

    Thank you
    Rich


  • 6.  RE: Application manager 9.3.1 on MAC
    Best Answer

    Posted 06-16-2020 12:38 PM
    Got it to work all the way through!

    I found that there was a hidden directory in my user home called .AppWorx

    If you don't find that there, then I'd suggest making it.

    I copied the user_keystore and user_keystore_config into /Users/pcoleman/.Appworx and it now works.

    I'd think that on Linux, it will be the same...whatever your user home is and then that .Appworx directory.