1 Reply Latest reply on Dec 3, 2007 8:18 AM by mct

    JBoss Native 2.0.1 doesn't work with JBoss 4.2.1.GA on Solar

    adlepoo

      I followed the instructions on:
      http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToAddAprToJBoss

      and installed the file from:
      http://labs.jboss.com/downloading/?projectId=jbossweb&url=http://labs.jboss.com/file-access/default/members/jbossweb/freezone/dist/2.0.1.GA/jboss-native-2.0.1-solaris-i686-ssl.tar.gz

      I get the following error:

      The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jboss-4.2.1.GA/bin/native


      Abnd a truss shows it trying to find a liblibtc
      6058/15: open("/usr/jboss-4.2.1.GA/bin/native/libtcnative-1.so.0.1.11", O_RDONLY|O_NONBLOCK) = 171
      6058/15: read(171, 0xB67AA2F0, 52) = 52
      6058/15: 7F E L F010101\0\0\0\0\0\0\0\0\003\003\001\0\0\0B4\0\0\0 4\0\0\0
      6058/15: X0F\r\0\0\0\0\0 4\0 \004\0 (\0 %\0 $\0
      6058/15: close(171) = 0
      6058/15: stat64("/usr/jdk/instances/jdk1.6.0/jre/lib/i386/liblibtcnative-1.so", 0xB67AA6E0) Err#2 ENOENT
      6058/15: stat64("/usr/jboss-4.2.1.GA/bin/native/liblibtcnative-1.so", 0xB67AA6E0) Err#2 ENOENT


      Can anybody tell me why it is looking for liblibtc instead of libtc.
      NOTE: libtcnative-1.so is a link to libtcnative-1.so.0.1.11 from the tar file.