I think I have found part of the problem. There is a configuration file
in WEB-INF called velocity.properties. In my case it contained the
following line:
file.resource.loader.path=webapp/WEB-INF/templates
This seems to be the cause of the wrong file path being created, because
after I changed the line to
file.resource.loader.path=/WEB-INF/templates
The error message became:
com.hp.hpl.jena.shared.NotFoundException: Not found:
/d2rq/WEB-INF/templates/metadata.n3
The problem now seems to be that the path is an absolute path.
Does anyone have an idea on how to get the path right?
Greetings,
Frans
On 2011-07-08 12:27, Frans Knibbe wrote:
Hello,
When I did a request for RDF data with curl, I got the following error
message which explains why I do not see metadata:
com.hp.hpl.jena.shared.NotFoundException: Not found:
/d2rqwebapp/WEB-INF/templates/metadata.n3
The message is correct, the path does not exist. That is because the
web app is named "d2rq", not "d2rqwebapp". The path should have been
"/d2rq/WEB-INF/templates/metadata.n3". I wonder where "d2rqwebapp"
comes from. I could not find this string in any file.
Regards,
Frans
On 2011-07-06 14:20, Frans Knibbe wrote:
Hello,
I have published a data set with D2R server and now I would like to
publish some metadata. It says in the manual:
"The supplied metadata will be shown in a "Metadata" table below the
usual property-value table, which provides a tree-like visualization
of the metadata. The/(more)/links in the visualization allow to
expand the view to show the properties of the corresponding entities."
I have added the line 'd2r:metadataTemplate "metadata.n3";' to the
d2r:Server configuration block, but I do not notice any metadata
appearing in the HTML view. If I change another setting in the
d2r:Server configuration block (like rdfs:label), I do notice this
causes a change. The file metadata.n3 exists in WEB-INF/templates,
but I haven't made changes to it (yet).
Should I notice a change in behaviour after enabling publication of
metadata?
I am using the latest version of D2R server and running it as a
Tomcat web app.
Regards,
Frans
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel