Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat

2012-04-05 Thread Marek Šurek
Hi,
I guess it is stored in builtin_Rules.pie as commentary in the file reference 
to file as Max. There is division commentary line in builtin_Rules.pie which 
divide rules into Horst and Max. See :
...
...

//==
// This rule file contains both OWL-Horst rules and OWL-Max rules.
// The OWL-Horst rule set is a subset of the OWL-Max rules
// The rules above this point all belong to OWL-Horst AND OWL-Max
// The rules below this point only belong to OWL-Max
// The next line is the dividing point:
// OWL-Max supporting rules
//==

...
...


I'm not expert in the field of how Owlim stores rules, but what can I really 
say 9200 rules is too many rules for one repository. TRREE is java based rule 
engine and during compilation it probably creates highly optimized java 
structures which could take such big amount of memory and java garbage 
collector can't trash them as they had to be used everytime new triples are 
inserted into repository...but it is only my guess.  We can only hope TRREE 
(owlim's reasoner) can procede so many rules in acceptable amount of time 
(thought it is extremely fast rule engine and with owlim database and sesame it 
is probably the fastest solution on the market). 

I can share my experience with real application + Lubm test.
My notebook config:
P8600 Core 2 Duo, 2,4Ghz
4GB RAM
Win 7 64bit
Tomcat 7

Lubm 50 test (50 universities - around 5M explicit triples) with 
horst-optimized loaded on my 832sec with Horst ruleset, with OWL2 RL  3200sec 
and it contains "only" less than 100 rules.

Complexity of rule evaluation rises dramaticly as number of new rules are added.

In real applicatoin loading + 
inferencing of 4M explicit triples with only 4 rules which create total 
number of 6.5M triples (2,5M implicit triples) takes on my notebook 802sec. Of 
course complexity of rules is also very important, I just want to say that 9200 
could be many.


Number of rules indicates you need it for some research, in this case ontotext 
provides Owlim SE trial evaluation copy(limited to short amount of time) which 
is more optimized in... everything including TRREE :). You just need to apply 
and provide some details of your reaseach.


Marek




 From: Babis Doulaverakis 
To: Marek Šurek ; Ontotext 
 
Sent: Thursday, 5 April 2012, 14:26
Subject: Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat
 

Thanks Marek,

I managed to create the OWLIM repository with a custom rule set. 

I am curious about one thing though. The rule set I am using contains around 
9200 rules. I appended those rules in the Builtin_rules.pie file (in order to 
have OWL reasoning) so I now have a huge rule base. OWLIM successfully loaded 
the rule base but the memory consumption is huge even with no OWL file loaded. 
Tomcat consumes 940MB of memory (normally it is around 150MB). The memory 
consumption rises fast when the rule base is compiled but does not drop after 
compilation has finished. Is this normal behavior? I restarted Tomcat and when 
I try to access the repository I created, the rules are compiled again which 
again leads to huge memory consumption.


On more thing, in which .pie file that comes with OWLIM-lite 4.3 distribution 
are OWL/Max rules stored?

Thanks,
Babis




>
> From: Marek Šurek 
>To: Babis Doulaverakis ; Ontotext 
> 
>Sent: Thursday, April 5, 2012 2:27 PM
>Subject: Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat
> 
>
>Hi,
>if you don't need to do it through workbench I suggest far easier way to 
>create custom ruleset.
>My solution is connected to windows... windows 7 64bit
>
>
>
>1. Deploytwo official war-files included in owlim distribution .zip file (in 
>folder /sesame_owlim ) by copying them into webapps directory in Tomcat (make 
>sure you delete your previous attempt described in your mail)
>2. Unpack console.zip (also in folder /sesame_owlim in zip file)
>3. Run console through console.bat(or .sh depends on your OS) 
>(.../openrdf-sesame-console/bin/console.bat)
>4. Your first command in console should be : 
>
>connect http://localhost:8080/openrdf-sesame.
>5. Then try whether other repositories already exist by command : show r.
>    a) it there exists repository with the same name you want to create run 
>command : drop nameOfYourRepository.
>
>6. Copy your .ttl file into 
>C:/Users/YourAccountName/AppData/Roaming/Aduna/OpenRDF sesame 
>console/templates/ (notice : folder /AppData is in windows normally hidden)
>7. Open console and run command (dont forget to run step 4 - connect to 
>localhost)
>
>create nameOfYourRepository.
>
>
>
>
>Notice : nameOfYourRepository should be equal to name of your .ttl file which 
>you should copy into .../templates folder (see step 6)
>Notice : every command in console should end with dot (.)
>
>
>After these steps you will see

Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat

