Hi, On Fri, Jul 6, 2012 at 5:00 PM, Kevin Milburn <kmilb...@gpslsolutions.com> wrote: > On 2012/07/05 18:22, Jukka Zitting wrote: >> upgrade to the latest 1.2 SNAPSHOT where declarative services is no longer >> needed (see https://issues.apache.org/jira/browse/TIKA-896). > > I've built and installed the 1.2 SNAPSHOT, but it has made no difference.
Hmm, do you start/activate the bundles after deploying them to the OSGi environment? I've seen some OSGi setups that only resolve bundles by default, which only makes the contained classes available, but doesn't start up the services provided by the bundles. > It still suffers from the same fundamental problem that the ServiceLoader > (in tika-core) cannot find "META-INF/services/org.apache.tika.parser.Parser" > (in tika-bundle). It's not supposed to. The tika-bundle should start up Parser and Detector services that tika-core will then access through the OSGi framework. As you mentioned, OSGi and SPI don't work that well together, which is why we're using the OSGi services when Tika gets deployed to an OSGi environment. BR, Jukka Zitting