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

dgenkin do-not-reply at jboss.com
Mon Jan 26 19:42:20 EST 2009


was able to fix it. i specified additional variables in bashrc and also added the following 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

Now I see this: INFO: Loaded Apache Tomcat Native library 1.1.16.


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

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



More information about the jboss-user mailing list