2 Replies Latest reply on Jan 8, 2007 2:57 PM by jbrisbin

    JBossWeb won't start AJP on Solaris 10 x64

    jbrisbin

      I downloaded the stock solaris 10 x86 package and unzipped it. Worked fine when I tried the other package out on my Linux box, but when I try and start jbossweb on my Solaris 10 amd64 server, it says this:

      [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library that JBoss Web requires (only
      the HTTP connector will be available) was not found on the java.library.path: /usr/jdk/instances/jdk1.6.0/jre/lib/amd64/server:/usr/jdk/ins
      tances/jdk1.6.0/jre/lib/amd64:/usr/jdk/instances/jdk1.6.0/jre/../lib/amd64:/usr/sfw/jbossweb-1.0.1.GA/bin/native:/opt/csw/lib:/usr/local/apr
      /lib:/usr/jdk/packages/lib/amd64:/lib/64:/usr/lib/64

      I've tried everything and can't seem to get it to see those .so files no matter where I put them. Started out with them in the bin/native/ directory, but it doesn't see them there. I put them all over the place inside the JDK directory structure, but it simply won't see them.

      Am I missing something?

        • 1. Re: JBossWeb won't start AJP on Solaris 10 x64
          mladen.turk

          Try to ldd libtcnative

          • 2. Re: JBossWeb won't start AJP on Solaris 10 x64
            jbrisbin

            I did an "ldd libtcnative.1.so" in the bin/native directory and it wasn't finding libapr. I added the bin/native directory into the search path using crle and in 32 bit mode that caused a segfault in the JVM on libcrypto. In 64-bit mode, the server started, but it didn't load the native code.

            I copied the libapr.so file into my /opt/csw/lib directory, which is in the lib search path, and it still didn't start the native stuff.

            I'm going to try building the native stuff using the Sun compiler in 64-bit mode and see if that makes any difference.