Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Bootstrap issue with ML9 when using Roxy 1.7.4 #885

@rskainth82

Description

@rskainth82

Hi,

When we bootstrap to ML 9.0.4 using Roxy 1.7.4, the path-range-indexes in the configuration file need to have collation element (empty or with value) irrespective of the scalar-type (string, int, dateTime) without which it is going to give error while bootstrap.

Error C:\clearcase project\Path5_GENERIC_FRAMEWORK_ML_2\eie_ML_Generic_Framework\ML_Generic_Framework>ml dev6 bootstrap Bootstrapping your project into MarkLogic 9 on xmlsboxm1d.aetna.com... ERROR: ADMIN-INVALIDCONFIG: (err:FOER0000) Invalid configuration: range-path-index is missing collation See MarkLogic Server error log for more details. ERROR: ... Bootstrap FAILED ERROR: exit ERROR: ["deploy/lib/ml.rb:170:in `exit'", "deploy/lib/ml.rb:170:in `<main>'"] 

We had to update all the path-range-index with the collation element, irrespective of type of the index as shown below, in order to do successful bootstrap.

 <range-path-index> <scalar-type>dateTime</scalar-type> <collation /> <path-expression>/hlthplcytsm:EDHTSMHealthPolicy/hlthplcytsm:healthPolicy/ofrofr:HealthPolicy/ofrofr:policyEffectiveDate/ofrss:EffectivePeriod/ofrss:datetimeBegin</path-expression> <range-value-positions>false</range-value-positions> <invalid-values>ignore</invalid-values> </range-path-index>

Which Operating System are you using? During our POC, where we are testing the compatibility of moving to MarkLogic 9.0-4, we tried bootstrapping from Windows machine. Not sure, whether this will make any difference though, if we change to do bootstrap from a Linux VM, as this issue seems to be related to Roxy or XQuery code behind it, which is expecting collation element to be provided, irrespective of scalar type for the path range index

Which version of MarkLogic are you using? ML 9.0-4

Which version of Roxy are you using (see version.txt)? 1.7.4

Thanks,
Rupinder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions