You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2016/07/29 21:23:20 UTC

[jira] [Comment Edited] (JENA-1217) fuseki init script problems - FUSEKI_BASE doesn't work - other env var won't either

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

Andy Seaborne edited comment on JENA-1217 at 7/29/16 9:22 PM:
--------------------------------------------------------------

Is this JENA-1099?

Commit:
https://github.com/apache/jena/commit/9ab8584002c59fcac6e917463f42ec96ade73ab5
(line 300)

The fix added exporting {{FUSEKI_HOME}} and {{FUSEKI_BASE}}.

[~danpritts] Please take a look at v2.4.0.



was (Author: andy.seaborne):
Is this JENA-1099?


> fuseki init script problems - FUSEKI_BASE doesn't work - other env var won't either
> -----------------------------------------------------------------------------------
>
>                 Key: JENA-1217
>                 URL: https://issues.apache.org/jira/browse/JENA-1217
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Fuseki 2.3.1
>         Environment: RHEL 6.x
>            Reporter: Dan Pritts
>            Priority: Minor
>
> Ran into several problems with the fuseki init script, filing multiple bugs, but if you are working on one you might consider addressing them all.  Hope this is the right approach.  
> The docs and comments in /etc/default/fuseki say that FUSEKI_BASE can be set in /etc/default/fuseki.  
> However, setting it there has no effect, it still uses .../run.  
> I traced this problem down to the fact that the FUSEKI_BASE environment variable is neither `export`ed from the shell script, nor specified as a `-D` on the java command line.     Alternately, you could add support for changing this on the fuseki command line by adding, perhaps, a --base option.  
> using -D is kind of ugly. I would prefer the export option.  Perhaps best would be adding a command line option, and setting that option from the init script as appropriate.  
> If you do the export, I suggest adding it right after you source the config file.
> I'm not sure what other environment variables Fuseki might read, but they will all need to be passed down somehow.  



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