[
https://issues.jboss.org/browse/AS7-2695?page=com.atlassian.jira.plugin.s...
]
Andrig Miller edited comment on AS7-2695 at 12/14/11 9:49 AM:
--------------------------------------------------------------
Jean-Frederic - you said you tested this successfully on linux. I get the following after
putting the native libraries in:
<jboss-as>/modules/org/jboss/as/web/main/lib/$<os>-$<arch>
07:24:39,236 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread
1-3) The Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
I also noticed in my boot.log that os was Linux, and arch was amd64, so I tried
linux-x86_64, Linux-amd64, and linux-amd64, but none of them worked for me. I did notice
that linux-x86_64 is working for HornetQ though, but so far no luck in this getting picked
up. I also looked at the schema for jboss web, and native-true is the default for the
configuration, so I shouldn't need to do anything in the configuration xml.
What was your setup that worked?
was (Author: andy.miller):
Jean-Frederic - you said you tested this successfully on linux. I get the following
after putting the native libraries in:
<jboss-as>/modules/org/jboss/as/web/main/lib/$<os>-$<arch>
I also noticed in my boot.log that os was Linux, and arch was amd64, so I tried
linux-x86_64, Linux-amd64, and linux-amd64, but none of them worked for me. I did notice
that linux-x86_64 is working for HornetQ though, but so far no luck in this getting picked
up. I also looked at the schema for jboss web, and native-true is the default for the
configuration, so I shouldn't need to do anything in the configuration xml.
What was your setup that worked?
Package APR native libraries correctly
--------------------------------------
Key: AS7-2695
URL:
https://issues.jboss.org/browse/AS7-2695
Project: Application Server 7
Issue Type: Task
Components: Web
Reporter: David Lloyd
Assignee: Remy Maucherat
Fix For: 7.1.0.Final
The APR libraries for native jbossweb should be packaged in the "lib" directory
of the module under the platform specific name, e.g.
* {{lib/linux-i686/libxxxx.so}}
* {{lib/linux-x86_64/libxxxx.so}}
* {{lib/solaris-sparc/libxxxx.so}}
* {{lib/solaris-sparcv9/libxxxx.so}}
* {{lib/solaris-i686/libxxxx.so}}
* {{lib/solaris-x68_64/libxxxx.so}}
* {{lib/macosx-i686/libxxxx.sl}}
* {{lib/macosx-x86_64/libxxxx.sl}}
For the case where you need to vary the library based on the Solaris version, you have
two options:
* (best solution) rework the library to use weak symbols and/or libc probes and/or system
call error detection, to detect features which are present and absent and adjust at
runtime
* Introduce more than one library in each of the solaris-xxx directories with the version
suffix, e.g. libnative-2.8.so or similar and check for solaris at load time, and if
solaris, choose the library with the version encoded in the name
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira