1 Reply Latest reply on Jun 21, 2010 6:32 PM by Peter Johnson

    JBossAS-5.1.0-GA and JBoss Native

    Luca Merolla Newbie

      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-
              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