[jira] [Resolved] (JENA-1989) No log output with Fuseki+Tomcat9+Systemd

2020-11-10 Thread Andy Seaborne (Jira)


 [ 
https://issues.apache.org/jira/browse/JENA-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1989.
-
Resolution: Fixed

> No log output with Fuseki+Tomcat9+Systemd 
> --
>
> Key: JENA-1989
> URL: https://issues.apache.org/jira/browse/JENA-1989
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.16.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.17.0
>
>
> Running Fuseki and Tomcat9 with systemd shows a number of problems:
>  # /etc/fuseki/ is not accessible - Tomcat9 with systemd is sandboxed and 
> /etc/fuseki is not writable. (Fix: document that systemd needs configuring).
>  # Log output handled differently. systemd captures stdout and sends it to 
> the system journal. There is no catalina.out. (Fix: document how to setup 
> systemd)
>  # log4j2 setup happens as the webapp starts and before Fuseki initialization 
> is called. Result - the Fuseki configuration is not used. Fix: Use the 
> log4j-web artifact and configure web.xml.
> The servlet/log setup probably applies to Fuseki logging for log4j2 in 
> Tomcat8 as well but I can't install the stabndard setupo of tomcat8 and 
> systemd because it is no longer available in the Ubuntu repos (Ubuntu 20.10).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1989) No log output with Fuseki+Tomcat9+Systemd

2020-11-10 Thread Andy Seaborne (Jira)


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

Andy Seaborne commented on JENA-1989:
-

Mislabelled commit:

---
Commit da2e8ddc3c833a94687d2b2ec2cbe1909151f36f in jena's branch 
refs/heads/master from Andy Seaborne
 [ [https://gitbox.apache.org/repos/asf?p=jena.git;h=da2e8dd] ]

JENA-1898: Log output for webapp

> No log output with Fuseki+Tomcat9+Systemd 
> --
>
> Key: JENA-1989
> URL: https://issues.apache.org/jira/browse/JENA-1989
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.16.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.17.0
>
>
> Running Fuseki and Tomcat9 with systemd shows a number of problems:
>  # /etc/fuseki/ is not accessible - Tomcat9 with systemd is sandboxed and 
> /etc/fuseki is not writable. (Fix: document that systemd needs configuring).
>  # Log output handled differently. systemd captures stdout and sends it to 
> the system journal. There is no catalina.out. (Fix: document how to setup 
> systemd)
>  # log4j2 setup happens as the webapp starts and before Fuseki initialization 
> is called. Result - the Fuseki configuration is not used. Fix: Use the 
> log4j-web artifact and configure web.xml.
> The servlet/log setup probably applies to Fuseki logging for log4j2 in 
> Tomcat8 as well but I can't install the stabndard setupo of tomcat8 and 
> systemd because it is no longer available in the Ubuntu repos (Ubuntu 20.10).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1989) No log output with Fuseki+Tomcat9+Systemd

2020-11-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on JENA-1989:
---

Commit 5223ffec980e5009f5c48bdac9c52d2477b37697 in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=5223ffe ]

JENA-1989: Remove debug code; correct initalization test


> No log output with Fuseki+Tomcat9+Systemd 
> --
>
> Key: JENA-1989
> URL: https://issues.apache.org/jira/browse/JENA-1989
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Fuseki
>Affects Versions: Jena 3.16.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.17.0
>
>
> Running Fuseki and Tomcat9 with systemd shows a number of problems:
>  # /etc/fuseki/ is not accessible - Tomcat9 with systemd is sandboxed and 
> /etc/fuseki is not writable. (Fix: document that systemd needs configuring).
>  # Log output handled differently. systemd captures stdout and sends it to 
> the system journal. There is no catalina.out. (Fix: document how to setup 
> systemd)
>  # log4j2 setup happens as the webapp starts and before Fuseki initialization 
> is called. Result - the Fuseki configuration is not used. Fix: Use the 
> log4j-web artifact and configure web.xml.
> The servlet/log setup probably applies to Fuseki logging for log4j2 in 
> Tomcat8 as well but I can't install the stabndard setupo of tomcat8 and 
> systemd because it is no longer available in the Ubuntu repos (Ubuntu 20.10).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Towards 3.17.0

