-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The plugin fails if a CPF domain configured in the content-processing section already exists; this is because the underlying MarkLogic cpf/domains.xqy create() function fails if the domain exists, and there is no handling of this in the marklogic-install-server module code:
2013-04-24 14:59:05.056 Info: 8004-Installer: <content-processing default-domain="HorseRacingCards" root="/" role="fr-executor" modules="racing-ingestion-modules" user="fr-ingestor">
2013-04-24 14:59:05.056 Info: 8004-Installer: <domain root="/" description="HorseRacingCards distribution" name="HorseRacingCards" modules="racing-ingestion-modules" document-scope="directory" uri="/cpf/HorseRacingCards/" depth="infinity">
2013-04-24 14:59:05.056 Info: 8004-Installer: <pipeline name="Status Change Handling"/>
2013-04-24 14:59:05.056 Info: 8004-Installer: <pipeline name="HorseRacingCard Publishing"/>
2013-04-24 14:59:05.056 Info: 8004-Installer: </domain>
2013-04-24 14:59:05.056 Info: 8004-Installer: </content-processing>
2013-04-24 14:59:05.056 Info: 8004-Installer: </database>
[...snip...]
2013-04-24 14:59:05.089 Info: 8004-Installer: Adding domain: HorseRacingCards into Database: racing-api-content
2013-04-24 14:59:05.111 Notice: 8004-Installer: CPF-DOMAINEXISTS: (err:FOER0000) Attempt to create duplicate processing domain: HorseRacingCards
2013-04-24 14:59:05.111 Notice: 8004-Installer: in /MarkLogic/cpf/domains.xqy, at 71:11,
2013-04-24 14:59:05.111 Notice: 8004-Installer: in dom:create("HorseRacingCards", "HorseRacingCards distribution", <dom:domain-scope xmlns:dom="http://marklogic.com/cpf/domains"><dom:document-scope>directory</dom:document-scope><dom:uri>/cpf/...</dom:domain-scope>, <dom:evaluation-context xmlns:dom="http://marklogic.com/cpf/domains"><dom:database>8481029918320119584</dom:database><dom:root>/</dom...</dom:evaluation-context>, (fn:doc("http://marklogic.com/cpf/pipelines/11502835339467892047.xml")/p:pipeline/p:pipeline-id, fn:doc("http://marklogic.com/cpf/pipelines/13771947087350137316.xml")/p:pipeline/p:pipeline-id), ()) [1.0-ml]
2013-04-24 14:59:05.111 Notice: 8004-Installer: $domain-name = "HorseRacingCards"
2013-04-24 14:59:05.111 Notice: 8004-Installer: $domain-description = "HorseRacingCards distribution"
2013-04-24 14:59:05.111 Notice: 8004-Installer: $domain-scope = <dom:domain-scope xmlns:dom="http://marklogic.com/cpf/domains"><dom:document-scope>directory</dom:document-scope><dom:uri>/cpf/...</dom:domain-scope>
2013-04-24 14:59:05.111 Notice: 8004-Installer: $evaluation-context = <dom:evaluation-context xmlns:dom="http://marklogic.com/cpf/domains"><dom:database>8481029918320119584</dom:database><dom:root>/</dom...</dom:evaluation-context>
2013-04-24 14:59:05.111 Notice: 8004-Installer: $pipelines = (p:pipeline-id("11502835339467892047"), p:pipeline-id("13771947087350137316"))
2013-04-24 14:59:05.111 Notice: 8004-Installer: $permissions = ()
2013-04-24 14:59:05.111 Notice: 8004-Installer: at 19:31,
2013-04-24 14:59:05.111 Notice: 8004-Installer: in xdmp:eval("(::) xquery version "1.0-ml&quo...", (fn:QName("", "domain-name"), "HorseRacingCards", fn:QName("", "description"), ...), <options xmlns="xdmp:eval"><database>15326788310522498781</database></options>) [1.0-ml]
2013-04-24 14:59:05.111 Notice: 8004-Installer: $pipeline-names = (attribute{fn:QName("", "name")}{"Status Change Handling"}, attribute{fn:QName("", "name")}{"HorseRacingCard Publishing"})
2013-04-24 14:59:05.111 Notice: 8004-Installer: $pipelines = (fn:doc("http://marklogic.com/cpf/pipelines/11502835339467892047.xml")/p:pipeline/p:pipeline-id, fn:doc("http://marklogic.com/cpf/pipelines/13771947087350137316.xml")/p:pipeline/p:pipeline-id)
2013-04-24 14:59:05.111 Notice: 8004-Installer: in /lib/lib-cpf.xqy, at 135:23,
2013-04-24 14:59:05.111 Notice: 8004-Installer: in inst-cpf:create-domains(<modules xmlns="http://www.marklogic.com/ps/install/config.xqy"><application name="null" title="Ingestion Modules" filesystem-ro...</modules>) [1.0-ml]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels