-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
3.1.6.GA, 3.1.7.GA
-
None
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.
- clones
-
JWS-1316 "-Djava.library.path" can not be set manually due to hard coding as -Djava.library.path=$_NATIVE_LIBDIR"
- Closed