Hi Martin,

In your original post you indicate using openrdf / Sesame 2.7.9 , whereas the 
version of our Sesame Provider being used is 2.6.10 ie for Sesame 2.6.x . We 
have a specific Provider for Sesame 2.7.x which can be downloaded from:

        
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSDownload#Sesame%20Provider

with version:

        $ java -jar ./Downloads/virt_sesame2.jar 
        OpenLink Virtuoso(TM) Provider for Sesame2(TM) Version 2.7.3 [Build 
1.12]

Thus please download and try again ...

Also ensure these Virtuoso Sesame Provider and JDBC Driver are being placed in 
the ~/webapps/openrdf-sesame/WEB-INF/lib/ and 
~/webapps/openrdf-workbench/WEB-INF/lib/ directories as detailed in step 3 for 
the documentation.

I also note that your Virtuoso version is 6.1.4, thus is this a prebuilt 
version provided with your Linux distro, as the latest 6.x  version is 6.1.8 
and we also have version 7.x , which we would recommend be used, not that this 
would be the cause of the current error which is more in the client component 
interact with Sesame.

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 22 Jan 2014, at 10:15, Martin Kammerlander <martin.kammerlan...@sti2.at> 
wrote:

> Hi Hugh,
> 
> Yes the openrdf-workbench was working prior to making changes and it still 
> works, but of course not for the Virtuoso RDF repository but for all other 
> like ie. Sesame Native, In memory...
> 
> Regarding th versions:
> 
> - virtuoso-t -?
>> Virtuoso Open Source Edition (multi threaded)
>> Version 6.1.4.3127-pthreads as of Apr 18 2013
>> Compiled for Linux (i486-pc-linux-gnu)
>> Copyright (C) 1998-2011 OpenLink Software
> 
> - java -jar virt_sesame2.jar
> 
> 
>             
> 
>> OpenLink Virtuoso(TM) Provider for
>>               Sesame2(TM) Version 2.6.10 [Build 1.8]
>> 
> 
>             
> 
> 
>             
> 
> 
>             - 
> java -jar virtjdbc4.jar (NOTE: I have the version 3 virtjdbc3.jar)
> 
> OpenLink Virtuoso(TM) Driver for JDBC(TM) Version 3.x [Build 3.62]
> 
> - java -version
>> java version "1.6.0_26"
>> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
>> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
> 
> 
> best 
> Martin
> 
> On 01/21/2014 01:39 PM, Hugh Williams wrote:
>> Hi Martin,
>> 
>> I don't see anything Virtuoso specific in the logs provided. Was the 
>> openrdf-workbench working prior to making the changes to for Virtuoso ie 
>> could you create a repository for one of the defaults support for Sesame 
>> Native, In memory, MySQL, Postgres etc ?
>> 
>> What is the exact version of the Virtuoso Server, Sesame Provider and JDBC 
>> Driver being used ?
>> 
>>  virtuoso-t -?
>>  java -jar virt_sesame2.jar
>>  java -jar virtjdbc4.jar
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.      //              http://www.openlinksw.com/
>> Weblog   -- http://www.openlinksw.com/blogs/
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/
>> Twitter  -- http://twitter.com/OpenLink
>> Google+  -- http://plus.google.com/100570109519069333827/
>> Facebook -- http://www.facebook.com/OpenLinkSoftware
>> Universal Data Access, Integration, and Management Technology Providers
>> 
>> On 21 Jan 2014, at 10:57, Martin Kammerlander <martin.kammerlan...@sti2.at> 
>> wrote:
>> 
>>> Hi,
>>> 
>>> using the Virtuoso Sesame HTTP Repository following this tutorial:
>>> http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository
>>> At the point where I like to add a new Virtuoso repository via
>>> openrdf-workbench I do get a Nullpointer exception.
>>> 
>>> I'm using virtuoso open source version (Version: 06.01.3127), openrdf in
>>> the newest version (2.7.9), tomcat7
>>> 
>>> catalina.out gives the following information:
>>> 
>>>> Jan 21, 2014 11:45:07 AM org.openrdf.workbench.proxy.ServerValidator
>>>> checkServerPrefixes
>>>> WARNING: server URL null does not have a prefix file: http: https:
>>>> Jan 21, 2014 11:45:07 AM org.openrdf.workbench.proxy.ServerValidator
>>>> checkServerPrefixes
>>>> WARNING: server URL null does not have a prefix file: http: https:
>>>> Jan 21, 2014 11:45:07 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> service
>>>> INFO: Servicing repository: NONE
>>>> Jan 21, 2014 11:45:07 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: RemoteRepositoryManager URL: http://example.com:8080/openrdf-sesame
>>>> Jan 21, 2014 11:45:07 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: Setting user 'null' and password 'null'.
>>>> Jan 21, 2014 11:45:07 AM org.openrdf.sail.helpers.DirectoryLockManager
>>>> removeInvalidLock
>>>> WARNING: Removing invalid lock 17577@c745-sti145
>>>> Jan 21, 2014 11:45:08 AM org.openrdf.workbench.proxy.ServerValidator
>>>> checkServerPrefixes
>>>> WARNING: server URL null does not have a prefix file: http: https:
>>>> Jan 21, 2014 11:45:08 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> service
>>>> INFO: Servicing repository: NONE
>>>> Jan 21, 2014 11:45:08 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: RemoteRepositoryManager URL: http://example.com:8080/openrdf-sesame
>>>> Jan 21, 2014 11:45:08 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: Setting user 'null' and password 'null'.
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.ServerValidator
>>>> checkServerPrefixes
>>>> WARNING: server URL null does not have a prefix file: http: https:
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> service
>>>> INFO: Servicing repository: NONE
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: RemoteRepositoryManager URL: http://example.com:8080/openrdf-sesame
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: Setting user 'null' and password 'null'.
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.ServerValidator
>>>> checkServerPrefixes
>>>> WARNING: server URL null does not have a prefix file: http: https:
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> service
>>>> INFO: Servicing repository: NONE
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: RemoteRepositoryManager URL: http://example.com:8080/openrdf-sesame
>>>> Jan 21, 2014 11:45:11 AM org.openrdf.workbench.proxy.WorkbenchServlet
>>>> setCredentials
>>>> INFO: Setting user 'null' and password 'null'.
>>> 
>>> the localhost.log says the following:
>>> 
>>>> Jan 21, 2014 10:37:43 AM org.apache.catalina.core.StandardWrapperValve
>>>> invoke
>>>> SEVERE: Servlet.service() for servlet [workbench] in context with path
>>>> [/openrdf-workbench] threw exception [javax.servlet.ServletException:
>>>> java.lang.NullPointerException] with root cause
>>>> java.lang.NullPointerException
>>>>    at
>>>> org.openrdf.workbench.commands.CreateServlet.getConfigTemplate(CreateServlet.java:159)
>>>>    at
>>>> org.openrdf.workbench.commands.CreateServlet.createRepositoryConfig(CreateServlet.java:130)
>>>>    at
>>>> org.openrdf.workbench.commands.CreateServlet.doPost(CreateServlet.java:75)
>>>>    at
>>>> org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:106)
>>>>    at
>>>> org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)
>>>>    at
>>>> org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:104)
>>>>    at
>>>> org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:222)
>>>>    at
>>>> org.openrdf.workbench.proxy.WorkbenchServlet.handleRequest(WorkbenchServlet.java:151)
>>>>    at
>>>> org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:119)
>>>>    at
>>>> org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:131)
>>>>    at
>>>> org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:136)
>>>>    at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>    at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>    at
>>>> org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)
>>>>    at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>    at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>    at
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
>>>>    at
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>>    at
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>>    at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>>>>    at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>>>>    at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
>>>>    at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>    at
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>>    at
>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
>>>>    at
>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
>>>>    at
>>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>>>    at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>    at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>    at java.lang.Thread.run(Thread.java:662)
>>>> Jan 21, 2014 10:58:51 AM org.apache.catalina.core.ApplicationContext log
>>>> INFO: Initializing Spring FrameworkServlet 'openrdf-http-server'
>>> 
>>> Any ideas what might be wrong?
>>> 
>>> thanks
>>> Martin
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>>> Critical Workloads, Development Environments & Everything In Between.
>>> Get a Quote or Start a Free Trial Today. 
>>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>> 
> 
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today. 
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to