Ostrzyciel opened a new issue, #2774:
URL: https://github.com/apache/jena/issues/2774

   ### Version
   
   5.2.0
   
   ### What happened?
   
   I wrote an implementation of `FusekiAutoModule` and registered it via the 
service loader. However, I can't get this to work when using the Fuseki web app 
(`FusekiWebappCmd`). It seems like the module is never discovered, called, 
anything.
   
   I did some probing with a debugger and it seems that the `FusekiAutoModules` 
class is not called when starting via this main class. In `FusekiMain` there is 
this code that does it:
   
   
https://github.com/apache/jena/blob/f6a4f3af52a71e061bfdb01b7df990e41704e422/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/cmds/FusekiMain.java#L508-L515
   
   But I can't find it in `FusekiWebappCmd`. There is also no parameter for 
enabling/disabling modules, which makes me guess that this was omitted by 
mistake when the module system was introduced.
   
   I think this can be fixed by basically copy-pasting the module 
initialization part from `FusekiMain` to `FusekiWebappCmd`, along with the 
command-line argument. Assuming I'm correct in the assessment that this is 
really the issue :laughing: 
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to