2020-11-10 Thread Bruno P. Kinoshita
 Looks good to me. I thought there would be 5-10 issues, was surprised to see 
38! Great work, +1
Bruno

On Wednesday, 11 November 2020, 6:30:55 am NZDT, Andy Seaborne 
 wrote:  
 
 Jena 3.16.0 was 2020-07-09
so the tick for 3.17.0 is here.

There's a list of notable items below - is anything missing?

Tickets this release:
https://s.apache.org/jena-3.17.0-jira

Also of of note:
## Proposal:
  Didac: Titanium proposal for JSON-LD 1.1
    No changes in this version.
    Discuss!


    Andy


## Work-in-progress:

JENA-1911: Updating Fuseki UI
JENA-1894: Order preserving datasets
JENA-1987: Add Fuseki /$/compact/* endpoint
JENA-1992: Fix for logging running in Tomcat.

## Updates:
JENA-1959, JENA-1967
  JSON-LD 0.12.5 -> 0.13.2 (umbreak)
JENA-1972: Jetty 9.4.26 -> 9.4.31
JENA-1973: Micrometer: 1.2.1 -> 1.5.5
JENA-1992: Update Log4j2 to 2.14.0
JENA-1993: Update Eclipse Jetty to 9.4.34

## 
## Features:

JENA-1982. SPARQL \U escapes in String and IRIs.
This is a change to ARQ extended SPARQL syntax.

Pavel Mikhailovskii

JENA-1950: Use GraalVM for javascript if available.
This also opens up the possibility of other languages for scripting 
SPARQL extension functions. (JENA-1951)

The license means we do not ship GraalVM itself (and it is quite big).

JENA-1968
Support Turtle output with relative URIs but no BASE declaration.

JENA-1974: G library
A library for working with Graphs
More :
https://lists.apache.org/thread.html/r973fd076583327b75e15bda798dce66d47f4f7cd8dbaa14c280f1fe3%40%3Cdev.jena.apache.org%3E

JENA-1937: SHACL Compact Syntax writer


Fuseki:

JENA-1929: Fuseki: Detect TDB1/TDB2 database types.

JENA-1949: Dockerfile
and build instructions
https://jena.apache.org/documentation/fuseki2/fuseki-docker.html

This is a build system published as a zip file and it can be used to 
build a docker container (about 100M) for any recent version of Fuseki/Main.

JENA-1976
Make CORS support in Fuseki main default to on.

JENA-1961
Support /$/metrics in Fuseki Main

JENA-1989
Logging in Fuseki/webapp

  

Re: dependabot [was:Project items]

2020-11-10 Thread ajs6f
+1

If it's not useful we can turn it off.

Adam

On Tue, Nov 10, 2020, 12:28 PM Andy Seaborne  wrote:

> I'd like to add dependabot to the git repo to tell us about dependencies
> updates.
>
> dependabot sends PRs to the project, including gathering documentation
> and explanation if available so we get to review the proposed changes.
>
> I've a very simple setup on another project:
>
> https://github.com/afs/rdf-delta/blob/main/.github/dependabot.yml
>
>
> The github documentation:
>
>
> https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/keeping-your-dependencies-updated-automatically
>
>
> The first time it runs we will likely get quite a few updates because we
> have quite a few dependencies.
>
> We don't have to acceet the recommendations!
>
>  Andy
>


Towards 3.17.0

2020-11-10 Thread Andy Seaborne

Jena 3.16.0 was 2020-07-09
so the tick for 3.17.0 is here.

There's a list of notable items below - is anything missing?

Tickets this release:
https://s.apache.org/jena-3.17.0-jira

Also of of note:
## Proposal:
  Didac: Titanium proposal for JSON-LD 1.1
No changes in this version.
Discuss!


Andy


## Work-in-progress:

JENA-1911: Updating Fuseki UI
JENA-1894: Order preserving datasets
JENA-1987: Add Fuseki /$/compact/* endpoint
JENA-1992: Fix for logging running in Tomcat.

## Updates:
JENA-1959, JENA-1967
  JSON-LD 0.12.5 -> 0.13.2 (umbreak)
JENA-1972: Jetty 9.4.26 -> 9.4.31
JENA-1973: Micrometer: 1.2.1 -> 1.5.5
JENA-1992: Update Log4j2 to 2.14.0
JENA-1993: Update Eclipse Jetty to 9.4.34

## 
## Features:

JENA-1982. SPARQL \U escapes in String and IRIs.
This is a change to ARQ extended SPARQL syntax.

Pavel Mikhailovskii

JENA-1950: Use GraalVM for javascript if available.
This also opens up the possibility of other languages for scripting 
SPARQL extension functions. (JENA-1951)


The license means we do not ship GraalVM itself (and it is quite big).

JENA-1968
Support Turtle output with relative URIs but no BASE declaration.

JENA-1974: G library
A library for working with Graphs
More :
https://lists.apache.org/thread.html/r973fd076583327b75e15bda798dce66d47f4f7cd8dbaa14c280f1fe3%40%3Cdev.jena.apache.org%3E

JENA-1937: SHACL Compact Syntax writer


Fuseki:

JENA-1929: Fuseki: Detect TDB1/TDB2 database types.

JENA-1949: Dockerfile
and build instructions
https://jena.apache.org/documentation/fuseki2/fuseki-docker.html

This is a build system published as a zip file and it can be used to 
build a docker container (about 100M) for any recent version of Fuseki/Main.


JENA-1976
Make CORS support in Fuseki main default to on.

JENA-1961
Support /$/metrics in Fuseki Main

JENA-1989
Logging in Fuseki/webapp



dependabot [was:Project items]

2020-11-10 Thread Andy Seaborne
I'd like to add dependabot to the git repo to tell us about dependencies 
updates.


dependabot sends PRs to the project, including gathering documentation 
and explanation if available so we get to review the proposed changes.


I've a very simple setup on another project:

https://github.com/afs/rdf-delta/blob/main/.github/dependabot.yml


The github documentation:

https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/keeping-your-dependencies-updated-automatically


The first time it runs we will likely get quite a few updates because we 
have quite a few dependencies.


We don't have to acceet the recommendations!

Andy


[jira] [Assigned] (JENA-1992) Update log4j2 to 2.14.0

2020-11-10 Thread Andy Seaborne (Jira)


 [ 
https://issues.apache.org/jira/browse/JENA-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne reassigned JENA-1992:
---

Assignee: Andy Seaborne

> Update log4j2 to 2.14.0
> ---
>
> Key: JENA-1992
> URL: https://issues.apache.org/jira/browse/JENA-1992
> Project: Apache Jena
>  Issue Type: Task
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (JENA-1993) Update Eclipse Jetty to 9.4.34

2020-11-10 Thread Andy Seaborne (Jira)
Andy Seaborne created JENA-1993:
---

 Summary: Update Eclipse Jetty to 9.4.34
 Key: JENA-1993
 URL: https://issues.apache.org/jira/browse/JENA-1993
 Project: Apache Jena
  Issue Type: Task
  Components: Fuseki
Affects Versions: Jena 3.16.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
 Fix For: Jena 3.17.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (JENA-1990) Add short name 'turtle' of ?format= legal values.

2020-11-10 Thread Andy Seaborne (Jira)


 [ 
https://issues.apache.org/jira/browse/JENA-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne reassigned JENA-1990:
---

Assignee: Andy Seaborne

> Add short name 'turtle' of ?format= legal values.
> -
>
> Key: JENA-1990
> URL: https://issues.apache.org/jira/browse/JENA-1990
> Project: Apache Jena
>  Issue Type: Improvement
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
>
> {{format=turtle}} is used by SPARQLWrapper.py.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (JENA-1992) Update log4j2 to 2.14.0

2020-11-10 Thread Andy Seaborne (Jira)
Andy Seaborne created JENA-1992:
---

 Summary: Update log4j2 to 2.14.0
 Key: JENA-1992
 URL: https://issues.apache.org/jira/browse/JENA-1992
 Project: Apache Jena
  Issue Type: Task
Reporter: Andy Seaborne






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1898) Force commons-codec dependency to be Jena parent POM choice

2020-11-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on JENA-1898:
---

Commit da2e8ddc3c833a94687d2b2ec2cbe1909151f36f in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=da2e8dd ]

JENA-1898: Log output for webapp


> Force commons-codec dependency to be Jena parent POM choice
> ---
>
> Key: JENA-1898
> URL: https://issues.apache.org/jira/browse/JENA-1898
> Project: Apache Jena
>  Issue Type: Task
>Affects Versions: Jena 3.15.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
> Fix For: Jena 3.16.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a project where the dependency resolution causes the commons-codec 
> from Apache httpcomponents to be chosen (v1.11), not the version needed by 
> Jena (v1.14).
> Maven dependency rules: 
> [https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html]
> The project depends on several Jena artifacts and the encounter order of 
> dependencies can matter.
> This happens with maven 3.6.3, which is current latest.
> Clearing up the projects dependencies will also fix the problem but leaves it 
> to the user to deal with it. (The project is an old and messy scratch working 
> area and the POM isn't neat and tidy. It was bringing in Jena test code.)
> To be safe, this ticket is to force the dependency resolution by excluding 
> common-codec from the org.apache.httpcomponents (httpclient and httpclient).
> Then at least the order of any Jena artifacts does not impact the outcome.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JENA-1898) Force commons-codec dependency to be Jena parent POM choice

2020-11-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on JENA-1898:
---

Commit fd94c6b2a56df4e3e012c1acb617ecda9346ca42 in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=fd94c6b ]

Merge pull request #823 from afs/jena1989-fuseki

JENA-1898: Log output for webapp

> Force commons-codec dependency to be Jena parent POM choice
> ---
>
> Key: JENA-1898
> URL: https://issues.apache.org/jira/browse/JENA-1898
> Project: Apache Jena
>  Issue Type: Task
>Affects Versions: Jena 3.15.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Minor
> Fix For: Jena 3.16.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a project where the dependency resolution causes the commons-codec 
> from Apache httpcomponents to be chosen (v1.11), not the version needed by 
> Jena (v1.14).
> Maven dependency rules: 
> [https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html]
> The project depends on several Jena artifacts and the encounter order of 
> dependencies can matter.
> This happens with maven 3.6.3, which is current latest.
> Clearing up the projects dependencies will also fix the problem but leaves it 
> to the user to deal with it. (The project is an old and messy scratch working 
> area and the POM isn't neat and tidy. It was bringing in Jena test code.)
> To be safe, this ticket is to force the dependency resolution by excluding 
> common-codec from the org.apache.httpcomponents (httpclient and httpclient).
> Then at least the order of any Jena artifacts does not impact the outcome.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (JENA-1991) Move operations from RiotLib to G; add some quad "find" operations

2020-11-10 Thread Andy Seaborne (Jira)
Andy Seaborne created JENA-1991:
---

 Summary: Move operations from RiotLib to G; add some quad "find" 
operations
 Key: JENA-1991
 URL: https://issues.apache.org/jira/browse/JENA-1991
 Project: Apache Jena
  Issue Type: Improvement
Affects Versions: Jena 3.17.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
 Fix For: Jena 3.16.0


RiotLib has a couple of helper functions that make more sense in G.

Put in quad versions of "find" operations.

Rename exisiting find forms to say they are for triples.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (JENA-1990) Add short name 'turtle' of ?format= legal values.

2020-11-10 Thread Andy Seaborne (Jira)
Andy Seaborne created JENA-1990:
---

 Summary: Add short name 'turtle' of ?format= legal values.
 Key: JENA-1990
 URL: https://issues.apache.org/jira/browse/JENA-1990
 Project: Apache Jena
  Issue Type: Improvement
Reporter: Andy Seaborne


{{format=turtle}} is used by SPARQLWrapper.py.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)