question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unquoted LOGGING variable in fuseki-server can make server fail to start

See original GitHub issue

In version 4.5.0 of Apache Jena Fuseki, line 117 is:

exec "$JAVA" $JVM_ARGS $LOGGING -cp "$CP" org.apache.jena.fuseki.cmd.FusekiCmd "$@"

$LOGGING is set using $FUSEKI_HOME. I define the FUSEKI_HOME variable in my environment. It has an embedded space. Consequently, the fuseki-server script expands the LOGGING variable into multiple arguments. Java doesn’t parse the arguments as the script intends. Can/should $LOGGING be surrounded in double quotes?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
swartikcommented, May 24, 2022

Good point. I will come up with a solution that can’t insert an empty argument.

0reactions
swartikcommented, May 27, 2022

I think we’re good to go, then. Let me know if there’s anything else you need from me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Fuseki with UI - Apache Jena
When run from the command line, the server creates its work area in the directory named by environment variable FUSEKI_BASE . When run...
Read more >
Fuseki Logging - Apache Jena
Logging is via SLF4J over Apache Log4J2, or by the Tomcat configuration if running the WAR file. Full Log name, Usage. org.apache.jena.fuseki.Server, General ......
Read more >
[#JENA-2030] Startup error messages about file problems ...
Please find below a log of a startup which leads to a non working fuseki instance - at least i can't access it...
Read more >
Fuseki File System Layout - Apache Jena
Two environment variables control the file system usage. Symbolic links can be used to create variations on the standard layout.
Read more >
Fuseki Quickstart - Apache Jena
If the user under which Apache tomcat is running does not have write access to /etc , then please make sure to set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found