[MarkLogic Dev General] [XQSync] WARNING: unknown key: skipping URI_PREFIX_STRIP
Curtis Wilde
galvorn at gmail.com
Thu Sep 9 16:54:20 PDT 2010
Sorry about that.
*Properties:*
#
OUTPUT_CONNECTION_STRING=xcc://admin:root@localhost:8030/Creation
URI_PREFIX=/preview/shared/content/english/
ALLOW_EMPTY_METADATA=true
INPUT_PACKAGE=magazines.zip
QUEUE_SIZE=1000
REPAIR_INPUT_XML=true
SKIP_EXISTING=true
THREADS=2
*Output:*
Sep 9, 2010 5:49:21 PM com.marklogic.ps.SimpleLogger configureLogger
INFO: setting up com.marklogic.ps.SimpleLogger at c17164 for: com.marklogic.ps
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
INFO: using OUTPUT_PACKAGE=myContent.zip
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
WARNING: unknown key: skipping URI_PREFIX_STRIP
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
INFO: using INPUT_BATCH_SIZE=1
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
INFO: using THREADS=1
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
INFO: using INPUT_DIRECTORY_URI=/preview/shared/content/english/
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
WARNING: unknown key: skipping #
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
INFO: using INPUT_CONNECTION_STRING=xcc://admin:root@localhost:8030/Creation
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
WARNING: unknown key: skipping awt.toolkit
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.AbstractConfiguration
validateProperties
INFO: using QUEUE_SIZE=1000
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.Configuration configureInput
INFO: input from connection: xcc://admin:root@localhost:8030/Creation
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.Configuration configureOutput
INFO: output to package: myContent.zip
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSync main
INFO: XQSync starting: version 2009-11-07.1 on 1.6.0_21 (Java(TM) SE Runtime
Environment)
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSync main
INFO: XCC version = 4.1-6
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSyncManager run
INFO: starting pool of 1 threads, queue size = 1000
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.TaskFactory <init>
INFO: creating 1 writer(s)
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.Monitor run
INFO: starting
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSyncManager run
INFO: input version info: client 4.1-6, server 4.1-6
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSyncManager
queueFromInputConnection
INFO: buffer size = 0, caching = false
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSyncManager
getDirectoryRequest
INFO: listing directory /preview/shared/content/english/
Sep 9, 2010 5:49:21 PM com.marklogic.ps.xqsync.XQSyncManager
queueFromInputConnection
INFO: queuing first task:
/preview/shared/content/english/magazines/ensign/1971/03001_000_000.xml
Sep 9, 2010 5:49:22 PM com.marklogic.ps.xqsync.OutputPackage newOutputStream
INFO: new output package C:\xqsync\myContent.zip -0
Sep 9, 2010 5:49:22 PM com.marklogic.ps.xqsync.Monitor monitor
INFO: 1/963, 3 events/s, 1055 kB/s,
/preview/shared/content/english/magazines/ensign/1971/03001_000_000.xml
Sep 9, 2010 5:49:24 PM com.marklogic.ps.xqsync.XQSyncManager run
INFO: queued 38641 items
On Thu, Sep 9, 2010 at 3:52 PM, Michael Blakeley <
michael.blakeley at marklogic.com> wrote:
> My guess is that it's a subtle typo, but all I can say from this info is
> "works for me". You've omitted the the output, which might help.
>
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.SimpleLogger configureLogger
> INFO: setting up com.marklogic.ps.SimpleLogger at afa7e74 for:
> com.marklogic.ps
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.xqsync.XQSync main
> INFO: XQSync starting: version 2010-08-24.1 on 1.6.0_18 (OpenJDK Runtime
> Environment)
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.xqsync.XQSync main
> INFO: XCC version = 4.1-6
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.SimpleLogger configureLogger
> INFO: setting up com.marklogic.ps.SimpleLogger at afa7e74 for:
> com.marklogic.ps
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.xqsync.Configuration setProperties
> INFO: first-time setup
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.SimpleLogger configureLogger
> INFO: setting up com.marklogic.ps.SimpleLogger at afa7e74 for:
> com.marklogic.ps
> Sep 9, 2010 2:52:19 PM com.marklogic.ps.xqsync.AbstractConfiguration
> validateProperties
> INFO: using URI_PREFIX_STRIP=/input/
> ...
>
> -- Mike
>
>
> On 2010-09-09 12:45, Curtis Wilde wrote:
>
>> It seems XQSync either doesn't understand this key, or I'm using it
>> improperly. The contents of my properties file are below:
>>
>> Windows 7x64
>> Java 6 update 21 (32-bit)
>>
>> #begin properties
>> INPUT_CONNECTION_STRING=xcc://user:pass@localhost:8080/Database
>> INPUT_DIRECTORY_URI=/input/directory/
>> OUTPUT_PACKAGE=myContent.zip
>> QUEUE_SIZE=1000
>> THREADS=1
>> URI_PREFIX_STRIP=/input/
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20100909/37e4c248/attachment.html
More information about the General
mailing list