Hello everybody,
I'm trying to install Apr (JBoss Native 2.0.9) on the AS-5.1.0 GA. My system is a linux box (x86).
Unfortunately after I extract the apr files into the jboss folder it doesn't seem to work.
I have activated the debug and that is the error shown in the server.log file
Caused by: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path, no libtcnative-1 in java.library.path Can't find: /home/luca/tmp/jboss-5.1.0.GA/server/default/bin/META-INF/lib/linux2/x86/libapr-1.so (/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib)at org.apache.tomcat.jni.Library.<init>(Library.java:77)at org.apache.tomcat.jni.Library.initialize(Library.java:178)... 128 more
unfortunately it seems it's looking for the files in the wrong place /home/luca/tmp/jboss-5.1.0.GA/server/default/bin/META-INF/lib/linux2/x86/libapr-1.so while it should be something like that /home/luca/tmp/jboss-5.1.0.GA/bin/native/libapr-1.so
Does anybody has an idea about what should I change to fix that?
Thanks in advance
See if this discussion helps: http://community.jboss.org/thread/2147?tstart=0