As the original exception suggested, Dave doesn't have the right xpp3
jar file.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/xmlpull/v1/XmlPullParserException
The xpp3_xpath jar isn't sufficient for RecordLoader.
-- Mike
Dave Pawson wrote:
2008/12/1 Frank Sanders <[EMAIL PROTECTED]>:
That error indicates a Classpath Issue.
What command are you using to start RecordLoader? What OS are you ON? What
path are you trying to launch from? Which JVM? what jars of the supporting
libraries do you have?
Below is the script I use to kick off RecordLoader.
-fs
#!/bin/bash
CP="c:/cygwin/usr/local/ml-java/recordloader.jar"
CP="$CP;c:/cygwin/usr/local/ml-java/xcc.jar"
CP="$CP;c:/cygwin/usr/local/ml-java/xpp3-1.1.4c.jar"
Not much different. java 1.6
#!/bin/sh
#
ml=/myjava/marklogic
CP=$ml/lib/recordloader.jar
CP=$CP:$ml/lib/xcc.jar
CP=$CP:$ml/lib/xpp3_xpath-1.1.4c.jar
if [ $# -lt 1 ]
then
echo Usage: recordloader.sh path/to/xml/files
fi
java -cp $CP com.marklogic.ps.RecordLoader $*
with the properties file
ID_NAME=XSLT2
INPUT_PATH=/sgml/site2/2src
URI_SUFFIX=.xml
SKIP_EXISTING=true
THREADS=4
RECORD_NAMESPACE=http://docbook.org/ns/docbook
CONNECTION_STRING=xcc://user:[EMAIL PROTECTED]:portnumber // changed
to protect the innocent!
regards
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general