[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588729#comment-15588729 ] ASF GitHub Bot commented on JENA-1248: -- Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/180 > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588726#comment-15588726 ] ASF subversion and git services commented on JENA-1248: --- Commit 0cfe4a6b4ff2b0dbf4d896f2fae50ed156b07496 in jena's branch refs/heads/master from [~andy.seaborne] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=0cfe4a6 ] JENA-1248: Put the registry in the servlet context. > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588727#comment-15588727 ] ASF subversion and git services commented on JENA-1248: --- Commit 41f42dfcadc8b53c5e308f32a87062b8d739558d in jena's branch refs/heads/master from [~andy.seaborne] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=41f42df ] JENA-1248: Tests for multiple embedded Fuseki servers. > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588728#comment-15588728 ] ASF subversion and git services commented on JENA-1248: --- Commit e5ac43b22904117746b303c69c1c4f9e03548053 in jena's branch refs/heads/master from [~andy.seaborne] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=e5ac43b ] JENA-1248: Use dynamically allocated ports in testing > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588711#comment-15588711 ] ASF GitHub Bot commented on JENA-1248: -- Github user afs commented on the issue: https://github.com/apache/jena/pull/180 Embedded Fuseki does not use Shiro. Fuseki (full) uses Shiro setup via the servlet context (not that Fuseki)full is aimed at multiple servers per JVM: better either 2 ports, one server, one JVM or multiple servers, multiple JVMs. > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588223#comment-15588223 ] Andy Seaborne commented on JENA-1248: - Embedded Fuseki does not use shiro. Embedded Fuseki is "file-free" i.e. no on-disk runtime configuration area. My reading of {{ShiroFilter.init}} is that it uses the {{ServletContext}} to find the security manager for the filter instance. (Fuseki loader {{ShiroEnvironmentLoader}} uses the servlet context and the {{web.xml}} settings.) There is no intention here to support multiple full Fuseki servers in one JVM. It would be better done as multiple ports in the same server or run two servers. As it is today, the runtime and the web pages are passed in globally although that's only because it is the conventional way to run such servers and not how it actually runs internally. Fuseki (full) is a webapp; the {{DataAccessPointRegistry}} points to the databases. > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588178#comment-15588178 ] ASF GitHub Bot commented on JENA-1248: -- Github user rvesse commented on the issue: https://github.com/apache/jena/pull/180 Looks good to me My only concern is how Shiro behaves in a environment where each invaded server may have a different security configuration. > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588167#comment-15588167 ] Rob Vesse commented on JENA-1248: - Doesn't the Apache Shiro Library assume that the Security manager is a JVM Singleton? If is the case when you have multiple embedded servers then the order in which they are accessed Will effect which security configuration is used. This may lead to rather undesirable effects, for example if you run two instances one secured and one unsecured does one configurations overwrite the other? > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586671#comment-15586671 ] ASF GitHub Bot commented on JENA-1248: -- Github user afs commented on the issue: https://github.com/apache/jena/pull/180 (rebased to Apache master branch) > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586670#comment-15586670 ] ASF GitHub Bot commented on JENA-1248: -- GitHub user afs opened a pull request: https://github.com/apache/jena/pull/180 JENA-1248: Fuseki registry update Also includes the test server control code ported from jena-fuseki-core. You can merge this pull request into a Git repository by running: $ git pull https://github.com/afs/jena fuseki-registry Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jena/pull/180.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #180 commit 661b5de173517b8eb9e395ee1d71556c30eca994 Author: Andy SeaborneDate: 2016-10-18T20:56:42Z JENA-1248: Put the registry in the servlet context. commit 0185b890b32920908f5998e07f97c03f806d708b Author: Andy Seaborne Date: 2016-10-18T21:00:08Z JENA-1248: Tests for multiple embedded Fuseki servers. commit be7c1793d85b1e49bd16be92cdc2d9dffb5df448 Author: Andy Seaborne Date: 2016-10-18T21:01:49Z Getter for the server's DataAccessPointRegistry. start() to return "this". commit c03d7d590de6686f3da9e22773e64dbb0bda5dc4 Author: Andy Seaborne Date: 2016-10-18T21:02:08Z ServerCtl ported from Fuseki2. > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (JENA-1248) Support multiple embedded Fuseki2 servers running in the same JVM (on different ports)
[ https://issues.apache.org/jira/browse/JENA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586305#comment-15586305 ] A. Soroka commented on JENA-1248: - Just as a point of information about which I am curious, is it the case then that all Fuseki-specific state is packed into {{DataAccessPointRegistry}}? Obviously, there's state stored elsewhere in the JVM for ARQ (and maybe for Shiro?) but for Fuseki stuff, it's all in {{DataAccessPointRegistry}}? > Support multiple embedded Fuseki2 servers running in the same JVM (on > different ports) > -- > > Key: JENA-1248 > URL: https://issues.apache.org/jira/browse/JENA-1248 > Project: Apache Jena > Issue Type: Improvement >Reporter: Andy Seaborne >Assignee: Andy Seaborne >Priority: Minor > Fix For: Jena 3.1.1 > > > This requires Fuseki2 to use the servlet context to store the server state, > which is the DataAccessPointRegistry object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)