Re: [Owlim-discussion] RepositoryConnection.clear() very slow

2012-01-25 Thread Johann Petrak
Am I the only one who experiences this problem or thinks that it is indeed a problem? cheers, johann On 2012-01-16 17:54, Johann Petrak wrote: > Hi all, > > I found recently that even with a moderately-sized > ontology, performing > RepositoryConnection.clear() > takes a very long time (tens

[Owlim-discussion] Problem with jdk1.7.0_02

2012-01-25 Thread Johann Petrak
Is there any known problem when using Sesame/OWLIM-Lite on a 32 bit Linux system with JDK 1.7.0_02? I am seeing a hanging condition which does not occur with Java 1.6.x in my app which embeds OWLIM-Lite and thought I ask about this before digging deeper. Cheers, johann _

[Owlim-discussion] Sesame 2.6.3 officially supported with OWLIM 4.3?

2012-01-25 Thread Johann Petrak
As was pointed out to me, Sesame 2.6.3 seems to fix problems with using Java 1.7. So I am wondering is Sesame 2.6.3 officially supported and known to be compatible with OWLIM 4.3 (especially OWLIM-Lite 4.3.4248 which originally came with sesame 2.6.0)? Should I assume compatibility if Sesame is rec

Re: [Owlim-discussion] Problem with jdk1.7.0_02

2012-01-25 Thread Marek Šurek
Hi, from my experience there is problem with jdk1.7.x and Sesame. In my case I can't simply run Sesame Console, so I think the issue is connected somehow with sesame. Try to replace your version of sesame lib, with the new one 2.6.3(it is not mentioned on main page but it is in download reposito

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Jerven Bolleman
Hi Barry, I am just raising this issue again. Sometimes the com.ontotext.AVLRepositoryManager bean does not seem to register itself other times it does. I get the instance via the PlatformMBeanServer which works most of the time but sometimes there is nothing there. final ObjectName avl = n

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Dimitar Toshev
Hi Jerven, I also wasn't able to reproduce your problem, nor do I see anything wrong with the code registering the mbeans. Could you please have a look at the Sesame logs for any warnings about failing to register mbeans? Regards, Dimitar On Wednesday 25 Jan 2012 15:12:46 Jerven Bolleman wrote

Re: [Owlim-discussion] RepositoryConnection.clear() very slow

2012-01-25 Thread John del Corral
Johann, we experience this problem also with OWLIM-Lite. Barry Norton at a Meetup in NYC recommended going to OWLIM-SE, if you can get a copy from Ontotext. We have our copy but have not tested it yet. John - Original Message - From: "Johann Petrak" To: owlim-discussion@ontotext.com S

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Jerven Bolleman
Hi Dimitar, No nothing shows up in the logs. Anything I should look out for? By the way I do not use the sesame web app so if the mbean registering depends on this somehow let me know. Regards, Jerven On Jan 25, 2012, at 2:51 PM, Dimitar Toshev wrote: > Hi Jerven, > > I also wasn't able to re

Re: [Owlim-discussion] RepositoryConnection.clear() very slow

2012-01-25 Thread Barry Bishop
Hi Johann, We have a test-case to check for excessive execution times that uses OWLIM-Lite with the owl2-rl-conf ruleset and a handful of statements. I tried adding a lot more statements and it does take longer, but nowhere near as long as you say. The only way I can make things take an exce

Re: [Owlim-discussion] RepositoryConnection.clear() very slow

2012-01-25 Thread Johann Petrak
Hi Barry, this occurs in the GATE ontology plugin which uses OWLIM-Lite as the backend. Moving to OWLIM-SE is therefore not an option :) The Ontology plugin traditionally uses by default the owl-max ruleset with the partialRDFS option set to "false" (this was determined a longer while ago to prov

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Dimitar Toshev
Hi Jerven, No, you don't need the webapp. I meant warnings like "Error registering so- and-so mbean". How exactly are you initialising and using owlim? Regards, Dimitar On Wednesday 25 Jan 2012 17:15:55 Jerven Bolleman wrote: > Hi Dimitar, > > No nothing shows up in the logs. Anything I should

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Jerven Bolleman
Hi Dimitar, I use a spring config that creates a "ConfigRepository" object which extends OwlimSchemaRepository. This is a thin wrapper to inject properties into the owlim code without using the system properties. So basically by calling the OwlimSchemaRepository constructor. Regards, Jerven

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Barry Bishop
Hi Jerven, Dimitar, This might be stating the obvious, but when OWLIM is deployed with Tomcat (and the Sesame webapp) then it won't register anything until it is loaded for the first time. (During an OWLIM-Enterprise install, users have to click on something in the workbench, e.g. 'query', w

Re: [Owlim-discussion] Problem with jdk1.7.0_02

2012-01-25 Thread Barry Bishop
Hi Johann, We do not generally test with Java 1.7 and hence do not officially support it. However, if you are having trouble then we would very much like to hear about it. Best, barry On 25/01/12 12:38, Johann Petrak wrote: Is there any known problem when using Sesame/OWLIM-Lite on a 32 bit

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Jerven Bolleman
Hi Barry, Well lets put it this way after inserting a few million statements into the an OWLIM repository the beans is not visible. Nor is it after a few queries against the repository. Does it depend on a specific class being loaded? I am looking for the com.ontotext:type=AVLRepositoryManager

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Dimitar Toshev
Hi Jerven, Everything seems fine. Can you reproduce the problem reliably - i.e. are the MBeans missing always for a given configuration or only sometimes? They should be present after OwlimSchemaRepository.initialize() completes. Also, I'm not familiar with Spring and this might sound stupid, b

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Jerven Bolleman
Hi Barry, I think that in the code path that I use the following method may not be called. public class com.ontotext.trree.big.AVLRepositoryMBeanFactory public java.util.List createAndRegisterMBeansFor(com.ontotext.trree.big.h) i.e. is there a guarantee that this method is called when constr

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Dimitar Toshev
Hi Jerven, If this method isn't called, this points to a problem with your classpath configuration. There should be a file called META-INF/services/com.ontotext.trree.mbeans.MBeanFactory on your classpath - most likely in the owlim jar. Regards, Dimitar On Wednesday 25 Jan 2012 19:11:32 Jerve

Re: [Owlim-discussion] JMX monitoring in OWLIM-SE 4.2

2012-01-25 Thread Jerven Bolleman
Hi Ditmar, They are sometimes available although today I have not seen them :(. OwlimSchemaRepository.initialize() completes succesfully Spring in my config adds two beans to the platform mbean server but when removing it the Owlim mbeans do not appear. Regards, Jerven On Jan 25, 2012, at 6:08

Re: [Owlim-discussion] Problem with jdk1.7.0_02

2012-01-25 Thread Johann Petrak
Thank you for that information! As I already mentioned elsewhere, the problem appears when using OWLIM-Lite with Sesame 2.6.1 but went away with Sesame 2.6.3 so this seems to be a Sesame problem really. Therefore I would also be interested in what the official statement about compatibility of OWLI

[Owlim-discussion] Rép. : Re: RepositoryConnection.clear() very slow

2012-01-25 Thread Fabian Cretton
Hi, I don't know if this is relevant or not, but doing some tests with OWLIM-Lite, and sometimes having to delete one context in the repository, I noticed that using the Sesame work-bench's "clear" option on a context was much slower then executing a SPARQL-update query to delete all the tripl