Hello Mano,

I agree. At least an exception in the error.log would be great.

Cheers,
Gin

> On 18 Jun 2015, at 07:50, Mano Swerts <mano.swe...@aca-it.be> wrote:
> 
> Hi Gin,
> 
> I had the same issue and the *no-security* option definitely solves this.
> Maybe a JIRA issue should be created for this?
> 
> Kind regards.
> 
> On Wed, Jun 17, 2015 at 10:11 PM Gintautas Sulskus <gin...@gmail.com 
> <mailto:gin...@gmail.com>> wrote:
> 
>> Hi,
>> 
>> deactivating security with the "-no-security" option seems to solve the
>> issue:
>> java -Xmx1024m -XX:MaxPermSize=256M -server
>> org.apache.stanbol.launchers.full*.jar -no-security
>> 
>> Unfortunately this issue is not reflected in the logs regardless the
>> logging level.
>> 
>> Cheers,
>> Gin
>> 
>> Best Regards,
>> Gintautas Sulskus
>> 
>> On Fri, Jun 12, 2015 at 7:46 PM, Gintautas Sulskus <gin...@gmail.com>
>> wrote:
>> 
>>> Hi Alessandro,
>>> 
>>> thanks for the quick reply.
>>> 
>>> 
>>> ** what is your environment? (OS, JVM, what launcher, what revision
>>> ofStanbol did you compile)*
>>> OS: Ubuntu 14.04.2, 64bit
>>> JAVA: 1.8.0_45-b14 64-Bit Oracle
>>> Stanbol revision: trunk,
>>> 
>> https://github.com/apache/stanbol/tree/f6b1f85b36c361043980d64d4d619ffd237f4f95
>>> I launch the full stack: java -Xmx8g -jar
>>> 
>> ./launchers/full/target/org.apache.stanbol.launchers.full-1.0.0-SNAPSHOT.jar
>>> I can launch it with or without sudo. Runs just fine.
>>> 
>>> 
>>> ** what did you do to upload the ontologies (curl command, Web
>>> interface,if so did you set the format yourself or auto)*
>>> I use /ontonet web interface. I tried uploading a file or fetching it
>> from
>>> a URL. Neither specific nor auto formats work.
>>> 
>>> 
>>> 
>>> ** what other symptom of error did you get beside the log? if you go
>> tothe
>>> /ontonet endpoint again, are the entries for those ontologies notshowing
>>> up?*
>>> 
>>> Stanbol launcher throws a few suspicious debug/warning messages [3].
>>> Tried to load RDF sample [1] again and got parsing error [2].
>>> 
>>> After many attempts to load any of the DBs via web interface, lists
>>> "Stored ontologies" and "Orphan ontologies" are empty in /ontonet.
>>> Moreover, if I go to /ontonet/registry I see 5 preloaded ontology libs:
>>> 
>>>   - *SocialNetworks
>>>   <
>> http://stanbol.apache.org/ontologies/registries/stanbol_network/SocialNetworks
>>  
>> <http://stanbol.apache.org/ontologies/registries/stanbol_network/SocialNetworks>>*
>> :
>>>   5 ontologies *(not cached)*
>>>   - *GeneralPurposeOntologies
>>>   <
>> http://stanbol.apache.org/ontologies/registries/stanbol_network/GeneralPurposeOntologies
>>  
>> <http://stanbol.apache.org/ontologies/registries/stanbol_network/GeneralPurposeOntologies>>*
>> :
>>>   7 ontologies *(not cached)*
>>>   - *Foundational
>>>   <
>> http://stanbol.apache.org/ontologies/registries/stanbol_network/Foundational 
>> <http://stanbol.apache.org/ontologies/registries/stanbol_network/Foundational>>*
>> :
>>>   2 ontologies *(not cached)*
>>>   - *W3C
>>>   <http://stanbol.apache.org/ontologies/registries/stanbol_network/W3C 
>>> <http://stanbol.apache.org/ontologies/registries/stanbol_network/W3C>>*
>> :
>>>   3 ontologies *(not cached)*
>>>   - *Alignments
>>>   <
>> http://stanbol.apache.org/ontologies/registries/stanbol_network/Alignments 
>> <http://stanbol.apache.org/ontologies/registries/stanbol_network/Alignments>>*
>> :
>>>   1 ontologies *(not cached)*
>>> 
>>> However, clicking on them says:
>>> The requested URL /ontologies/registries/stanbol_network/SocialNetworks
>>> was not found on this server.
>>> 
>>> If that means something, I can see
>>> 
>> ./stanbol/data/registries/default/target/classes/org/apache/stanbol/data/registries/default/stanbol_network.owl
>>> 
>>> Cheers,
>>> Gin
>>> 
>>> References
>>> *[1]*
>>> http://sws.geonames.org/3020251/about.rdf
>>> 
>>> *[2]*
>>> 12.06.2015 19:28:31.785 *INFO* [qtp44210413-89]
>>> 
>> org.apache.stanbol.ontologymanager.multiplexer.clerezza.ontology.ClerezzaOntologyProvider
>>> found http://sws.geonames.org/3020251/about.rdf in
>>> http://sws.geonames.org/3020251/about.rdf
>>> 12.06.2015 19:28:31.825 *ERROR* [qtp44210413-89]
>>> 
>> org.apache.stanbol.ontologymanager.multiplexer.clerezza.ontology.ClerezzaOntologyProvider
>>> All parsers failed, giving up.
>>> 
>>> *[3]*
>>> 12.06.2015 19:18:14.136 *INFO * [main] Setting
>>> sling.home=/home/devUser/stanbol/stanbol (system property sling.home)
>>> 12.06.2015 19:18:14.138 *INFO * [main] Starting Apache Sling in
>>> /home/devUser/stanbol/stanbol
>>> 12.06.2015 19:18:14.141 *INFO * [main] Sling  Extension Lib Home :
>>> /home/devUser/stanbol/stanbol/ext
>>> 12.06.2015 19:18:14.146 *INFO * [main] Checking launcher JAR in folder
>>> /home/devUser/stanbol/stanbol
>>> 12.06.2015 19:18:14.156 *INFO * [main] Existing launcher is up to date,
>>> using it: 5.0.0.2_6_0 (org.apache.sling.launchpad.base.jar)
>>> 12.06.2015 19:18:14.157 *INFO * [main] Loading launcher class
>>> org.apache.sling.launchpad.base.app.MainDelegate from
>>> org.apache.sling.launchpad.base.jar
>>> 12.06.2015 19:18:14.158 *INFO * [main] External Libs Home (ext) is null
>> or
>>> does not exists.
>>> 12.06.2015 19:18:14.179 *INFO * [main] Setting
>>> sling.launchpad=/home/devUser/stanbol/stanbol
>>> 12.06.2015 19:18:14.179 *INFO * [main] Starting launcher ...
>>> 12.06.2015 19:18:14.179 *INFO * [main] HTTP server port: 8080
>>> [DEBUG] Ignoring Servlet Service [javax.servlet.Servlet], alias is
>> missing
>>> or empty
>>> [INFO] Http service whiteboard started
>>> INFO : org.apache.felix.scr (142):  Version = 1.8.2
>>> [DEBUG] Ignoring Servlet Service [javax.servlet.Servlet], alias is
>> missing
>>> or empty
>>> 12.06.2015 19:18:15.202 *INFO* [FelixStartLevel]
>>> org.apache.sling.commons.logservice Service
>>> [org.apache.sling.commons.logservice.internal.LogServiceFactory,42,
>>> [org.osgi.service.log.LogService]] ServiceEvent REGISTERED
>>> 12.06.2015 19:18:15.205 *INFO* [FelixStartLevel]
>>> org.apache.sling.commons.logservice Service
>>> [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,43,
>>> [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED
>>> 12.06.2015 19:18:15.205 *INFO* [FelixStartLevel]
>>> org.apache.sling.commons.logservice BundleEvent STARTED
>>> 12.06.2015 19:18:15.205 *INFO* [FelixStartLevel]
>>> org.apache.felix.configadmin BundleEvent STARTING
>>> 12.06.2015 19:18:15.248 *INFO* [FelixStartLevel]
>>> org.apache.felix.dependencymanager.runtime BundleEvent RESOLVED
>>> 12.06.2015 19:18:15.248 *INFO* [FelixStartLevel]
>>> org.apache.felix.dependencymanager.runtime BundleEvent STARTING
>>> Jun 12, 2015 7:18:16 PM com.hazelcast.osgi.OSGiScriptEngineManager
>>> WARNING: Found ScriptEngineFactory candidate for
>>> com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load
>> class!
>>> -> java.lang.ClassNotFoundException:
>>> com.sun.script.javascript.RhinoScriptEngineFactory not found by
>>> com.hazelcast [242]
>>> 
>>> Best Regards,
>>> Gintautas Sulskus
>>> 
>>> On Fri, Jun 12, 2015 at 6:27 PM, Alessandro Adamou <
>>> alessandro.ada...@open.ac.uk> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I was able to upload those ontologies.  The log messages below do not
>>>> seem to be fatal (for example, the Geonames RDF is not a named ontology,
>>>> so it is fine that it bills it as anonymous - it will give it an ID
>>>> anyway; and if you do not set a format, it will try all of them).
>>>> 
>>>> So, usual round of questions
>>>> * what is your environment? (OS, JVM, what launcher, what revision of
>>>> Stanbol did you compile)
>>>> * what did you do to upload the ontologies (curl command, Web interface,
>>>> if so did you set the format yourself or auto)
>>>> * what other symptom of error did you get beside the log? if you go to
>>>> the /ontonet endpoint again, are the entries for those ontologies not
>>>> showing up?
>>>> 
>>>> Alessandro
>>>> 
>>>> 
>>>> 
>>>> On 12/06/2015 17:58, Gintautas SUlskus wrote:
>>>> 
>>>>> Hi Everyone,
>>>>> 
>>>>> I am unable to import any ontology DB via ontomanager.
>>>>> I have tried NT,TTL, RDFXML formats from various sources such as
>>>>> DBpedia or [1]. [2] has been verified by [3] but still fails with
>>>>> ontonet.
>>>>> All of them fail with the following or similar exception:
>>>>> 
>>>>> 12.06.2015 17:48:03.878 *ERROR* [qtp1628946964-91]
>>>>> org.apache.stanbol.commons.owl.util.OWLUtils Parsing failed for format
>>>>> text/rdf+nt. Returning null.
>>>>> 12.06.2015 17:48:03.878 *WARN* [qtp1628946964-91]
>>>>> org.apache.stanbol.commons.owl.util.OWLUtils  *** No ontology ID
>>>>> found, ontology has a chance of being anonymous.
>>>>> 12.06.2015 17:48:03.878 *INFO* [qtp1628946964-91]
>>>>> org.apache.stanbol.commons.owl.util.OWLUtils  ... Triples scanned :
>>>>> 1024; filtered in : 0
>>>>> 12.06.2015 17:48:03.878 *INFO* [qtp1628946964-91]
>>>>> org.apache.stanbol.commons.owl.util.OWLUtils  ... Time : 22 ms
>>>>> 
>>>>> I was curious, do you actually use ontonet? If you do, could you
>>>>> please provide me with a working DB or give me some tips regarding
>>>>> 
>>>>> Cheers,
>>>>> Gin
>>>>> 
>>>>> References
>>>>> [1]http://zbw.eu/stw/versions/latest/download/about
>>>>> [2]http://sws.geonames.org/3020251/about.rdf
>>>>> [3]http://www.w3.org/RDF/Validator/
>>>>> 
>>>>> 
>>>> -- The Open University is incorporated by Royal Charter (RC 000391), an
>>>> exempt charity in England & Wales and a charity registered in Scotland
>> (SC
>>>> 038302). The Open University is authorised and regulated by the
>> Financial
>>>> Conduct Authority.

Reply via email to