You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Alessandro Adamou (JIRA)" <ji...@apache.org> on 2012/06/25 18:08:44 UTC

[jira] [Resolved] (STANBOL-667) New Parent breaks HermiT reasoner bundle

     [ https://issues.apache.org/jira/browse/STANBOL-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Adamou resolved STANBOL-667.
---------------------------------------

    Resolution: Fixed

This was solved (no longer a blocker) by
(1) rebuilding HermiT without dependencies (Thanks Rupert!)
(2) including jautomata-core in the embedded Maven repository
(3) also including the same owlapi 3.2.3 as the one built by commons.owl (not elegant, but it wasn't building otherwise)

If one finds a better solution than (3) please commit it for STANBOL-664
                
> New Parent breaks HermiT reasoner bundle
> ----------------------------------------
>
>                 Key: STANBOL-667
>                 URL: https://issues.apache.org/jira/browse/STANBOL-667
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Parent, Reasoners
>            Reporter: Alessandro Adamou
>            Priority: Blocker
>
> Building the reasoners.hermit bundle (in the contrib directory) against the most recent parent in the trunk causes this error to be thrown on bundle activation:
> ================
> ERROR: Bundle org.apache.stanbol.reasoners.hermit [175]: Error starting/stopping bundle. (org.osgi.framework.BundleException: Constraint violation for package 'org.semanticweb.owlapi.util' when resolving module 175.0 between existing export 175.0.org.semanticweb.owlapi.util NO BLAME and uses constraint 59.0.org.semanticweb.owlapi.util BLAMED ON [[175.0] package; (&(package=org.apache.stanbol.reasoners.owlapi)(version>=0.10.0)), [101.0] package; (&(package=org.semanticweb.owlapi.util)(version>=0.10.0))])
> org.osgi.framework.BundleException: Constraint violation for package 'org.semanticweb.owlapi.util' when resolving module 175.0 between existing export 175.0.org.semanticweb.owlapi.util NO BLAME and uses constraint 59.0.org.semanticweb.owlapi.util BLAMED ON [[175.0] package; (&(package=org.apache.stanbol.reasoners.owlapi)(version>=0.10.0)), [101.0] package; (&(package=org.semanticweb.owlapi.util)(version>=0.10.0))]
>         at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3449)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
>         at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1333)
>         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:270)
>         at java.lang.Thread.run(Thread.java:680)
> ================
> If the same bundle is compiled using the 0.9.0-incubating parent instead, the resulting bundle and its component seems to activate fine.
> Although the HermiT bundle is in the contrib folder, it is still maintained. It is not built by default due to license issues, but it must be working nonetheless, as we have no other OWL 2 reasoner.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira