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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.2.0.ER1
    • JWS 5.0.0 SP1 CR1, 5.1.0.GA
    • jws-application-server
    • None
    • 8
    • +

      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.

              rhn-support-csutherl Coty Sutherland
              rhn-support-mhatanak Masanobu Hatanaka
              Adam Krajcik Adam Krajcik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: