App Connect

 View Only
  • 1.  11.0.0.11 can't create local server

    IBM Champion
    Posted Fri February 26, 2021 10:43 AM

    Hi Folks,
    in ACE toolkit 11.0.0.11 I ( and several others in the team) can't create servers using the toolkit. It fails with "The work directory could not be created". Tried running as admin etc. - no difference. It does actually manage to create the integration server folder in the workspace and the .project but that's it. 
    it works fine .9 release.

    any thoughts/workarounds?
    I can create them if I create them in a node just not standalone.

    thanks!


    John.



    ------------------------------
    John Hawkins
    Integration Consultant
    ------------------------------


  • 2.  RE: 11.0.0.11 can't create local server

    Posted Fri February 26, 2021 02:19 PM
    Strange. I just tried using 11.0.0.11 on linux and windows and I can create a TEST_SERVER through the toolkit with no problems.
    You could try turning on IntegrationAPI trace and send to us. 
    Maybe an issue with your workspace. You could try changing to a different workspace perhaps and try again.


  • 3.  RE: 11.0.0.11 can't create local server

    Posted Fri February 26, 2021 02:21 PM
    Presumably you can create a work directory on the command line, start the server by running IntegrationServer and then connect to it ok through the toolkit ?


  • 4.  RE: 11.0.0.11 can't create local server

    IBM Champion
    Posted Mon March 01, 2021 05:38 AM
    Edited by John Hawkins Mon March 01, 2021 05:56 AM
    Right  I've solved MY ERROR (but not my customers who have the same issue)

    Firstly, couldn't get MQSI_CMP_TRACE to output anything. I set it as a user env variable then rebooted my machine - no trace file created? is it just a filename you set it to or a complete path? (I set it to the complete path)

    Secondly - I think the error is caused by having a folder that has a space in the path. (This is on windows). No space in the workspace path and it works fine.

    Is this a known issue?

    However, my customers don't have spaces in their workspace path so still stumped for them. Any clues on where trace is going wrong which might help us ?

    ------------------------------
    John Hawkins
    Integration Consultant
    ------------------------------



  • 5.  RE: 11.0.0.11 can't create local server

    Posted Mon March 01, 2021 06:04 AM
    John - I'll try and recreate the issue on windows where the folder has a space and raise an internal defect and fix up.

    To enable, Integration API trace, you can set a preference in the toolkit. The preference is under Integration Development -> Unit Test Settings -> Integration API checkbox and location of trace file.


  • 6.  RE: 11.0.0.11 can't create local server

    IBM Champion
    Posted Mon March 01, 2021 06:11 AM
    Got trace on - thanks!
    Nothing in the file worth looking at to my mind?

    IBM Integration API Version = 11.0.0.11
    com.ibm.broker.config.proxy.BrokerProxy loaded from /com/ibm/broker/config/proxy/BrokerProxy.class
    com.ibm.broker.config.common.UUIDHelper loaded from /com/ibm/broker/config/common/UUIDHelper.class
    com.ibm.broker.config.util.ParameterList loaded from /com/ibm/broker/config/util/ParameterList.class
    com.ibm.mq.MQEnvironment not found in CLASSPATH.
    java.lang.System loaded from file:/C:/Program%20Files/IBM/ACE/11.0.0.11/common/jdk/jre/bin/compressedrefs/jclSC180/vm.jar!/java/lang/System.class

    Is the MQEnvironment an issue here? 
    Also, I had half expected to see something about the server creation but there's nothing?

    ------------------------------
    John Hawkins
    Integration Consultant
    ------------------------------



  • 7.  RE: 11.0.0.11 can't create local server

    IBM Champion
    Posted Mon March 01, 2021 06:27 AM
    Hmm, this gets worse... I went back to command line and that fails in strange ways too...

    mqsicreateworkdir only seems to work when the path has no spaces in it and no quotes (either double or single quotes).
    e.g. mqsicreateworkdir 'c:\ace\TESTME1' fails with 
    The filename, directory name, or volume label syntax is incorrect.
    Unable to create directory 'c', return code \ace\TESTME1.

    but mqsicreateworkdir c:\ace\TESTME1 works fine.

    ditto for all combinations that I could think of using double quotes, no space in file names, spaces in file names, backslash instead of forward slash. double backslash after c:\\ etc. etc. all fail.

    This means that the only way that mqsicreateworkdir works for me is using a filename with no space in it because I have no obvious way of quoting it.
    (all on windows)

    Is there something obvious I'm missing here ?

    thanks Sanjay !

    ------------------------------
    John Hawkins
    Integration Consultant
    ------------------------------



  • 8.  RE: 11.0.0.11 can't create local server

    Posted Mon March 01, 2021 07:59 AM
    Hi John,

    I'll try and recreate locally and open an internal defect for this. Thanks for bringing it up.

    Sanjay