Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-11070

Native library is searched for in wrong directory

    XMLWordPrintable

Details

    • Not Required
    • NEW

    Description

      In EAP 5.3.0.ER3 in run.sh natives dir are searched as:

      if [ -d "$JBOSS_HOME/../native/lib" ]; then
          JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/../native" && pwd`
      elif [ -d "$JBOSS_HOME/native/lib" ]; then
          JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/native" && pwd`
      elif [ -d "$JBOSS_HOME/../native/lib64" ]; then
          JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/../native" && pwd`
      elif [ -d "$JBOSS_HOME/native/lib64" ]; then
          JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/native" && pwd`
      elif [ -d "$JBOSS_HOME/../../jboss-ep-5.2/native" ]; then
          JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/../../jboss-ep-5.2/native" && pwd`
      fi
      

      See the wrong version in latest condition. The same applies for run.bat

      When installed from jar installer, natives libs are not found for that reason.

      Attachments

        Activity

          People

            chaowan@redhat.com Chao Wang
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: