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

Rob Vesse commented on JENA-201:
--------------------------------

I think the generic dispatch pattern would be ideal but I don't really have the 
expertise in the relevant area of Java to implement that myself.  I was hoping 
that repackaging as a WAR would be relatively simple but I keep running into 
stumbling blocks.

The latest hiccup I've uncovered in my experimentation is that Fuseki includes 
servlet-api in its dependencies, if you try and run as a WAR within Tomcat it 
will complain because the spec says a WAR shouldn't include a copy of the 
servlet-api.

One possible workaround here would be to have a separate project for the WAR 
packing and declare the servlet-api as an optional dependency 
(http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html)
 of the main Fuseki project so it doesn't get packaged by the WAR project, 
since optional dependencies of dependencies are not included.  The downside to 
this is that those using Fuseki as a library for a standalone server may have 
to explicitly add servlet-api back as a dependency
                
> 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