-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
Webtop features can be extended by custom .jar files, installed in configurable directories. In NS7 the manual installation of .jar files was easy (just drop the files in some directory). In NS8 webtop-app container image there is no simple way to achieve it.
Proposed solution
Configure a host directory, mapped as a webtop-app volume where .jar files can be placed.
Webtop .jar files are normally searched in WEB-INF/lib. Add more search dirs in META-INF/context.xml with a content like:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/webtop">
<Loader className="org.apache.catalina.loader.VirtualWebappLoader"
virtualClasspath="/usr/.../*.jar;/usr/.../*.jar"/>
</Context>Alternative solutions
Bind individual .jar files as podman-run volumes.
See also
Discussion https://mattermost.nethesis.it/nethesis/pl/srmz5bw3ti8ymcmycpwd3jiuac
Thanks to @lucagasparini
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done