[ 
https://issues.apache.org/jira/browse/TIKA-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241273#comment-13241273
 ] 

Maxim Valyanskiy commented on TIKA-593:
---------------------------------------

I we have another problem with Tika server. We combine all dependency jar's 
into one big jar that can be run via 'java -jar tika-server.jar'. It includes 
Tika with all parsers, web-server and etc.

When I try to run it a have following exception:

{noformat}
SEVERE: Can't start
org.apache.cxf.service.factory.ServiceConstructionException
        at 
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:190)
        at org.apache.tika.server.TikaServerCli.main(TikaServerCli.java:92)
Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the 
namespace http://cxf.apache.org/transports/http.
        at 
org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:126)
        at 
org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:88)
        at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)
        at 
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:151)
        ... 1 more

{noformat}

I think that something is wrong in bundle-plugin configuration
                
> Tika network server
> -------------------
>
>                 Key: TIKA-593
>                 URL: https://issues.apache.org/jira/browse/TIKA-593
>             Project: Tika
>          Issue Type: New Feature
>          Components: general
>    Affects Versions: 0.10
>            Reporter: Jukka Zitting
>            Assignee: Chris A. Mattmann
>             Fix For: 1.2
>
>         Attachments: TIKA-593.Mattmann.032612.patch.2.txt, 
> TIKA-593.Mattmann.032612.patch.txt, TIKA-593.Mattmann.032712.patch.2.txt, 
> TIKA-593.Mattmann.032712.patch.txt, TIKA-593_pom.diff
>
>
> It would be cool to be able to run Tika as a network service that accepts a 
> binary document as input and produces the extracted content (as XHTML, text, 
> or just metadata) as output. A bit like TIKA-169, but without the dependency 
> to a servlet container.
> I'd like to be able to set up and run such a server like this:
>     $ java -jar tika-app.jar --port 1234
> We should also add a NetworkParser class that acts as a local client for such 
> a service. This way a lightweight client could use the full set of Tika 
> parsing functionality even with just the tika-core jar within its classpath.

--
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

        

Reply via email to