archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
40 stars 39 forks source link

Adjust LD_LIBRARY_PATH to the right service #58

Closed frazor closed 1 year ago

frazor commented 6 years ago

In sampleStartup.sh LD_LIBRARY_PATH gets set to an invalid path, as it contains path to engine instead of mgmt.

Warning: I haven't run any test cases on this yet, I don't know ant nor the test cases very well. Please let me know in case I can assist by running some test command on this code to get it accepted.

So in the end the path looks like:

${ARCHAPPL_DEPLOY_DIR}/mgmt/webapps/engine/WEB-INF/lib/native/linux-x86...

But the real PATH here should be

${ARCHAPPL_DEPLOY_DIR}/mgmt/webapps/mgmt/WEB-INF/lib/native/linux-x86...

The archiver still works without the LD_LIBRARY_PATH set correctly.

Fixes: #41