You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Lou DeGenaro (JIRA)" <de...@uima.apache.org> on 2014/09/08 15:16:28 UTC

[jira] [Commented] (UIMA-4000) DUCC Web Server (WS) log pager not 100% reliable

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

Lou DeGenaro commented on UIMA-4000:
------------------------------------

The problem is that /uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/server/DuccHandler.handleDuccServletServiceHistoryData(...) is executed as the webserver running as user <Ducc> who may not have permission to access the directory.

The solution is to create or employ a method that will run as the logged in user by employing ducc_ling to obtain the list of files contained the the directory.

A temporary (imperfect) solution for any particuar Service is to change the directory permissions granting user <Ducc> read access.

> DUCC Web Server (WS) log pager not 100% reliable
> ------------------------------------------------
>
>                 Key: UIMA-4000
>                 URL: https://issues.apache.org/jira/browse/UIMA-4000
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>            Priority: Minor
>             Fix For: future-DUCC
>
>
> Pager is not working.
> For example: 
> http://myhost:42133/service.details.jsp?name=CUSTOM:structuredterm 
> -> History tab
> -> click on name
> http://myhost:42133/file.pager.jsp?fname=/home/eae/ducc/logs/S-247/services/ping
> /bin/dd: reading `/home/eae/ducc/logs/S-247/services/ping': Is a directory 0+0 records in 0+0 records out 0 bytes (0 B) copied, 9.2063e-05 s, 0.0 kB/s /bin/dd



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)