App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
 View Only
Expand all | Collapse all

mqsicreatebar command

  • 1.  mqsicreatebar command

    Posted Wed May 10, 2023 05:01 AM

    Hio guys, 

    i created one script for Linux for creating BAR files. I copied one of the folder(repo) on my machine, the i'm gonna use for testing. 

    and the script works fine until the last part of the script where is my command mqsicreatebar. 

    /tools/mqsicreatebar -data ./ace-12.0.8.0/IIB_ACE_ENS -b AirportsDataApp.bar -p AirportsDataApp 

    the error that i'm getting all the time, no matter how is the sytax of the command is:

    [2023/05/10/10:54:19] [INFO] CommandProcessor: openWorkspace {  } 
    [2023/05/10/10:54:19] [INFO] CommandProcessor: openWorkspace { List of projects to be processed: TestFlowProject } 
    BIP0960E Incorrect "-a", "-l", "-s", "-p", or "-o" argument supplied to mqsicreatebar.

    Project directory "TestFlowProject" does not exist.


    [2023/05/10/10:54:19] [INFO] CommandProcessor: projectToAddorOpen { Required project "TestFlowProject" does not exist on the file system } 



    I tried different thing but all the time i'm getting the same. 



    ------------------------------
    Nenad Neshov
    ------------------------------


  • 2.  RE: mqsicreatebar command

    Posted Wed May 10, 2023 10:45 AM

    There's not a lot to see here, but it looks to me like you may have a project reference from the AirportDataApp project to the TestFlowProject. So you also need to include TestFlowProject in the workspace you're building from. Based on the naming convention, it looks like you're using an Application for the Project flag, maybe change that to -a instead.



    ------------------------------
    James E. (Jim) Berube
    Technical Account Manager (TAM) - Specialist, IBM Expertise Connect, IBM Expert Labs
    IBM Software
    ------------------------------



  • 3.  RE: mqsicreatebar command

    Posted Thu May 11, 2023 03:11 AM

    HI jim, 

    First thinks a lot for your reply, i was able to solve that, i made some changes in the script, but  now i'm getting this error:

    no link files found at location:/home/myuser/desktop/ace-12.0.8.0/tools/links

    Are u familiar with this error

    regards



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 4.  RE: mqsicreatebar command

    Posted Thu May 11, 2023 12:56 PM

    Hmm, I don't see anything for links under tools. I ran the latest install of ace 12.0.8 on x86-64 Linux and I don't see anything there.

    1. What's the context for this error?
      1. (What's being executed when you see this?)
    2. Have you added something there that wasn't part of the installation?
    3. I was assuming Linux x86-64, but are you running something else?
    4. How are you setting up the profile for mqisprofile?
      1. Are you enabling it via .profile or are you executing the command in your script?



    ------------------------------
    James E. (Jim) Berube
    Technical Account Manager (TAM) - Specialist, IBM Expertise Connect, IBM Expert Labs
    IBM Software
    ------------------------------



  • 5.  RE: mqsicreatebar command

    Posted Mon May 15, 2023 12:55 AM

    Hi Nenad,

    Could you possible share your script via github, or copy paste it here?
    Then we can have a go at running it.
    I've been use build and package scripts for a long time now and I haven't seen your error before.



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



  • 6.  RE: mqsicreatebar command

    Posted Mon May 15, 2023 08:58 AM

    Hi Matthias,

    Thanks a lot for your reply, i was able to solve that error, now I'm getting different error maybe you are familiar with it

    error from bar files


    ------------------------------
    Nenad Neshov
    ------------------------------



  • 7.  RE: mqsicreatebar command

    Posted Tue May 16, 2023 01:26 AM

    Actually I am :)

    This basically means that you have no mq connection setup. Either via a default qmgr or via a default mq policy. This can be fixed by configuring either of them
    Where are you deploying to? Node managed, standalone or containerized?



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



  • 8.  RE: mqsicreatebar command

    Posted Tue May 16, 2023 07:24 AM

    The errors that I send it to you were from a local integration node, where i deploy the bar file. 

    but i also tried to deploy the bar file, on a existing  dev environment on our clients side, there is an integration node, where the bar file can be deployed, and i got these errors:



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 9.  RE: mqsicreatebar command

    Posted Tue May 16, 2023 08:00 AM

    Do you have the console log for that one? Or the stdout/stderr file for windows, could be more info in there.



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



  • 10.  RE: mqsicreatebar command

    Posted Tue May 16, 2023 09:41 AM

    HI Matthias,

    I can't check the logs, because i only have access to the integration node on web. from vdi vm, and I checked there on the web ui, but i could't find anything that i could send it to you apart from the previous screenshot. 



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 11.  RE: mqsicreatebar command

    Posted Wed May 17, 2023 05:52 AM

    Do you think that i might be something with versions of ACE and the integration node? 

    because the version that am using for creation the bar files is ACE 12.0.8.0, and the node integration version is 



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 12.  RE: mqsicreatebar command

    Posted Wed May 17, 2023 07:34 AM

    Hey Nenad

    Yes version v12 is not backwards compatible with v10.
    Best to stay in the same main versions. ie build v10 to deploy to v10 and build v12 to deploy on v12.

    Btw v10 is out of support for a while now.



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



  • 13.  RE: mqsicreatebar command

    Posted Tue May 23, 2023 05:23 AM

    HI Matthias, 

    Building bar files from  ACE toolkit is working it's building bars, but from console with the command mqsicreatebar am getting errors like a problem with some files inside the project.

    I can't understand why is this happening. 

    because this is also happening when i run the command mqsicreatebar -compileOnly to compile the files fisrt before we add them to bar file, it is giving me error, but if i go in the toolkit and go to project and select build for mqsipackge bar, it is finishing without errors. 

    any expirience to share about this, or some documentation that might help.



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 14.  RE: mqsicreatebar command

    Posted Tue May 23, 2023 05:40 AM

    Hi Nenad

    What type of error do you get? Could you share the output of the command.
    It might be something simple like some dependency you are missing.




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



  • 15.  RE: mqsicreatebar command

    Posted Tue May 23, 2023 05:48 AM
    error getting from the console
    i'm not getting any of this error when i create bar from the toolkit


    ------------------------------
    Nenad Neshov
    ------------------------------



  • 16.  RE: mqsicreatebar command

    Posted Tue May 23, 2023 05:53 AM

    If you are building from a big workspace there can be no errors, not even in non-related projects.
    Try specifying all projects you need (both for building and as reference) with the -p flag, you can combine multiple -p flags

    mqsicreatebar -data ... -a ... -b ... -p project1 -p project2 ...



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



  • 17.  RE: mqsicreatebar command

    Posted Tue May 23, 2023 07:03 AM

    I'm getting preatty much the same

    the errors and the commnad that i'm running are in the picture...



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 18.  RE: mqsicreatebar command

    Posted Tue May 23, 2023 07:44 AM

    Your build env is 12.0.8, that is the same version as your workspace?
    You have no other dependency projects then the AirportDataApp?

    You could try creating a new workspace with just the projects you need for the bar, see if it works then.
    Without access to your workspace I can't really do anything more at the moment.



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



  • 19.  RE: mqsicreatebar command

    Posted Thu May 25, 2023 04:47 AM

    Yes the same version it is, the toolkit and the workspace. I got no other dependencies for the project.

    I created a million times new workspace new integration nodes etc. delete everything create everything from the beginning and the same is happening. 

    But anyway thanks a lot for your help. i really appreciate it. I will take another approach for this problem, for now i will bulid manually the bar files from the toolkit i lost to much time. 



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 20.  RE: mqsicreatebar command

    Posted Tue May 30, 2023 03:42 AM

    You can have a look here: https://community.ibm.com/community/user/integration/blogs/matthias-blomme/2023/05/23/ace-bar-build-commands-unraveling-the-differences
    I listed the differences packaging methods, maybe there is something there that can help you



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



  • 21.  RE: mqsicreatebar command

    Posted Mon June 05, 2023 07:01 AM
    Edited by Nenad Neshov Mon June 05, 2023 08:06 AM
      |   view attached


    Original Message:
    Sent: Tue May 30, 2023 03:42 AM
    From: Matthias Blomme
    Subject: mqsicreatebar command

    You can have a look here: https://community.ibm.com/community/user/integration/blogs/matthias-blomme/2023/05/23/ace-bar-build-commands-unraveling-the-differences
    I listed the differences packaging methods, maybe there is something there that can help you



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



  • 22.  RE: mqsicreatebar command

    Posted Mon June 05, 2023 08:37 AM

    Hi Nenad

    I think you deleted your post content when you edited the post, I only see my previous post text in your post.

    Apparently your bar file is not valid, curl deploys with proper credentials work just fine if your barfile is valid.



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



  • 23.  RE: mqsicreatebar command

    Posted Tue June 06, 2023 06:10 AM

    Hi Matthias, 

    sorry abot the post, i had a question but i solved the problem, it was just a missspeling in the command, And i didn't know how to delete the post. 



    ------------------------------
    Nenad Neshov
    ------------------------------



  • 24.  RE: mqsicreatebar command

    Posted Mon December 18, 2023 10:24 AM

    Hi Nenad,

    Can you please share the resolution for  "no link files found at location" error, as we are facing the same while running the mqsicreatebar through commandline.

    Thanks

    Sahil



    ------------------------------
    sahil muradia
    ------------------------------



  • 25.  RE: mqsicreatebar command

    Posted Mon March 04, 2024 12:56 PM

    Hi Nenad,

    I am getting same error.

    How did you solve errors about : no link files found at location:/home/myuser/desktop/ace-12.0.8.0/tools/links

    Lokendra



    ------------------------------
    Lokendra Singh
    ------------------------------



  • 26.  RE: mqsicreatebar command

    Posted Tue March 05, 2024 02:43 AM

    Hello Lokendra,  

     The message  no link files found at location:/home/myuser/desktop/ace-12.0.8.0/tools/links can be ignored.  

    You will see this message if you have no additional products installed and hence the links dir is either empty or missing.  For example, the IBM health care pack for ACE makes use of this directory,   

    I will look at getting that message removed from a future fix pack to avoid any confusion.   

    What actual error do you get ?  The normal problem is that you have not specified a project that the command needs for the workspace to build without 

    errors .   

    Regards, 



    ------------------------------
    Paul Lacy
    ------------------------------