Sesame配置了MySql支持

时间:2013-08-08 10:10:39

标签: mysql configure sesame triplestore

我使用芝麻作为三重店;我想在MySQL数据库中保留三元组。在sesame 2.6.10中,我在WEB-INF \ lib \文件夹中添加了mysql-connector-java-5.1.22-bin.jar,一切都很顺利 - 我能够声明mysql存储库并通过sesame添加内容 - 工作台GUI。

我为Sesame 2.7.4和2.7.3尝试了相同的操作,但是我遇到了很多错误。当我尝试在workbench的“新存储库”页面中创建存储库时,我被重定向到具有以下错误的网页:

  
    

输入例外报告

  
     

消息

     

description服务器遇到阻止的内部错误()   它来自履行这一要求。

     

例外

     

javax.servlet.ServletException:javax.servlet.ServletException:   显示java.lang.NullPointerException     org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:116)     org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)     org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:104)     org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:222)     org.openrdf.workbench.proxy.WorkbenchServlet.handleRequest(WorkbenchServlet.java:151)     org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:119)     org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:131)     org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)     org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

     

根本原因

     

javax.servlet.ServletException:java.lang.NullPointerException     org.openrdf.workbench.commands.CreateServlet.doPost(CreateServlet.java:78)     org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:106)     org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)     org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:104)     org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:222)     org.openrdf.workbench.proxy.WorkbenchServlet.handleRequest(WorkbenchServlet.java:151)     org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:119)     org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:131)     org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)     org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

     

根本原因

     

显示java.lang.NullPointerException     org.openrdf.workbench.commands.CreateServlet.getConfigTemplate(CreateServlet.java:159)     org.openrdf.workbench.commands.CreateServlet.createRepositoryConfig(CreateServlet.java:130)     org.openrdf.workbench.commands.CreateServlet.doPost(CreateServlet.java:75)     org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:106)     org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)     org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:104)     org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:222)     org.openrdf.workbench.proxy.WorkbenchServlet.handleRequest(WorkbenchServlet.java:151)     org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:119)     org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:131)     org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)     org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

     

注意JBoss中提供了根本原因的完整堆栈跟踪   Web / 7.0.13.Final logs。

我该怎么办?我在Windows 7 x64上使用JBoss AS 7.1.1 final。

感谢。

1 个答案:

答案 0 :(得分:1)

Sesame中包含一个解决方法修复程序来处理您的问题,将在即将发布的版本中提供。但是,正如邮件列表中所指出的那样(见注释),S​​esame 2.7已经弃用了MySQL商店。我建议您切换到不同的存储后端(例如Native Store)。