Good day,
Since day 1, 2 years ago, the domain.conf
in Jboss app is configure with the following value:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/safenet/protecttoolkit5/ptk/lib/
export LD_LIBRARY_PATH
And then in the /home/admin/.bash_profile
, the following value is configured:
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
PATH=/opt/safenet/protecttoolkit5/ptk/bin:$PATH
export PATH
LD_LIBRARY_PATH=/opt/safenet/protecttoolkit5/ptk/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
When I start my jboss app, I can saw the following value in my server.log:
java.library.path = :/opt/safenet/protecttoolkit5/ptk/lib/:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
This is expected as the library path being loaded in java.library.path
.
Yesterday I have DR activity to swing Production to DR, everything working fine.
Today I have DR activity to swing DR back to production, and then I found out I cant start my jboss app, because my java.library.path
is missing the safenet library.
java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Everything remain no changes as nothing deployment activity today, and no any changes activity today. DR has been went through few times since day 1, no issue on this, but today I am stuck in this issue until now no clue on it.
Anything I need to check on this?