Bug 1080487 - [RFE] jboss ews cartridge should have a shared lib directory to keep user jars
Summary: [RFE] jboss ews cartridge should have a shared lib directory to keep user jars
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1092085
TreeView+ depends on / blocked
 
Reported: 2014-03-25 14:26 UTC by Nikhil Mone
Modified: 2018-12-05 17:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1092085 (view as bug list)
Environment:
Last Closed: 2015-06-11 22:25:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nikhil Mone 2014-03-25 14:26:09 UTC
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

Comment 1 Ben Parees 2014-04-28 19:33:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.