This content has been marked as final.
Show 6 replies
-
1. Re: JBoss overwiting java.library.path when native libs avai
dimitris Sep 10, 2009 8:00 AM (in response to rnicholson10)Looking at the script, if your $LD_LIBRARY_PATH is already defined, shouldn't those lines append it correctly to the jboss native path? (i.e. not sure why it doesn't work for you)
| if [ "x$LD_LIBRARY_PATH" = "x" ]; then
| LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR"
| else
| LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH"
| fi
| export LD_LIBRARY_PATH -
2. Re: JBoss overwiting java.library.path when native libs avai
jaikiran Sep 10, 2009 8:03 AM (in response to rnicholson10)Hmm, looks like a bug to me. I think the original script was intended to be:
else if [ "x$LD_LIBRARY_PATH" = "x" ]; then LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR" else LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH" fi export LD_LIBRARY_PATH fi if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Djava.library.path=$LD_LIBRARY_PATH" else JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$LD_LIBRARY_PATH" fi
-
3. Re: JBoss overwiting java.library.path when native libs avai
rnicholson10 Sep 10, 2009 8:11 AM (in response to rnicholson10)I agree with jakiran. A complete solution instead of my hack!
-
4. Re: JBoss overwiting java.library.path when native libs avai
jaikiran Sep 10, 2009 10:35 AM (in response to rnicholson10)Could you please create a JIRA https://jira.jboss.org/jira/browse/JBAS
-
5. Re: JBoss overwiting java.library.path when native libs avai
rnicholson10 Sep 10, 2009 11:03 AM (in response to rnicholson10)No problem, but which component should I file the bug under???
-
6. Re: JBoss overwiting java.library.path when native libs avai
rnicholson10 Sep 10, 2009 11:17 AM (in response to rnicholson10)No worries figured it out.
Bug filed: https://jira.jboss.org/jira/browse/JBAS-7239