【发布时间】:2014-01-10 23:44:16
【问题描述】:
我已根据本教程 (http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository) 配置了我的 sesame,以将 virtuoso 扩展添加到其中。当我单击新存储库时,它显示空白页面。谁能告诉我哪里做错了。
我刚刚执行了以下步骤。
设置 Sesame HTTP 存储库
本节详细介绍了配置和测试 Virtuoso HTTP Sesame 存储库所需的步骤。
Install Apache Tomcat web server
From the Sesame 2.3.1 or higher "lib" directory copy the "openrdf-sesame.war" and "openrdf-worbbench.war" files to the tomcat "webapps" directory where they will automatically be deployed creating two new sub directories "openrdf-sesame" and "openrdf-workbench".
Place the Virtuoso Sesame Provider "virt_sesame2.jar" and JDBC Driver "virtjdbc3.jar" into the Tomcat ~/webapps/openrdf-sesame/WEB-INF/lib/ and ~/webapps/openrdf-workbench/WEB-INF/lib/ directories for use by the Sesame HTTP Repository for accessing the Virtuoso RDF repository.
Place the "create.xsl" and "create-virtuoso.xsl" files in the Tomcat ~/webapps/openrdf-workbench/transformations/ directory. Note "create.xsl" replaces the default provided with Sesame and contains the necessary entries required to reference the new "create-virtuoso.xsl" template file for Virtuoso repository configuration.
The Sesame HTTP Repository will now be accessible on the URLs
http://localhost:8080/openrdf-sesame
http://localhost:8080/openrdf-workbench
The Sesame OpenRDF Workbench is used for accessing the Sesame HTTP Repositories, loading "http://localhost:8080/openrdf-workbench" will enable the default "SYSTEM" repository to be accessed.
【问题讨论】:
-
你用的是什么版本的Tomcat和Sesame?如果您不使用为管理 Virtuoso 存储库提供的自定义版本替换 create.xsl 文件,“新存储库”链接是否会加载提供 Sesame 的默认存储库列表,即“内存中”、“Java 本机”等?另外,tomcat 日志文件 (~/logs/catalina.out) 中是否报告了任何错误?
-
我使用的是 tomcat6 和 Sesame 版本 2.6.5 。我下载了 sesame 2.6.5 版本并将 create.xsl 复制到 openrdf 工作台以恢复 sesame 的旧位置,但在单击创建新存储库时仍然出现此错误。加载样式表时出错:加载 XSLT 样式表时发生网络错误:lovalhost:8080/openrdf-workbench/transformations/create.xsl。