Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1398

"-Djava.library.path" can not be set manually due to hard coding as -Djava.library.path=$_NATIVE_LIBDIR"

    XMLWordPrintable

Details

    Description

      We tried to set "-Djava.library.path" for external library and we can find it seems there are 2 options to set the java options for it.

      1.use JAVA_OPTS in setenv.sh
      2.use LD_LIBRARY_PATH in setenv.sh

      However, "-Djava.library.path" option can not be set through catalina.sh with a value "-Djava.library.path=$_NATIVE_LIBDIR" in case of 1st option.
      Also, for 2nd option "-Djava.library.path" is set 2 times and the latter one is enabled, so this way is not valid.

      As a result, we need to provide other way to add the custom "-Djava.library.path" through catalina.sh.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-csutherl Coty Sutherland
              rhn-support-mhatanak Masanobu Hatanaka
              Matus Madzin Matus Madzin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: