You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Michael Brunnbauer <br...@netestate.de> on 2012/07/16 10:42:57 UTC
bin/tdbloader2 in apache-jena-2.7.1
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
--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Straße 11a
++ 81379 München
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ http://www.netestate.de/
++
++ Sitz: München, HRB Nr.142452 (Handelsregister B München)
++ USt-IdNr. DE221033342
++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Re: bin/tdbloader2 in apache-jena-2.7.1
Posted by Andy Seaborne <an...@apache.org>.
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
Re: bin/tdbloader2 in apache-jena-2.7.1
Posted by Stefan Scheffler <ss...@avantgarde-labs.de>.
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
--
Stefan Scheffler
Avantgarde Labs GmbH
Löbauer Straße 19, 01099 Dresden
Telefon: + 49 (0) 351 21590834
Email: sscheffler@avantgarde-labs.de