./stop: 142: exec: /home/charly/semantic-turkey/semanticturkey-2.0/bin/karaf: not found[INFO] ------------------------------------------------------------------------
[INFO] Building Semantic Turkey CORE Framework 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for it.uniroma2.art.coda:coda-osgi-bundle:jar:1.5-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for it.uniroma2.art.coda:coda-converters:jar:1.5-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Semantic Turkey .................................... SUCCESS [ 0.948 s]
[INFO] Codegen - Annotations .............................. SUCCESS [ 7.157 s]
[INFO] st-changetracking-sail ............................. SUCCESS [ 19.252 s]
[INFO] Semantic Turkey CORE Framework ..................... FAILURE [ 0.499 s]
[INFO] Codegen - AnnotationProcessors ..................... SKIPPED
[INFO] Semantic Turkey CORE Services ...................... SKIPPED
[INFO] Semantic Turkey Console ............................ SKIPPED
[INFO] Semantic Turkey Builder ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.059 s
[INFO] Finished at: 2017-12-01T11:56:37+01:00
[INFO] Final Memory: 32M/351M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project st-core-framework: Could not resolve dependencies for project it.uniroma2.art.semanticturkey:st-core-framework:bundle:3.0-SNAPSHOT: The following artifacts could not be resolved: it.uniroma2.art.coda:coda-osgi-bundle:jar:1.5-SNAPSHOT, it.uniroma2.art.coda:coda-converters:jar:1.5-SNAPSHOT: Failure to find it.uniroma2.art.coda:coda-osgi-bundle:jar:1.5-SNAPSHOT in http://clojars.org/repo was cached in the local repository, resolution will not be reattempted until the update interval of clojars.org has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :st-core-frameworkDear Charly,
Point by point:
I've been testing VB3 for few days now and it seems to be the perfect tool for building the thesaurus I need to control the vocabulary of my web app!
Happy you have positive feelings with it :-) let’s solve the issues here below:
> However I'm facing some issues and some help would be much appreciated.
> VB3 web app start properly and I can start to create my thesaurus.

Currently, you can align a concept to concepts from another thesaurus/ontology also loaded in VB in another project. On a same VB3 instance you might have projects hold by different users and thus we want to protect access to others’ content. So, in order to access other projects’ content, you need to setup the visibility of content among projects. As an administrator, you will be seeing the list of projects as in the following window:

Click on the ACL, and give access to the project you are working on, to the project you want to make visible. For instance, in the following table you are controlling which projects can access the content of testSKOS. SYSTEM is considered to be the standard access (that is, when you are accessing testSKOS content being logged on testSKOS itself), while the lines related to the other projects express the possibility to access testSKOS content from them (i.e. when logged on them). After you have setup the access, I recommend to close and reopen the projects in order to refresh the visibility. After that, you can access from a project X all projects which have granted access to their content to project X


