[
https://issues.apache.org/jira/browse/STANBOL-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037874#comment-13037874
]
Rupert Westenthaler commented on STANBOL-205:
---------------------------------------------
In my opinion deleting the local cache can not have any influence in runtime
dependencies because the Apache Sling module adds all required dependencies to
the launcher jar.
Therefore my assumption is that any error related to bundles present/missing in
the local cache can only appear at build time and not at runtime.
Here is my interpretation of the Log provided by Fabian:
Based on this line:
19.05.2011 19:54:17.555 *ERROR* [FelixStartLevel]
org.apache.stanbol.enhancer.jersey
[org.apache.stanbol.enhancer.jersey.cache.CachingDereferencerEngine] The
activate method has thrown an exception (java.lang.NoSuchMethodError:
org.apache.xerces.util.XMLChar.trim(Ljava/lang/String;)Ljava/lang/String;)
java.lang.NoSuchMethodError:
org.apache.xerces.util.XMLChar.trim(Ljava/lang/String;)Ljava/lang/String;
I found out that the ext.com.hp.hpl.jena module of Clerezza export
"org.apache.xerces.util" and internally uses xercesImpl version "2.9.1". The
org.apache.stanbol.reengineer.xerces exports "org.apache.xerces.*" and
internally uses "xercesImpl" version "2.7.1".
This might be the cause for this problem.
Further digging into the differences between xercesImpl "2.7.1" and "2.9.1"
also showed that the version "2.9.1" depends on two additional bundles
xml-apis/xml-apis/1.3.04
xml-resolver/xml-resolver/1.2
and that the "xml-apis" bundle exports the the "org.xml.sax" package.
Therefore the export of version "2.7.1" of the
org.apache.stanbol.reengineer.xerces might also be the reason for the
ClassNotFoundExceptions related to org/xml/sax/SAXException.
Based on that I assume that updating the version of "xercesImpl" in the
"org.apache.stanbol.reengineer.xerces" bundle should solve the problem for now.
> Unsatisfied Components when using KReS launcher
> -----------------------------------------------
>
> Key: STANBOL-205
> URL: https://issues.apache.org/jira/browse/STANBOL-205
> Project: Stanbol
> Issue Type: Bug
> Components: KReS
> Reporter: Fabian Christ
> Labels: Dependencies, KReS
> Attachments: error.log
>
>
> When trying to launch Stanbol with the KReS launcher there are several
> components that hava unsatisfied dependencies. E.g.:
> org.apache.stanbol.reasoners.base.impl.ConsistentRefactorerImpl
> org.apache.stanbol.reasoners.web.JerseyEndpoint
> org.apache.stanbol.reengineer.db.DBExtractor
> org.apache.stanbol.reengineer.web.JerseyEndpoint
> org.apache.stanbol.reengineer.xml.XMLExtractor
> org.apache.stanbol.rules.manager.changes.RuleStoreImpl
> org.apache.stanbol.rules.refactor.impl.RefactorerImpl
> org.apache.stanbol.rules.web.RulesFragment
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira