3 Replies Latest reply on Nov 7, 2011 10:35 AM by Peter Johnson

    jboss-5.1.0.GA on solaris 10 sun4v sparc native libraries missing

    Edwin Knol Newbie

      Hello all,

       

      We are running jboss-5.1.0.GA on solaris 10 sun4v sparc SUNW T5240.

      Apparently the native libraries for this kind of environment are missing and are even not configurable in the current jboss deployment.


      my questions:

      1) Which additonal distribution set is nescesary in order to use these native libratries properly? Any other adjustements as well?

      2) If I look at the the run.sh script I do not see any support for the 'sunv4' OS. Why is that? Do I need a newer version of Jboss?

      3) Currently in our deployment there is no $JBOSS_HOME/bin/META-INF/lib directory. Are we missing some other stuff as well?

       

      Thanks in advance.


      Edwin

       

      ---8<------8<------8<------8<------8<------8<------8<------8<------8<------8<---

      # Setup JBoss Native library path

      # Use the common JBoss Native convention # for packing platform binaries # JBOSS_NATIVE_CPU=`uname -m` case "$JBOSS_NATIVE_CPU" in

        sun4u*)

          JBOSS_NATIVE_CPU="sparcv9"

        ;;

        i86pc*)

          JBOSS_NATIVE_CPU="x86"

        ;;

        i[3-6]86*)

          JBOSS_NATIVE_CPU="x86"

        ;;

        x86_64*)

          JBOSS_NATIVE_CPU="x64"

        ;;

        ia64*)

          JBOSS_NATIVE_CPU="i64"

        ;;

        9000/800*)

          JBOSS_NATIVE_CPU="parisc2"

        ;;

        Power*)

          JBOSS_NATIVE_CPU="ppc"

        ;;

      esac

       

       

      JBOSS_NATIVE_SYS=`uname -s`

      case "$JBOSS_NATIVE_SYS" in

        Linux*)

          JBOSS_NATIVE_SYS="linux2"

        ;;

        SunOS*)

          JBOSS_NATIVE_SYS="solaris"

        ;;

        HP-UX*)

          JBOSS_NATIVE_SYS="hpux"

        ;;

        CYGWIN*)

          JBOSS_NATIVE_SYS="windows"

        ;;

      esac

       

       

      JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/META-INF/lib/$JBOSS_NATIVE_SYS/$JBOSS_NATIVE_CPU"

      if [ -d "$JBOSS_NATIVE_DIR" ]; then

          if $cygwin ; then

              export PATH="$JBOSS_NATIVE_DIR:$PATH"

              JBOSS_NATIVE_DIR=`cygpath --path --windows "$JBOSS_NATIVE_DIR"`

          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=$JBOSS_NATIVE_DIR"

          else

              JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR"

          fi

      fi

       

      ---8<------8<------8<------8<------8<------8<------8<------8<------8<------8<---