Hi David, Alessandro, all,

the problem is related to the rule ontology location provided as default by the 
RuleStore component. 
In fact, as you reported it is 
http://ontologydesignpatterns.org/ont/iks/kres/rmi_config.owl so a URI instead 
of being a file system location.
This obviously causes the java.io.FileNotFoundException.
I have just opened an issue on jira about that (see STANBOL-466) and I am 
working on fixing it.

Best.
Andrea

On Jan 18, 2012, at 8:30 PM, David Riccitelli wrote:

> Ciao Alessandro,
> 
> I have the following two settings:
> [1] Rule namespace: http://kres.iks-project.eu/ontology/meta/rmi.owl#
> [2] Rule ontology location:
> http://ontologydesignpatterns.org/ont/iks/kres/rmi_config.owl
> 
> Everything seems fine here ...
> 
> David
> 
> On Wed, Jan 18, 2012 at 5:18 PM, Alessandro Adamou <[email protected]>wrote:
> 
>> Ciao David, and thanks for the prompt notification!
>> 
>> works for me on HEAD with default settings though, so I'm wondering why
>> the exception message has that misspelled URI.
>> 
>> If you open the Felix console (Configuration tab) and go to Apache Stanbol
>> Rule Store, what is the value of "Rule ontology location"?
>> 
>> Thanks
>> 
>> Alessandro
>> 
>> 
>> 
>> On 1/18/12 12:20 PM, David Riccitelli wrote:
>> 
>>> Hello,
>>> 
>>> When starting stanbol with the Refactorer engine, I get this error, which
>>> I
>>> believe is due to a type somewhere (http:/
>>> ontologydesignpatterns.org/**ont/iks/kres/rmi_config.owl<http://ontologydesignpatterns.org/ont/iks/kres/rmi_config.owl>
>>> ):
>>> 
>>> 
>>> 18.01.2012 11:19:11.868 *ERROR* [FelixStartLevel]
>>> org.apache.stanbol.rules.**manager.changes.RuleStoreImpl Cannot store the
>>> ontology  java.io.FileNotFoundException: http:/
>>> ontologydesignpatterns.org/**ont/iks/kres/rmi_config.owl<http://ontologydesignpatterns.org/ont/iks/kres/rmi_config.owl>(No
>>>  such file
>>> or directory)
>>>      at java.io.FileOutputStream.open(**Native Method)
>>>      at java.io.FileOutputStream.<**init>(FileOutputStream.java:**209)
>>>      at java.io.FileOutputStream.<**init>(FileOutputStream.java:**99)
>>>      at
>>> org.apache.stanbol.rules.**manager.changes.RuleStoreImpl.**
>>> saveOntology(RuleStoreImpl.**java:811)
>>>      at
>>> org.apache.stanbol.rules.**manager.changes.RuleStoreImpl.**
>>> addRecipe(RuleStoreImpl.java:**358)
>>>      at
>>> org.apache.stanbol.enhancer.**engines.refactor.**
>>> RefactorEnhancementEngine.**activate(**RefactorEnhancementEngine.**
>>> java:622)
>>>      at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native
>>> Method)
>>> 
>>> 
>> 
>> --
>> M.Sc. Alessandro Adamou
>> 
>> Alma Mater Studiorum - Università di Bologna
>> Department of Computer Science
>> Mura Anteo Zamboni 7, 40127 Bologna - Italy
>> 
>> Semantic Technology Laboratory (STLab)
>> Institute for Cognitive Science and Technology (ISTC)
>> National Research Council (CNR)
>> Via Nomentana 56, 00161 Rome - Italy
>> 
>> 
>> "As for the charges against me, I am unconcerned. I am beyond their timid,
>> lying morality, and so I am beyond caring."
>> (Col. Walter E. Kurtz)
>> 
>> Not sent from my iSnobTechDevice
>> 
>> 
> 
> 
> -- 
> David Riccitelli
> 
> ********************************************************************************
> InsideOut10 s.r.l.
> P.IVA: IT-11381771002
> Fax: +39 0110708239
> ---
> LinkedIn: http://it.linkedin.com/in/riccitelli
> Twitter: ziodave
> ---
> Layar Partner 
> Network<http://www.layar.com/publishing/developers/list/?page=1&country=&city=&keyword=insideout10&lpn=1>
> ********************************************************************************


Reply via email to