incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Vesse (JIRA)" <>
Subject [jira] [Commented] (JENA-201) Deliver Fuseki as a WAR file.
Date Mon, 23 Apr 2012 16:45:42 GMT


Rob Vesse commented on JENA-201:

So while I have not made further progress on this I think I now see how to proceed with this
though I don't think I have time to work on this currently.

The main problem as previously discussed is keeping dynamic configuration while moving to
a container agnostic WAR which on the face of it seems rather awkward but I believe this is
doable.  I now believe that the way to this is by utilizing a ServletContextListener (
- this is a part of the Java Servlets API and is easily registered in a web.xml file like


Then the contextInitialized() method can be used to read the configuration file (which will
have to be located at a path within the web app i.e. people will need to deploy the WAR and
then go in and edit the config appropriately prior to running it) and wire up servlets and
filters appropriately since it has access to the servlet context and can call all the addServlet(),
addFilter() methods etc. as necessary

> Deliver Fuseki as a WAR file.
> -----------------------------
>                 Key: JENA-201
>                 URL:
>             Project: Apache 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:!default.jspa
For more information on JIRA, see:


View raw message