[jboss-jira] [JBoss JIRA] Updated: (JBAS-8787) Native libraries not found when using IBM JDK
David Lloyd (JIRA)
jira-events at lists.jboss.org
Thu Mar 17 13:15:46 EDT 2011
[ https://issues.jboss.org/browse/JBAS-8787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lloyd updated JBAS-8787:
------------------------------
Fix Version/s: 7.0.0.CR1
For AS7 we _should_ be able to package the native libraries alongside the module which uses them using the native library functionality of JBoss Modules, which allows a distinct directory for each platform. Contact me for more info.
> Native libraries not found when using IBM JDK
> ---------------------------------------------
>
> Key: JBAS-8787
> URL: https://issues.jboss.org/browse/JBAS-8787
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: 7.0.0.Alpha1
> Reporter: Mike Millson
> Assignee: Remy Maucherat
> Fix For: 7.0.0.CR1
>
>
> The native components are not found on x86_64 using the IBM JDK because the startup script is looking in "lib" instead of "lib64".
> You get this error:
> 2011-01-04 16:39:37,205 INFO [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/mmillson/jboss/eap-5.1.0/jboss-as/native/lib
> run.sh and run.bat set the native directory based on whether the reported version includes the string "64-bit":
> IS_64_BIT_JVM=`"$JAVA" $JAVA_OPTS -version 2>&1 | $GREP -i 64-bit`
> if [ "x$IS_64_BIT_JVM" != "x" ]; then
> JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib64"
> else
> JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib"
> fi
> But with the IBM JDK "java -version" does not report that string:
> Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
> J9VM - 20100609_059383
> JIT - r9_20100401_15339ifx2
> GC - 20100308_AA)
> JCL - 20100624_01
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list