Bug 1080487
| Summary: | [RFE] jboss ews cartridge should have a shared lib directory to keep user jars | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Nikhil Mone <nmone> | |
| Component: | Image | Assignee: | Ben Parees <bparees> | |
| Status: | CLOSED WONTFIX | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | low | Docs Contact: | ||
| Priority: | high | |||
| Version: | 1.x | CC: | bleanhar, dmcphers, nmone, xtian | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1092085 (view as bug list) | Environment: | ||
| Last Closed: | 2015-06-11 22:25:10 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1092085 | |||
Though far from ideal, as a workaround users can create their own shared_lib dir (eg under $OPENSHIFT_JBOSSEWS_DIR) and then edit the catalina.properties file to add the new dir to the load path, as mentioned above. However it would be better if we supported a shared_lib dir in the app repo, the contents of which were then copied into a tomcat share lib dir. |
Description of problem: jboss ews cartridge should have a shared lib directory to keep user jars Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: jboss ews cartridge should have a share lib directory to keep user jars. At present there is a symlink that points to : lib -> /etc/alternatives/jbossews-2.0/lib where all the jars are stored at node host. so only the jars present in above directory will be available to the user. Expected results: If the user wants his own specific jars there should be a shared lib directory. Additional info: To get user libs into the Tomcat lib directory, you can add onto the container classpath by modifying the `loader` properties in the `~/.openshift/config/catalina.properties` file, to for example load jars from a `${catalina.home}/webapps/lib/` directory. For eg : common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar