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

Andy Seaborne commented on JENA-201:
------------------------------------

Joseki has a more comprehensive way to find a config.  The code for Joseki is 
in the Scratch area.

org.joseki.http.Servlet is the main servlet. init(ServletConfig) plays "hunt 
the config".  It looks in:

* ServletContext
* A Java system property.

The command line sets the system property.  The command line also forces early 
initialization otherwise the initialization process does not happen until the 
servlet is first used.  That can be confusing because config file errors don't 
show up until first request when inside a larger system but we probably just 
have to live with that.

The init code has to be aware it can be called multiple times.  A simple 
boolean to check and simply return is sufficient.

One user support issue that comes up is that Tomcat blocks access to files 
outside the webapp area by default.

The war file could be just the server or server+the web pages.  I'm inclined to 
focus on just the server.
                
> Deliver Fuseki as a WAR file.
> -----------------------------
>
>                 Key: JENA-201
>                 URL: https://issues.apache.org/jira/browse/JENA-201
>             Project: Jena
>          Issue Type: Improvement
>          Components: Fuseki
>            Reporter: Andy Seaborne
>            Priority: Minor
>


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