2012-04-05 Thread Ivan Peikov
Hi Babis,

I'm sorry to hear you are having trouble configuring OWLIM. 
All steps you made sound right and I'm not sure what could have caused the 
setup problem. One thing I could advise at first glimpse is to try and use the 
pre-built sesame workbench WARs we distribute together with OWLIM (see 
/sesame_owlim in the distribution). They have OWLIM built-in and you will only 
need to drop them in the webapps folder of the tomcat installation and restart 
the server. 
Let me know if using these WARs results in a similar exception being thrown. 

Cheers,
Ivan

On Thursday 05 April 2012 13:50:49 Babis Doulaverakis wrote:
> Hello,
> 
> I am having a problem when I try to create an OWLIM repository using
> openrdf-workbench. The repository looks like it is created (i.e. it
> appears in the list for repositories in workbench) but when i try to
> access "Namespaces" for example I get the following error from Tomcat:
> java.lang.IllegalStateException: Connection factory has been shutdown.
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConn
> ection(MultiThreadedHttpConnectionManager.java:463)
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnec
> tionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodD
> irector.java:153)
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397
> )
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323
> )
> org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:109
> 9) org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:906)
> org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:887)
> org.openrdf.repository.http.HTTPRepositoryConnection.getNamespaces(HTTPRep
> ositoryConnection.java:420)
> org.openrdf.workbench.commands.NamespacesServlet.service(NamespacesServlet
> .java:48)
> org.openrdf.workbench.base.TransformationServlet.service(TransformationSer
> vlet.java:94)
> org.openrdf.workbench.base.TransformationServlet.service(TransformationSer
> vlet.java:73)
> org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40)
> org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepository
> Servlet.java:93)
> org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java
> :131)
> org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java
> :90)
> org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java
> :109) org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40)
> org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheC
> ontrolFilter.java:52)
> 
> 
> Could you please help me on this?
> 
> What I have done is:
> - Copied owlim-lite-4.3.jar in WEB-INF\lib folder of both openrdf-workbench
> and openrdf-sesame - Copied owlim.ttl to
> openrdf-workbench\WEB-INF\lib\org\openrdf\console - Copied
> create-owlim.xsl to openrdf-workbench\transformations
> - Accessed
> http://localhost:8080/openrdf-workbench/repositories/NONE/create?type=owli
> m in order to create the repository The owlim.ttl and create-owlim.xsl were
> copied from
> http://www.mail-archive.com/owlim-discussion@ontotext.com/msg00411.html
> 
> 
> I am using Tomcat 6.0.29, Java JDK 1.6.0.29, sesame 2.6.3, owlimlite 4.3
> 
> What I eventually want to do is create an owlim repository using a custom
> rule set.
> 
> 
> Thank you,
> Babis
___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat

2012-04-05 Thread Babis Doulaverakis
Thanks Marek,

I managed to create the OWLIM repository with a custom rule set. 

I am curious about one thing though. The rule set I am using contains around 
9200 rules. I appended those rules in the Builtin_rules.pie file (in order to 
have OWL reasoning) so I now have a huge rule base. OWLIM successfully loaded 
the rule base but the memory consumption is huge even with no OWL file loaded. 
Tomcat consumes 940MB of memory (normally it is around 150MB). The memory 
consumption rises fast when the rule base is compiled but does not drop after 
compilation has finished. Is this normal behavior? I restarted Tomcat and when 
I try to access the repository I created, the rules are compiled again which 
again leads to huge memory consumption.


On more thing, in which .pie file that comes with OWLIM-lite 4.3 distribution 
are OWL/Max rules stored?

Thanks,
Babis




