Dear all,

I have a question about the use of tika engine to detect the content-type
of uploaded document. Does it require any special configuration of stanbol?
Currently, trying to send a docx file to the local running instance
curl -X POST -H "Accept: text/turtle" -T test.docx
http://dev.iks-project.eu:8080/enhancer/engine/tika
results in an error (see below), while the same request to
http://dev.iks-project.eu:8080
returns correct metadata.

<p>Problem accessing /enhancer/engine/tika. Reason:
<pre>    Enhancement Chain failed because of required Engine 'tika' failed
with Message: Unable to process ContentItem
'&lt;urn:content-item-sha1-445158f36b9d4c42842c1f190950891524ba957f&gt;'
with Enhancement Engine 'tika' because the engine is currently not
active(Reason: Unexpected Exception while processing ContentItem
&lt;urn:content-item-sha1-445158f36b9d4c42842c1f190950891524ba957f&gt; with
EnhancementJobManager: class
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl)!</pre></p><h3>Caused
by:</h3><pre>org.apache.stanbol.enhancer.servicesapi.ChainException:
Enhancement Chain failed because of required Engine 'tika' failed with
Message: Unable to process ContentItem
'&lt;urn:content-item-sha1-445158f36b9d4c42842c1f190950891524ba957f&gt;'
with Enhancement Engine 'tika' because the engine is currently not
active(Reason: Unexpected Exception while processing ContentItem
&lt;urn:content-item-sha1-445158f36b9d4c42842c1f190950891524ba957f&gt; with
EnhancementJobManager: class
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl)!
    at
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl.enhanceContent(EventJobManagerImpl.java:153)
    at
org.apache.stanbol.enhancer.jersey.resource.AbstractEnhancerResource.enhance(AbstractEnhancerResource.java:233)
    at
org.apache.stanbol.enhancer.jersey.resource.AbstractEnhancerResource.enhanceFromData(AbstractEnhancerResource.java:215)

Also, during Stanbol startup I get an exception message:

ERROR: Bundle org.apache.stanbol.enhancer.engines.refactor [105]: Error
starting
slinginstall:C:\Work\backup\stanbol\launchers\stanbol\startup\35\org.apache.stanbol.enhancer.eng
ines.refactor-0.10.0-SNAPSHOT.jar (org.osgi.framework.BundleException:
Unresolved constraint in bundle
org.apache.stanbol.enhancer.engines.refactor [105]: Unable to resolve 105.
0: missing requirement [105.0] package;
(&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.stanbol.enhancer.engines.refactor [105]: Unable to resolve
105.0: missing requirement [105.0] pack
age;
(&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0)))
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:722)

Can it have something to do with the issue?

Thank you!
Andriy Nikolov

-- 

*Dr Andriy Nikolov
*

*R&D Engineer*

F +49 6227 3849-565

[email protected]<https://deepinsight:50443/int/resource/[email protected]>

http://www.fluidops.com

*fluid Operations AG*

Altrottstr. 31

69190 Walldorf, Germany

Geschäftsführer/Managing Directors: Vasu Chandrasekhara, Dr. Andreas
Eberhart, Dr. Stefan Kraus, Dr. Ulrich Walther

Beirat/Advisory Board: Prof. Dr. Andreas Reuter, Thomas Reinhart

Registergericht/Commercial Register: Mannheim, HRB 704027

USt-Id Nr./VAT-No.: DE258759786

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

Reply via email to