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

Chris A. Mattmann commented on TIKA-593:
----------------------------------------

With the latest version (1.1-trunk) of Tika, I tried building tika-server and 
got this unit test failure:

{noformat}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tika.server.TikaResourceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.374 sec
Running org.apache.tika.server.UnpackerResourceTest
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.617 sec <<< 
FAILURE!
Running org.apache.tika.server.MetadataResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.346 sec

Results :

Tests in error: 
  testExeDOCX(org.apache.tika.server.UnpackerResourceTest)

Tests run: 11, Failures: 0, Errors: 1, Skipped: 0
{noformat}

Here are the surefire-reports:

{noformat}
[chipotle:~/src/tika/trunk] mattmann% more 
tika-server/target/surefire-reports/org.apache.tika.server.UnpackerResourceTest.txt
 
-------------------------------------------------------------------------------
Test set: org.apache.tika.server.UnpackerResourceTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.613 sec <<< 
FAILURE!
testExeDOCX(org.apache.tika.server.UnpackerResourceTest)  Time elapsed: 1.418 
sec  <<< ERROR!
com.sun.jersey.api.client.UniformInterfaceException: PUT 
http://localhost:9998/unpacker returned a response status of 204 No Content
        at 
com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:528)
        at 
com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506)
        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:674)
        at com.sun.jersey.api.client.WebResource.put(WebResource.java:221)
{noformat}

I'm looking into it. 

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