On 16/07/12 09:50, Stefan Scheffler wrote:
On 16.07.2012 10:42, Michael Brunnbauer wrote:
hi all
how is bin/tdbloader2 in apache-jena-2.7.1 supposed to be used ? It
contains
the line
CP="$($TDBROOT/bin/tdb_path $TDBROOT)"
but tdb_path is missing. After setting CP to include everything in the
lib
directory, I get this:
10:26:14 -- TDB Bulk Loader Start
10:26:14 Data phase
log4j:WARN No appenders could be found for logger
(com.hp.hpl.jena.tdb.loader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
for more info.
Adding -Dlog4j.configuration=file:$JENAROOT/jena-log4j.properties to
JVM_ARGS
does not help.
Regards,
Michael Brunnbauer
Hi,
For me
./tdbloader2 --loc=<tdb_path> <srcpath>/*
works with jena 2.7.0 and tdb 0.9.0.
Greetings
Stefan
Hi there,
apache-jena-2.7.2 fixes the log4j.properties issue (= I'm running
tdbloader2 at this very moment and I don't get the message).
The commands do also look for file:log4j.properties in the current
directory.
The classpath in 2.7.2 was also broken but is now fixed (in svn) - you
can replace the script in the distribution with:
https://svn.apache.org/repos/asf/jena/trunk/apache-jena/bin/tdbloader2
the diff is
---------------------
30c30,32
< CP="$($TDBROOT/bin/tdb_path $TDBROOT)"
---
>
> CP="$JENAROOT"'/lib/*'
>
---------------------
Andy