IBM Support

PM50088: cqtsadmin.pl does not correctly escape spaces in solr.solr.home causing cqsearchprofile to fail to start

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
     - Operating System:
    Windows 2003
     - Product name:
    ClearQuest
     - Product Version:
    7.1.2.4
    
    
    Description of problem:
    
    
    
    cqtsadmin.pl does not handle the --ftshome path correctly if
    that path contains spaces. This path is used in server.xml as
    one of the genericJvmArguments, and as such the spaces would
    need to be escaped.
    
    So running cqtsadmin.pl in --init_cq_fts mode with --ftshome set
    to something like 'C:\program files\cq.search' will result in
    solr.solr.home being set to
    'C:/program files/cq.search', whereas it should be something
    like 'file:///C:/program%20files/cq.search'.
    
    
    This causes a class not found error when trying to start
    cqsearchprofile, which is done as part of the --init_cq_fts
    step.
    
    Steps to reproduce:
    
    
    
    Run cqtsadmin.pl like so:
    
    cqperl cqtsadmin.pl --init_cq_fts --ftshome 'C:\Program
    Files\CQ.Search' --dbset 7.0.0 --userdb SAMPL --username admin
    --password ''
    
    The failure to start cqsearchprofile is observed as soon as the
    Solr home has been set and cqsearchprofile is restarted by
    cqtsadmin.pl.
    
    
    Workaround:
    
    
    Use a path that does not contain spaces
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The ClearQuest Full Text Search cqtsadmin.pl script does not
    work correctly if the --ftshome option has a path which
    contains spaces.  It causes a "class not found" error when
    trying to start cqsearchprofile.
    

Problem conclusion

  • A fix is available in ClearQuest 7.1.2.5 and 8.0.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM50088

  • Reported component name

    CLRQUEST MSITE

  • Reported component ID

    5724G3700

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-14

  • Closed date

    2011-12-16

  • Last modified date

    2011-12-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLRQUEST MSITE

  • Fixed component ID

    5724G3700

Applicable component levels

  • R712 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSUTY2","label":"Rational ClearQuest MultiSite"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 December 2011