App Connect

 View Only
  • 1.  Issue while deploying shared library with subflow

    Posted Mon September 25, 2023 11:40 PM

    Hello Team,

    Need your help

    I have a msgflow in ACE which is referencing a shared library with subflow and .java files.

    I have a requirement where I need to containerize the broker apps..

    The dockerfile has the

    • ibmintpackage bar command to build the bar for the main flow.
    • ibmintdeploy command to deploy to target Integration server in openshift.

    The result

    1.I have the bar files for both the subflow(with the .jar) and the main flow deployed in server

    2.The issue is with the integrationserver optimizing command in the dockerfile

    ibmint optimize server --work-dir /home/aceuser/ace-server 

    Error:

    BIP1380E: The integration server has detected independent resources in work directory '/home/aceuser/ace-server/run' but no default application name has been specified on server start-up. 

    3.I have already included the default application name where the independent resources has to be deployed  using the IntegrationServer command .

    Request your help on this

    Thanks

    Madhu



    ------------------------------
    madhu ram
    ------------------------------


  • 2.  RE: Issue while deploying shared library with subflow

    User Group Leader
    Posted Tue September 26, 2023 12:10 PM

    Hi Madhu, 

    I shared your question with the team and the following response has been offered: "

    You would need to include the --default-application parameter on the ibmint optimize server command or put it in the server.conf.yaml that the server will use and the command will pick it up from there" 

    another note: you mentioned that you were setting it on the IntegrationServer command but that doesn't persist it anywhere and will only apply to that invocation of IntegrationServer.

    Let me know if this helps at all - if you need extra help, please email me at the email in my profile and I can connect you to the team. 

    Best, 


    ------------------------------
    Gabriel Marte Blanco
    Austin TX
    ------------------------------



  • 3.  RE: Issue while deploying shared library with subflow

    Posted Thu September 28, 2023 11:58 AM

    Thanks so much. The default application parameter can be any name or should it match with the independent resource name. I tried with independent resource name (shared lib name) but could not succeed



    ------------------------------
    madhu ram
    ------------------------------



  • 4.  RE: Issue while deploying shared library with subflow

    IBM Champion
    Posted Fri September 29, 2023 06:05 AM

    It can be anything you want



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 5.  RE: Issue while deploying shared library with subflow

    IBM Champion
    Posted Wed September 27, 2023 01:31 AM

    Hi Madhu

    What independent resources do you have? 

    If it is the jar and subflow, why not just put in in an application to start with?



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 6.  RE: Issue while deploying shared library with subflow

    Posted Thu September 28, 2023 11:54 AM
    Edited by madhu ram Thu September 28, 2023 11:59 AM

    I have subflows and the java files associated with it.Thanks for the reply.I tried to create the bar using mqsicreate bar but  the bar size is too big that my  workspace gets corrupted .I am trying to understamd what i am doing wrong.Any suggestion on this?.



    ------------------------------
    madhu ram
    ------------------------------



  • 7.  RE: Issue while deploying shared library with subflow

    IBM Champion
    Posted Fri September 29, 2023 06:06 AM

    You are probably putting everything in your bar file then. Not just those couple of items.

    Can you put them in an application inside your workspace and build that applications?



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 8.  RE: Issue while deploying shared library with subflow

    Posted Fri September 29, 2023 11:35 AM

    Try with "mqsipackagebar" command.  Below is the link for detail.

    You could also importing the project/application (and its dependencies; i.e, sub flows and Java project) into the ACE/IIB toolkit and try to build bar file from the toolkit. If bar file builds successfully, then it will deploy without issue. Good lack!!

    https://www.ibm.com/docs/en/integration-bus/9.0.0?topic=commands-mqsipackagebar-command



    ------------------------------
    FIKRU BEDEKE
    ------------------------------