IBM i Global

 View Only
Expand all | Collapse all

Troubles installing and Using IBM Client Access on Macbookair M2

  • 1.  Troubles installing and Using IBM Client Access on Macbookair M2

    Posted Tue September 05, 2023 12:05 PM

    Machine: Macbookair M2 with 16GB of Ram, enough SSD Space

    Software: MacOS 13.5.1 Ventura

    IBM i Access Client Solutions (64-Bit)
    Version: 1.1.9.3
    Build-ID: 3301  2023-07-28 15:03:54
    /usr/local/ibmiaccess/acsbundle.jar

    java.version: 20.0.2
    java.vendor: Oracle Corporation
    java.home: /Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home

    Afaik it's both the most actual versions, but when i start terminal emulation, Java very often crashes what makes it difficult to work with.
    Do i need to install the intel Versions of Java to get Ibm iAccess running? Or maybee better install an outdated JDK like the recommended JAVA 11?

    Any advice welcome.



    ------------------------------
    Markus Beermann
    ------------------------------


  • 2.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    IBM Champion
    Posted Tue September 05, 2023 09:16 PM

    Dear Markus

    Please look at my post in this thread that I provided some refernece sources of information on instllaing IBM i ACS in Mac :  https://community.ibm.com/community/user/power/discussion/acs-crashing-on-mac-pro-m2-windows-parallel#bmab956282-3739-4526-9177-018a63eda439 



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------



  • 3.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    Posted Wed September 06, 2023 05:47 AM

    Dear Satid, i read this before, but of course maybee i misunderstood something i should do. I am also testing TN5250 from mochasoft.dk and this works fine whilst the ibm client access seems to crash very often in the same programs used.

    What seems to be stable is data download from iSeries, but running our software is not very stable.

    I downgraded the Java SDK to 17 so these are the actual specs and with them, it is working a lot more stable:

    IBM i Access Client Solutions
    (64-Bit)
    Version: 1.1.9.3
    Build-ID: 3301
    2023-07-28 15:03:54
    /usr/local/ibmiaccess/acsbundle.jar

    java.version: 17.0.8.1
    java.vendor: Amazon.com Inc.
    java.home: /Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home

    Copyright(c) IBM Corporation 2012, 2023
    All Rights Reserved



    ------------------------------
    Markus Beermann
    ------------------------------



  • 4.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    Posted Mon September 11, 2023 06:05 AM

    Unfortunately, this didn't last very long. It crashes very often even at very simple work to do.
    I send the crash-logs to apple but did not receive any answer yet.

    In any case it seems to be an 

     {"Address size fault"}: 

    far: 0x00000008014abc98  esr: 0x56000080  for example at thread 16:
    Thread 16 Crashed:: Java: C1 CompilerThread0

    0   libsystem_kernel.dylib               0x19cf84764 __pthread_kill + 8

    1   libsystem_pthread.dylib              0x19cfbbc28 pthread_kill + 288

    2   libsystem_c.dylib                    0x19cec9ae8 abort + 180

    3   libjvm.dylib                         0x103c942ac os::abort(bool, void*, void const*) + 56

    4   libjvm.dylib                         0x103edddd4 VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2696

    5   libjvm.dylib                         0x103eddf64 VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, char*) + 64

    6   libjvm.dylib                         0x103785fe8 report_vm_error(char const*, int, char const*, char const*, ...) + 120

    7   libjvm.dylib                         0x10353d020 Address::encode_pair(Instruction_aarch64*) const + 296

    8   libjvm.dylib                         0x10353ceb0 Assembler::ld_st1(int, int, int, int, RegisterImpl*, RegisterImpl*, Address, bool) + 524

    9   libjvm.dylib                         0x103662e8c LIR_Assembler::osr_entry() + 476

    10  libjvm.dylib                         0x103660da4 LIR_Assembler::emit_lir_list(LIR_List*) + 156

    11  libjvm.dylib                         0x103660e4c LIR_Assembler::emit_code(BlockList*) + 116

    12  libjvm.dylib                         0x103632eb8 Compilation::emit_code_body() + 224

    13  libjvm.dylib                         0x1036334e0 Compilation::compile_java_method() + 852

    14  libjvm.dylib                         0x103633714 Compilation::compile_method() + 292

    15  libjvm.dylib                         0x103633c00 Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*) + 412

    16  libjvm.dylib                         0x103634d2c Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) + 96

    17  libjvm.dylib                         0x103761ad8 CompileBroker::invoke_compiler_on_method(CompileTask*) + 1300

    18  libjvm.dylib                         0x1037613f4 CompileBroker::compiler_thread_loop() + 896

    19  libjvm.dylib                         0x103e6f470 JavaThread::thread_main_inner() + 332

    20  libjvm.dylib                         0x103e6dae8 Thread::call_run() + 224

    21  libjvm.dylib                         0x103c8b8ac thread_native_entry(Thread*) + 344

    22  libsystem_pthread.dylib              0x19cfbbfa8 _pthread_start + 148

    23  libsystem_pthread.dylib              0x19cfb6da0 thread_start + 8



    ------------------------------
    Markus Beermann
    ------------------------------



  • 5.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    IBM Champion
    Posted Mon September 11, 2023 08:21 AM

    Dear Markus

    While you wait for response from Apple support, I suggest you switch to IBM Semeru JRE version 17 for Mac to try your luck. 



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------



  • 6.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    Posted Thu December 21, 2023 02:52 AM

    Sorry for delay, i was in holiday and missed this. Actual installation is 

    java version "21.0.1" 2023-10-17 LTS

    Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)

    The "Fix" that works is, that i reboot the mac very seldom... at the first day, e.g. after a new update, the ibm crashes very soon, sometimes even before i can edit anything. But after a few hours not using it, it works stable. Seldom, but true. I'll try JRE 17 between christmas and new year, maybee than it is working more stable. But for the moment, i can cope with this.



    ------------------------------
    Markus Beermann
    ------------------------------



  • 7.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    Posted Thu December 07, 2023 04:05 PM

    Did you get this resolved? I am having the same issue.



    ------------------------------
    Raymond Phillips
    ------------------------------



  • 8.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    IBM Champion
    Posted Thu December 07, 2023 09:08 PM

    Dear Paymond

    Did you install IBM Semeru JRE version 17 for Mac and use it for IBM i ACS?   If not. I suggest you do this because, in another thread, someone using Mac but not IBM Semeru complained of similar issue. After that person changed to IBM Semeru, he posted that IBM i ACS in his MAC became more stable.



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------



  • 9.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    IBM Champion
    Posted Mon December 11, 2023 04:53 AM
    Edited by Rudi Van Helvoirt Mon December 11, 2023 05:52 AM

    Hello Satid,

    Being a Mac user I still have some minor issues when using Semeru Java 17 combined with ACS. That issue is when entering search text in RSS "Insert from Examples" that every character I enter, is over typing the first character. Erasing that first character and closing Insert form example and opening it again solves that issue. I am not following IBM's documented best solution when picking a Java version for Mac. That suggested version is using Java from AWS. That information can be found here => https://www.ibm.com/support/pages/java-options-ibm-i-access-client-solutions. In there the link https://aws.amazon.com/corretto/ is mentioned for that Java version.

    Maybe I am stubborn, but do not like the idea to use Java from someone else if IBM is also involved in having one ;-)

    Please be aware when running Java foor ACS on a Mac you need the JDK and NOT the JRE. Below the link to the latest one available for MAC:
    https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.9%2B9_openj9-0.41.0/ibm-semeru-open-jdk_x64_mac_17.0.9_9_openj9-0.41.0.pkg

    I hope this helps, greetings



    ------------------------------
    Rudi Van Helvoirt
    ------------------------------



  • 10.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    Posted Thu December 21, 2023 02:58 AM

    Well the fix is - waiting. Starting the IBM i Access at one day, and ignoring it. Today i needed to start it as my company forced me to install 14.2.1 Sonoma, but than it crashed immediately after starting. Not using it for a few hours leads to a stable programm for weeks (ending with the next update). Can't say, why this is, as i don't receive a "running log" that i can compare with the crash log.



    ------------------------------
    Markus Beermann
    ------------------------------



  • 11.  RE: Troubles installing and Using IBM Client Access on Macbookair M2

    IBM Champion
    Posted Thu December 21, 2023 08:27 PM

    Dear Markus

    Your solution is quite interesting. Perhaps, iMac developers observe this saying :  "The key to everything is patience. You get the chicken by hatching the egg, not by smashing it." - Arnold H. Glasow 



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------