Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A364B9CB3 for ; Wed, 15 Feb 2012 16:47:27 +0000 (UTC) Received: (qmail 54183 invoked by uid 500); 15 Feb 2012 16:47:27 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 54055 invoked by uid 500); 15 Feb 2012 16:47:27 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 54038 invoked by uid 99); 15 Feb 2012 16:47:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 16:47:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 16:47:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 70BBB1B92AA for ; Wed, 15 Feb 2012 16:47:00 +0000 (UTC) Date: Wed, 15 Feb 2012 16:47:00 +0000 (UTC) From: "Jacobus Geluk (Commented) (JIRA)" To: jena-dev@incubator.apache.org Message-ID: <1551242479.41089.1329324420463.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1967957731.72855.1327431041609.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JENA-201) Deliver Fuseki as a WAR file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JENA-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208576#comment-13208576 ] Jacobus Geluk commented on JENA-201: ------------------------------------ Andy, I have created a [fork of jena-fuseki on github|https://github.com/jgeluk/jena-fuseki], where I used your main Joseki servlet as the basis for a similar Fuseki servlet. Called it [ConfigServlet|https://github.com/jgeluk/jena-fuseki/blob/trunk/src/main/java/org/apache/jena/fuseki/server/ConfigServlet.java] and put it next to the SPARQLServer class since it's kind of the Servlet-equivalent of that class. It loads the config.ttl but in order to dynamically create the other Servlets, like is done for Jetty in SPARQLServer, such as SPARQL_QueryGeneral and SPARQL_REST, I need to implement the Tomcat specific interface ContainerServlet, which makes it a privileged Servlet. Not really an elegant solution since it would require an additional parameter in Context.xml (and make it Tomcat specific). So I guess the only proper way to do this is to make that dispatcher as you suggested. I guess it would be similar to what Joseki does then? Any hints? > 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