>
> From: Marek Šurek 
>To: Babis Doulaverakis ; Ontotext 
> 
>Sent: Thursday, April 5, 2012 2:27 PM
>Subject: Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat
> 
>
>Hi,
>if you don't need to do it through workbench I suggest far easier way to 
>create custom ruleset.
>My solution is connected to windows... windows 7 64bit
>
>
>
>1. Deploytwo official war-files included in owlim distribution .zip file (in 
>folder /sesame_owlim ) by copying them into webapps directory in Tomcat (make 
>sure you delete your previous attempt described in your mail)
>2. Unpack console.zip (also in folder /sesame_owlim in zip file)
>3. Run console through console.bat(or .sh depends on your OS) 
>(.../openrdf-sesame-console/bin/console.bat)
>4. Your first command in console should be : 
>
>connect http://localhost:8080/openrdf-sesame.
>5. Then try whether other repositories already exist by command : show r.
>    a) it there exists repository with the same name you want to create run 
>command : drop nameOfYourRepository.
>
>6. Copy your .ttl file into 
>C:/Users/YourAccountName/AppData/Roaming/Aduna/OpenRDF sesame 
>console/templates/ (notice : folder /AppData is in windows normally hidden)
>7. Open console and run command (dont forget to run step 4 - connect to 
>localhost)
>
>create nameOfYourRepository.
>
>
>
>
>Notice : nameOfYourRepository should be equal to name of your .ttl file which 
>you should copy into .../templates folder (see step 6)
>Notice : every command in console should end with dot (.)
>
>
>After these steps you will see your repository also in workbench but it will 
>have your custom ruleset specified in your .ttl file and no error should 
>occur. Workbench will normally interact with such repository, so dont worry 
>about it :).
>
>
>
>Hope it helps,
>Marek
>
>
>
>
>
>
>
>
>
> From: Babis Doulaverakis 
>To: Ontotext  
>Sent: Thursday, 5 April 2012, 12:50
>Subject: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat
> 
>
>Hello,
>
>
>I am having a problem when I try to create an OWLIM repository using 
>openrdf-workbench. The repository looks like it is created (i.e. it appears in 
>the list for repositories in workbench) but when i try to access "Namespaces" 
>for example I get the following error from Tomcat:
>java.lang.IllegalStateException: Connection factory has been shutdown. 
>org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:463)
> 
>org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
> 
>org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 
>org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 
>org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1099) 
>org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:906) 
>org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:887) 
>org.openrdf.repository.http.HTTPRepositoryConnection.getNamespaces(HTTPRepositoryConnection.java:420)
 
org.openrdf.workbench.commands.NamespacesServlet.service(NamespacesServlet.java:48)
 
org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:94)
 
org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:73)
 org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40) 
org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:93)
 
org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:131) 
org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:90) 
org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:109) 
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40) 
org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:52)
>
>
>Could you please help me on this?
>
>

Re: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat

2012-04-05 Thread Marek Šurek
Hi,
if you don't need to do it through workbench I suggest far easier way to create 
custom ruleset.
My solution is connected to windows... windows 7 64bit


1. Deploytwo official war-files included in owlim distribution .zip file (in 
folder /sesame_owlim ) by copying them into webapps directory in Tomcat (make 
sure you delete your previous attempt described in your mail)
2. Unpack console.zip (also in folder /sesame_owlim in zip file)
3. Run console through console.bat(or .sh depends on your OS) 
(.../openrdf-sesame-console/bin/console.bat)

4. Your first command in console should be : 

connect http://localhost:8080/openrdf-sesame.
5. Then try whether other repositories already exist by command : show r.
    a) it there exists repository with the same name you want to create run 
command : drop nameOfYourRepository.

6. Copy your .ttl file into 
C:/Users/YourAccountName/AppData/Roaming/Aduna/OpenRDF sesame 
console/templates/ (notice : folder /AppData is in windows normally hidden)
7. Open console and run command (dont forget to run step 4 - connect to 
localhost)

create nameOfYourRepository.


Notice : nameOfYourRepository should be equal to name of your .ttl file which 
you should copy into .../templates folder (see step 6)
Notice : every command in console should end with dot (.)

After these steps you will see your repository also in workbench but it will 
have your custom ruleset specified in your .ttl file and no error should occur. 
Workbench will normally interact with such repository, so dont worry about it 
:).


Hope it helps,
Marek






 From: Babis Doulaverakis 
To: Ontotext  
Sent: Thursday, 5 April 2012, 12:50
Subject: [Owlim-discussion] Problem with OWLIM, Sesame, Tomcat
 

Hello,

I am having a problem when I try to create an OWLIM repository using 
openrdf-workbench. The repository looks like it is created (i.e. it appears in 
the list for repositories in workbench) but when i try to access "Namespaces" 
for example I get the following error from Tomcat:
java.lang.IllegalStateException: Connection factory has been shutdown. 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:463)
 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
 org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 
org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1099) 
org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:906) 
org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:887) 
org.openrdf.repository.http.HTTPRepositoryConnection.getNamespaces(HTTPRepositoryConnection.java:420)
 
org.openrdf.workbench.commands.NamespacesServlet.service(NamespacesServlet.java:48)
 
org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:94)
 
org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:73)
 org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40) 
org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:93)
 
org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:131) 
org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:90) 
org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:109) 
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40) 
org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:52)


Could you please help me on this?

