[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Web

dgenkin do-not-reply at jboss.com
Thu Jan 22 17:12:37 EST 2009


Peter, what do you mean by 'jboss_native/bin'?

I added this to catalina.sh:

# Setup JBosst Native library path
JBOSSWEB_NATIVE_DIR="$JBOSSWEB_HOME/bin/native"
if [ -d "$JBOSSWEB_NATIVE_DIR" ]; then
    if $cygwin ; then
        export PATH="$JBOSSWEB_NATIVE_DIR:$PATH"
        JBOSSWEB_NATIVE_DIR=`cygpath --dos "$JBOSSWEB_NATIVE_DIR"`
    fi
    if [ "x$LD_LIBRARY_PATH" = "x" ]; then
        LD_LIBRARY_PATH="$JBOSSWEB_NATIVE_DIR"
    else
        LD_LIBRARY_PATH="$JBOSSWEB_NATIVE_DIR:$LD_LIBRARY_PATH"
    fi
    export LD_LIBRARY_PATH
    if [ "x$JAVA_OPTS" = "x" ]; then
        JAVA_OPTS="-Djava.library.path=$JBOSSWEB_NATIVE_DIR"
    else
        JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSSWEB_NATIVE_DIR"
    fi
fi

and get the following error:

INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/jbossweb/product/jbossweb/bin/native

java.libray.path is different now.
I am obviously doing something wrong here...


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204145#4204145

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204145



More information about the jboss-user mailing list