How do I run fuseki.war in debug mode?

2015-01-22 Thread Trevor Donaldson
Hi all, Is there a way to see the debug messages of fuseki while running in the application in tomcat? Thanks I want the equivalent of ./fuseki-server --debug

Re: How do I run fuseki.war in debug mode?

2015-01-22 Thread Claude Warren
We are on the very edge of my knowledge but.. The logging system must be configured somewhere (perhaps via the tomcat logging configuration) If you turn the logging on for the fuseki stuff (org.apache.jena.fuseki) it might work. Not really sure. On Thu, Jan 22, 2015 at 3:42 PM, Trevor

Preserving namespace prefixes in a Jena TDB dataset

2015-01-22 Thread Nandana Mihindukulasooriya
Hi, I am using Jena TDB (1.1.1) to store a set of named graphs. Everything works fine but whenever I retrieve a named graph from the dataset, all the namespace prefix information is lost. Is there a way to preserve the namespace prefixes in the original RDF graph when I add them to dataset. I've

Re: How do I run fuseki.war in debug mode?

2015-01-22 Thread Trevor Donaldson
Thanks Claude. The logging is on for org.apache.jena.fuseki but the log4j.properties file is inside fuseki.war. I guess I could open fuseki.war and modify log4j and then rebuild fuseki.war again. That is an option. On Thu, Jan 22, 2015 at 10:54 AM, Claude Warren cla...@xenei.com wrote: We are

Assembler config bug with fuseki.war? Maybe?

2015-01-22 Thread Trevor Donaldson
Hi all, There is a weird situation that I just found. I have a config file that looks like the attached. The problem that I am running into, is that I am expecting Jena Security to be called whenever I query the service. I am validating that Jena Security is being called by logging. When I use

Re: Preserving namespace prefixes in a Jena TDB dataset

2015-01-22 Thread Andy Seaborne
On 22/01/15 16:17, Nandana Mihindukulasooriya wrote: Hi, I am using Jena TDB (1.1.1) to store a set of named graphs. Everything works fine but whenever I retrieve a named graph from the dataset, all the namespace prefix information is lost. Is there a way to preserve the namespace prefixes in

Re: Preserving namespace prefixes in a Jena TDB dataset

2015-01-22 Thread Nandana Mihindukulasooriya
Hi Andy, Reading directly into the dataset worked like a charm, thanks a lot !! Best Regards, Nandana On Thu, Jan 22, 2015 at 5:57 PM, Andy Seaborne a...@apache.org wrote: On 22/01/15 16:17, Nandana Mihindukulasooriya wrote: Hi, I am using Jena TDB (1.1.1) to store a set of named graphs.

Re: How do I run fuseki.war in debug mode?

2015-01-22 Thread Andy Seaborne
Ah - logging - one of the hard systems problems. The logging setup even has it's own logging :-) (for development use only - needs a code tweak to turn on and off). Fuseki look for logging setup in this order: 1/ System property log4j.configuration 2/ $FUSEKI_BASE/log4j.properties 3/

Re: How do I run fuseki.war in debug mode?

2015-01-22 Thread Trevor Donaldson
Yes!!! This is what I wad looking for. I will use the one in fuseki_base. Thanks Andy On Jan 22, 2015 11:42 AM, Andy Seaborne a...@apache.org wrote: Ah - logging - one of the hard systems problems. The logging setup even has it's own logging :-) (for development use only - needs a code tweak

Re: Preserving namespace prefixes in a Jena TDB dataset

2015-01-22 Thread Andy Seaborne
And the presenting issue fixed as well: https://issues.apache.org/jira/browse/JENA-860 which will be in the next snapshot build. Whether this is the same as, related to, or completely different to the other SO question is hard to tell. The details matter a lot here and the OntModel changes