activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #788: ARTEMIS-732 loading wrong arch lib
Date Wed, 21 Sep 2016 18:26:15 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/788#discussion_r79900443
  
    --- Diff: artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis
---
    @@ -105,6 +105,16 @@ if [ -z "$LOG_MANAGER" ] ; then
       LOG_MANAGER="$ARTEMIS_HOME/lib/${logmanager}"
     fi
     
    +# determine which native library version to load
    +LIBRARY_PATH="-Djava.library.path=\"$ARTEMIS_HOME/bin/lib"
    +if [ "$(uname -m)" = "x86_64" ]; then
    +  LIBRARY_PATH="$LIBRARY_PATH/linux-x86_64\""
    +elif [ "$(uname -m)" = "i686" ]; then
    +  LIBRARY_PATH="$LIBRARY_PATH/linux-i686\""
    +else
    +  LIBRARY_PATH=""
    --- End diff --
    
    Actually no, the ./artemis create will use the libaio to determine the journal type (if
it can't load libaio, it won't use it).. and it will also perform a sync on the system to
calculate the timed-buffer values.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message