[ 
https://issues.apache.org/jira/browse/KNOX-3047?focusedWorklogId=925623&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-925623
 ]

ASF GitHub Bot logged work on KNOX-3047:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Jul/24 10:19
            Start Date: 12/Jul/24 10:19
    Worklog Time Spent: 10m 
      Work Description: hanicz opened a new pull request, #925:
URL: https://github.com/apache/knox/pull/925

   ## What changes were proposed in this pull request?
   
   A new path /usr/share/java/*.jar is added on the classpath which is located 
outside of the Knox installation folder. Users can place 3rd-party JARs in 
/usr/share/java and those will be included on the classpath.
   
   ## How was this patch tested?
   
   Changes were tested locally with test servers.
   - Removed dependency from /dep/ folder so gateway fails to start.
   - Placed missing dependency on the new path that is now included on the 
classpath.
   - Verified with memory dump that the necessary class is indeed loaded. Also 
gateway successfully starts.
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 925623)
    Remaining Estimate: 0h
            Time Spent: 10m

> Classpath extension for optional dependencies
> ---------------------------------------------
>
>                 Key: KNOX-3047
>                 URL: https://issues.apache.org/jira/browse/KNOX-3047
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 2.0.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>             Fix For: 2.0.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Some deployments of Knox would benefit from the ability to extend the 
> classpath to include JAR file locations outside the gateway home directory.
> *Proposal*
> A well-known path, or set of paths, should be added to the configured 
> classpath, which are located outside the installation of Knox itself, where 
> users could place 3rd-party JARs such that they would be included on the 
> server classpath.
> _/usr/share/java_ can be one such location.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to