App Connect

 View Only
Expand all | Collapse all

ACE SaaS - uploading jar files into Shared-classes

  • 1.  ACE SaaS - uploading jar files into Shared-classes

    IBM Champion
    Posted Mon July 15, 2024 08:00 PM

    Hi,

    I have a requirement which has jar file dependency. For deploying the ACE Application into ACE SaaS console, I want to upload jar files into Shared-classes folder of the integration Runtime. I tried to upload the jar files as Genericfiles configuration, unfortunately the jar files are more than 1 MB in size. As per documentation, Generic files configuration can be upto 660KB of size. How to add the jar files of size more than 1MB into Shared-classes of Integration Runtime (ACE SaaS version)?



    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------


  • 2.  RE: ACE SaaS - uploading jar files into Shared-classes

    Posted Thu July 18, 2024 01:32 PM

     Hello,

     Yes, the generic files approach doesn't work for large JAR files, so you'd need to put the JAR files into a BAR file to make it work with ACE-as-a-Service. 

     If you put the JAR files into a shared library as described at https://community.ibm.com/community/user/integration/blogs/trevor-dolby/2022/11/01/ace-shared-classes-and-containers then you should be able to tell the server to use the JAR files as shared classes, and there's a repo with some instructions on server.conf.yaml settings at https://github.com/trevor-dolby-at-ibm-com/ace-shared-classes?tab=readme-ov-file#cp4i-configuration-with-sharedjava-in-the-bar-file which might also help.



    ------------------------------
    Trevor Dolby
    IBM Expert Labs
    ------------------------------



  • 3.  RE: ACE SaaS - uploading jar files into Shared-classes

    IBM Champion
    Posted Mon July 22, 2024 05:36 AM

    Hi Trevor,

    Thanks for the response. The reference was helpful and it worked for my requirement. 



    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------