0 Replies Latest reply on Sep 20, 2010 6:34 AM by tartana

    my production environment we are having a problem with the connections between apache (mod_jk) and jboss-4.2.3 in RedHat 4 operating system, the problem is that it has a number of connections the server hangs jboss.

    tartana

      I performed the following steps to install jboss-native-2.0.8-linux2-x64-ssl in my jboss-4.2.3-GA.

       

      I unzipped jboss-native-2.0.8-linux2-x64-ssl and I have copied the native folder in / jboss-4.2.3-GA/bin

       

      I modified the file vi / jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/server.xml, and I added these settings

       

      <Connector port = "8080" address = "$ (jboss.bind.address)
      MaxThreads = "250" maxHttpHeaderSize = "8192"
      emptySessionPath = "true" protocol = "org.apache.coyote.http11.Http11AprProtocol"
      enableLookups = "false" redirectPort = "8443" acceptCount = "100"
      connectionTimeout = "20000" disableUploadTimeout = "true" />

       


      <! - Define an AJP 1.3 Connector on port 8009 ->
      <Connector port = "8009" address = "$ (jboss.bind.address)" protocol = "org.apache.coyote.ajp.AjpAprProtocol"
      emptySessionPath = "true" enableLookups = "false" redirectPort = "8443" />

       

      Really interests me is the configuration of AJP.

       

      I started my server with the following messages:

       


      INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] JBoss Web Services - Native
      2010-09-19 12:00:27,136 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)

       

      2010-09-19 12:00:28,424 INFO  [org.apache.catalina.startup.Embedded] Catalina naming disabled

       

      2010-09-19 12:00:28,673 INFO  [org.apache.catalina.core.AprLifecycleListener] Loaded Apache Tomcat Native library 1.1.18.

       

      2010-09-19  12:00:28,673 INFO  [org.apache.catalina.core.AprLifecycleListener] APR  capabilities: IPv6 [true], sendfile [true], accept filters [false],  random [true].

       

      2010-09-19 12:00:29,029 INFO   [org.apache.coyote.http11.Http11AprProtocol] Inicializando Coyote  HTTP/1.1 en puerto http-0.0.0.0-8080

       

      2010-09-19 12:00:29,030 INFO  [org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009

       

      2010-09-19  12:00:41,351 INFO  [org.apache.coyote.http11.Http11AprProtocol]  Arrancando Coyote HTTP/1.1 en puerto http-0.0.0.0-8080

       

      2010-09-19 12:00:41,377 INFO  [org.apache.coyote.ajp.AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009

       

       

       

      Is it right for these steps to configure jboss-native?

       

      Is it necessary to modify the entry in server.xml
      protocol = "org.apache.coyote.http11.Http11AprProtocol?

       

      Thanks