5 Replies Latest reply on Jun 14, 2007 11:24 AM by gustavosoares

    AJP port won´t come up

    gustavosoares

      Hi!!

      I am facing a problem that only occurs when I run jbossweb 1.0.1.GA on a solaris box. When I start it up the following message appears:

      17:31:05,647 ERROR [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: /opt/jbossweb-1.0.1.GA-wmapi/bin/native

      and then the ajp port won´t come up. I´ve tried exporting LD_LIBRARY_PATH variable inside run.sh script but it didn´t work.

      Does anyone has a clue?

      Regards,
      Gustavo

        • 1. Re: AJP port won´t come up
          jfclere

          What does ls -lt /opt/jbossweb-1.0.1.GA-wmapi/bin/native tells?

          The ajp port should come up even is the bin/native/libtcnative-1.so doesn't exist:
          04:08:11,984 ERROR [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: /qa/home/jfclere/TMP/jbossweb-1.0.1.GA/bin/native
          04:08:12,705 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
          04:08:12,709 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8009
          0

          • 2. Re: AJP port won´t come up
            gustavosoares

            hi!

            you are right, the ajp port comes up, but you can notice that it comes up using http protoco, and not as a Ajp3protocol. This lead to commucation problems when I try to use apache to foward requests using mod_jk or mod_proxy_ajp (in apache 2.2.x), since the ajp port is using in fact http protocol.

            04:08:12,709 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8009

            Yesterday I downloaded a native library for solaris 9 (sparc) and It seens to work. However, I also have some boxes running solaris 8 and it haven't worked... I will see if I can find the source and try to compile it.

            • 3. Re: AJP port won´t come up
              jfclere

              Oops.... Doing http when the connector description is:

               <!-- A AJP 1.3 Connector on port 8009 -->
               <Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
               redirectPort="443" />
              

              Is a bug.

              The sources are in http://labs.jboss.com/jbossweb/downloads.

              • 4. Re: AJP port won´t come up
                jfclere

                To build Jboss Web native libraries use the wiki.

                https://labs.jboss.com/wiki/JbosswebBuildNative

                • 5. Re: AJP port won´t come up
                  gustavosoares

                  All right, I will try to do that.

                  tks!