This is probably due to the fact that I cannot stop SemanticTurkey server properly. I've been using the semanticturkey-2.0 pre-built version. I'm using a debian 9 distribution and I first add to change to file format of all .sh files from windows to unix in
order to be able to execute them. Still, only the st_server-run script seems to work fine. While running stop script I have the following return:
./stop: 142: exec: /home/charly/semantic-turkey/semanticturkey-2.0/bin/karaf: not found
No worries, this is a known issue with only a configuration of RDF4J. This is mentioned here:
http://vocbench.uniroma2.it/doc/faq/#bug_and_issues
you are not losing the repository, but the changes brought during the last session
the short answer is: if you close the project before closing ST, then the data will be stored without any loss. In any case, since it is always possible to have a sudden breakdown/crash/whatever, I recommend to use a separate triple store (http://vocbench.uniroma2.it/doc/sys/#separate_triple_store) or, for very small projects, use the in-memory configuration of RDF4J. The separate triple store is in any case highly recommended for collaborative projects and/or big amount of data. I would use an internal repo only for editing an ontlogy, never for a thesaurus.
Thanks for the detailed configuration, much appreciated as it “helps in helping”. However the thing is simple. Sometimes during the evolution of ST, we may have evolved also other dependencies under our control (this is the case in this period) and thus cannot be resolved automatically through Maven but need to be downloaded and compiled as well.
The project here is: http://art.uniroma2.it/coda/
Hope they help. Pls let us now if you need further assistance,
Cheers,
Armando
--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
vocbench-use...@googlegroups.com.
Visit this group at
https://groups.google.com/group/vocbench-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/vocbench-user/59a8f1f2-3739-4de6-a187-101d9cfa5cf5%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.
Dear Charly,
Sorry I’m not sure I got what you mean by “were empty”. You mean the project entry is available as a row on the project list, but the metadata (model, lexicalization model etc..) is not present?
A few notes for you just by going blind…

Hope it helps,
Armando
--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
vocbench-use...@googlegroups.com.
Visit this group at
https://groups.google.com/group/vocbench-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/vocbench-user/b9f84399-5087-42f0-936e-7edb39921644%40googlegroups.com.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"/>
<title>Error 500 Server Error</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing
/semanticturkey/it.uniroma2.art.semanticturkey/st-core-services/InputOutput/loadRDF.
Reason:
<pre> Server Error</pre></p><h3>Caused
by:</h3><pre>org.springframework.web.util.NestedServletException:
Handler processing failed; nested exception is
java.lang.OutOfMemoryError: Java heap space
at
org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1275)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:951)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
it.uniroma2.art.semanticturkey.security.CORSFilter.doFilter(CORSFilter.java:40)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:271)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3236)
at
java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191)
at
org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.addModel(HTTPRepositoryConnection.java:589)
at
org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.flushTransactionState(HTTPRepositoryConnection.java:642)
at
org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.addWithoutCommit(HTTPRepositoryConnection.java:572)
at
org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.addWithoutCommit(AbstractRepositoryConnection.java:606)
at
org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.add(AbstractRepositoryConnection.java:471)
at
org.eclipse.rdf4j.repository.base.RepositoryConnectionWrapper.add(RepositoryConnectionWrapper.java:186)
at
it.uniroma2.art.semanticturkey.ontology.impl.OntologyManagerImpl.loadOntologyData(OntologyManagerImpl.java:1022)
at
it.uniroma2.art.semanticturkey.services.core.InputOutput.loadRDFInternal(InputOutput.java:134)
at
it.uniroma2.art.semanticturkey.services.core.InputOutput.loadRDF(InputOutput.java:109)
at
it.uniroma2.art.semanticturkey.services.core.InputOutput$$FastClassBySpringCGLIB$$ef882a37.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:93)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.search.SearchUpdateInterceptor.invoke(SearchUpdateInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.versioning.VersioningMetadataInterceptor.invoke(VersioningMetadataInterceptor.java:139)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.history.HistoryMetadataInterceptor.invoke(HistoryMetadataInterceptor.java:153)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.services.aspects.WritabilityCheckerInterceptor.invoke(WritabilityCheckerInterceptor.java:48)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
</pre>
<h3>Caused by:</h3><pre>java.lang.OutOfMemoryError:
Java heap space
at java.util.Arrays.copyOf(Arrays.java:3236)
at
java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191)
at
org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.addModel(HTTPRepositoryConnection.java:589)
at
org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.flushTransactionState(HTTPRepositoryConnection.java:642)
at
org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection.addWithoutCommit(HTTPRepositoryConnection.java:572)
at
org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.addWithoutCommit(AbstractRepositoryConnection.java:606)
at
org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.add(AbstractRepositoryConnection.java:471)
at
org.eclipse.rdf4j.repository.base.RepositoryConnectionWrapper.add(RepositoryConnectionWrapper.java:186)
at
it.uniroma2.art.semanticturkey.ontology.impl.OntologyManagerImpl.loadOntologyData(OntologyManagerImpl.java:1022)
at
it.uniroma2.art.semanticturkey.services.core.InputOutput.loadRDFInternal(InputOutput.java:134)
at
it.uniroma2.art.semanticturkey.services.core.InputOutput.loadRDF(InputOutput.java:109)
at
it.uniroma2.art.semanticturkey.services.core.InputOutput$$FastClassBySpringCGLIB$$ef882a37.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:93)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.search.SearchUpdateInterceptor.invoke(SearchUpdateInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.versioning.VersioningMetadataInterceptor.invoke(VersioningMetadataInterceptor.java:139)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.history.HistoryMetadataInterceptor.invoke(HistoryMetadataInterceptor.java:153)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
it.uniroma2.art.semanticturkey.services.aspects.WritabilityCheckerInterceptor.invoke(WritabilityCheckerInterceptor.java:48)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
</pre>
<hr><i><small>Powered by
Jetty://</small></i><hr/>
</body>
</html>
Yes a change in the heap will solve.
If you load first in GDB first and then you access as you wrote, it is fine.
http://vocbench.uniroma2.it/doc/user/global_data_management.jsf#load_data
However, if you project supports validation and you need to load large amounts of data, you might be missing the possibility to do the following:
Pls consider that, if you have validation enabled, the import of a large dataset will be very expensive. However, the above option (that you can enable only through VB) will allow the operation to skip the validation of the data it loads. Otherwise, since the validation is managed through a sail (and is thus part of the manager of the repository) every action passed directly through GDB has to undergo validation.
For Agrovoc, for a project with both history and validation, I had to setup (if I recall well) the max memory of the heap to 6Gb,
Cheers,
Armando
From: vocben...@googlegroups.com [mailto:vocben...@googlegroups.com]
On Behalf Of charly....@univ-grenoble-alpes.fr
Sent: Tuesday, December 5, 2017 6:09 PM
To: vocbench-user <vocben...@googlegroups.com>
Subject: [vocbench-user] Re: Testing vocbench to build a thesaurus from scratch - VB3 and SemanticTurkey issues
--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
vocbench-use...@googlegroups.com.
Visit this group at
https://groups.google.com/group/vocbench-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/vocbench-user/136a40b3-776f-442a-8c56-4d05103ddb7f%40googlegroups.com.