What I have done is:
- Copied owlim-lite-4.3.jar in WEB-INF\lib folder of both openrdf-workbench and 
openrdf-sesame
- Copied owlim.ttl to openrdf-workbench\WEB-INF\lib\org\openrdf\console
- Copied create-owlim.xsl to openrdf-workbench\transformations
- Accessed 
http://localhost:8080/openrdf-workbench/repositories/NONE/create?type=owlim in 
order to create the repository
The owlim.ttl and create-owlim.xsl were copied from 
http://www.mail-archive.com/owlim-discussion@ontotext.com/msg00411.html


I am using Tomcat 6.0.29, Java JDK 1.6.0.29, sesame 2.6.3, owlimlite 4.3

What I eventually want to do is create an owlim repository using a custom rule 
set.


Thank you,
Babis

___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


[Owlim-discussion] Problem with OWLIM, Sesame, Tomcat

2012-04-05 Thread Babis Doulaverakis
Hello,

I am having a problem when I try to create an OWLIM repository using 
openrdf-workbench. The repository looks like it is created (i.e. it appears in 
the list for repositories in workbench) but when i try to access "Namespaces" 
for example I get the following error from Tomcat:
java.lang.IllegalStateException: Connection factory has been shutdown. 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:463)
 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
 org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 
org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1099) 
org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:906) 
org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:887) 
org.openrdf.repository.http.HTTPRepositoryConnection.getNamespaces(HTTPRepositoryConnection.java:420)
 
org.openrdf.workbench.commands.NamespacesServlet.service(NamespacesServlet.java:48)
 
org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:94)
 
org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:73)
 org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40) 
org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:93)
 
org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:131) 
org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:90) 
org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:109) 
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40) 
org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:52)


Could you please help me on this?

What I have done is:
- Copied owlim-lite-4.3.jar in WEB-INF\lib folder of both openrdf-workbench and 
openrdf-sesame
- Copied owlim.ttl to openrdf-workbench\WEB-INF\lib\org\openrdf\console
- Copied create-owlim.xsl to openrdf-workbench\transformations
- Accessed 
http://localhost:8080/openrdf-workbench/repositories/NONE/create?type=owlim in 
order to create the repository
The owlim.ttl and create-owlim.xsl were copied from 
http://www.mail-archive.com/owlim-discussion@ontotext.com/msg00411.html


I am using Tomcat 6.0.29, Java JDK 1.6.0.29, sesame 2.6.3, owlimlite 4.3

What I eventually want to do is create an owlim repository using a custom rule 
set.


Thank you,
Babis
___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] Improvement suggestions

2012-04-05 Thread Monika Solanki
+1

Monika

On Wed, Apr 4, 2012 at 10:12 PM, Marek Šurek wrote:

> Hello Ontotext team,
> at first I have to congratulate you, you did really great job with Owlim
> 5.0. This release even it is only beta2 is much more stable than any
> previous version with tons of new features to explore. I would like to
> suggest some small improvements which can help a lot to many developers.
> 1. Do you plan to use some kind of PhpBB3-like forum instead of mailing
> list forum? There are better options for managing community : structured
> categories, topics, better search options etc. You can create categories 
> forreporting bugs, wishlist of new features, plugins, advice of
> developers(you), etc.
> 2. Do you plan to create series of tutorials how to develop applications
> with Sesame and Owlim? Advices of you as developers of Owlim and Sesame
> could help community to create better applications or embrace the
> technology more deeply. At least I would like to know more about TRREE
> reasoner and its behavior in specific situations, connection management,
> effective SPARQL query writting and all kind of stuff connected to
> performance.
> I could also provide some performance analysis I did over Owlim versions
> 4.2, 4.3, 5.0beta2.
>
> Best wishes to the next development,
> Marek
>
> ___
> Owlim-discussion mailing list
> Owlim-discussion@ontotext.com
> http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion
>
>
___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] Improvement suggestions

2012-04-05 Thread Barry Bishop

Hi Marek,

Thanks for your suggestions. As the OWLIM community grows, it has become 
apparent that we need a better way to organise things and have been 
considering this kind of forum. I can't promising anything, but I feel 
it would be nice to have something like this organised later in the year.


We are always pleased to hear about user experiences, so if you have 
performance analysis data for your use-case then this would be something 
useful. It gives us another target to aim for.


Many thanks for your thoughts and contributions,
barry

Barry Bishop
OWLIM Product Manager
Ontotext AD
Tel: +43 650 2000 237
email: barry.bis...@ontotext.com
www.ontotext.com


On 04/04/12 23:12, Marek Šurek wrote:

Hello Ontotext team,
at first I have to congratulate you, you did really great job with 
Owlim 5.0. This release even it is only beta2 is much more stable than 
any previous version with tons of new features to explore. I would 
like to suggest some small improvements which can help a lot to many 
developers.
1. Do you plan to use some kind of PhpBB3-like forum instead of 
mailing list forum? There are better options for managing community : 
structured categories, topics, better search options etc. You can 
create categories forreporting bugs, wishlist of new features, 
plugins, advice of developers(you), etc.
2. Do you plan to create series of tutorials how to develop 
applications with Sesame and Owlim? Advices of you as developers of 
Owlim and Sesame could help community to create better applications or 
embrace the technology more deeply. At least I would like to know more 
about TRREE reasoner and its behavior in specific situations, 
connection management, effective SPARQL query writtingand all kind of 
stuff connected to performance.
I could also provide some performance analysis I did over Owlim 
versions 4.2, 4.3, 5.0beta2.


Best wishes to the next development,
Marek


___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion
___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] Problem with owlim-lite-5.0.4915

2012-04-05 Thread Philip Fennell
Marek,

Thanks for the suggestion but, alas, I did not help. I’m now running Tomcat 
7.0.26.

However, what I failed to understand the difference between the:

   Imported RDF files(';' delimited and use '/')

and

   New triples file (use '/')

fields in the Workbench’s New Repository form. It appears that you should use 
the later for loading RDF files from your file system.

With this sorted-out it now appears to be working.


Regards

Philip

From: Marek Šurek [mailto:marek_su...@yahoo.co.uk]
Sent: Wednesday, April 04, 2012 9:34 PM
To: Philip Fennell; owlim-discussion@ontotext.com
Subject: Re: [Owlim-discussion] Problem with owlim-lite-5.0.4915

Hi,
I'm using the Owlim SE 5.0 on similar configuration. The only difference is Im 
using Tomcat 7 and I don't have these problems with Owlim 5.0(finally), because 
I've experienced this issue with previous versions of Owlim. Usually tomcat 
restart or complete redeployment really helped (remove deployed folders 
openrdf-sesame, openrdf-workbench ).

Marek



From: Philip Fennell 
To: "owlim-discussion@ontotext.com" 
Sent: Wednesday, 4 April 2012, 21:53
Subject: [Owlim-discussion] Problem with owlim-lite-5.0.4915

Hello,

I’ve installed, using the ??? instructions, owlim-lite-5.0.4915. I copied the 
war files into Tomcat as instructed and all appears OK. I have set-up a 
repository as instructed and I have run into the following problem.

If I either try to access the graph I created via HTTP, use the SPARQL 
interface or if I use, for example, the ‘Clear Repository’ option from the 
Workbench I get the following message:


In the browser:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: org.openrdf.repository.RepositoryException: 
Transaction failed: org.openrdf.repository.RepositoryException: 
java.util.NoSuchElementException (500)

org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:80)
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40)

org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:93)

org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:131)

org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:90)

org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:109)
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40)

org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:52)
root cause

org.openrdf.repository.RepositoryException: Transaction failed: 
org.openrdf.repository.RepositoryException: java.util.NoSuchElementException 
(500)
org.openrdf.http.client.HTTPClient.sendTransaction(HTTPClient.java:732)

org.openrdf.repository.http.HTTPRepositoryConnection.commit(HTTPRepositoryConnection.java:277)

org.openrdf.repository.base.RepositoryConnectionBase.autoCommit(RepositoryConnectionBase.java:209)

org.openrdf.repository.http.HTTPRepositoryConnection.clear(HTTPRepositoryConnection.java:348)
org.openrdf.workbench.commands.ClearServlet.doPost(ClearServlet.java:34)

org.openrdf.workbench.base.TransformationServlet.service(TransformationServlet.java:70)
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40)

org.openrdf.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:93)

org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:131)

org.openrdf.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:90)

org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:109)
org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:40)

org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:52)
note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.26 logs.




Tomcats stdout log reads:

ruleSet=owl-horst-optimized, partialRdfs=false
ERROR: no more items in 'defaultNS' parameter


Tomcats localhost log reads:

Apr 4, 2012 8:45:23 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet workbench threw exception
org.openrdf.repository.RepositoryException: Transaction failed: 
org.openrdf.repository.RepositoryException: java.util.NoSuchElementException 
(500)
at 
org.openrdf.http.client.HTTPClient.sendTransaction(HTTPClient.java:732)
at 
org.openrdf.repository.http.HTTPRepositoryConnection.commit(HTTPRepositoryConnection.java:277)
at 
org.openrdf.repository.base.RepositoryConnectionBase.autoCommit(RepositoryConnectionBase.java:209)
at 
org.openrdf.repository.http.HTTPRepositoryConnection.