7 Replies Latest reply on Sep 2, 2008 10:40 AM by maggu

    connector configuration

    maggu

      Hi,
      While I understand that to configure port, thread connections etc for the web server in Jboss, one has to do it in jboss-web.deployer/server.xml (is this correct?)

      Is there a way to configure the communication between webserver and Jboss (much alike the server.xml's connector) ?

      Thanks

        • 1. Re: connector configuration
          peterj

          Could you be a little more specific, I do not know what you are asking.

          In the first sentence, "web server" is two words and you state it is "in jboss". In the second sentence webserver is a single word and you are implying that it is something separate from jboss. What do you mean by webserver in the second sentence?

          • 2. Re: connector configuration
            maggu

            Hi Peter, sorry for being unclear as I am trying to figure my way here too.

            Here is the breakdown:
            I am looking at JRun and trying to find parallels or at least work arounds in JBoss. In JRun, two services are defined:
            1) For the built in WebServer (webservice).
            2) For communicating with a native web server like Apache or IIS etc (proxyservice).
            Both are seperately configurable (ports, max threads etc)

            While, jboss-web.deployer/server.xml lets us define the first service, is there a parallel way to define the second service?
            Where would one define any configuration if connecting to a webs erver like Apache?
            Thanks.

            • 3. Re: connector configuration
              erasmomarciano

              Hi
              If I understand...

              You have to do comunicate Apache * Jboss. to use the mod_jk is the connector used to connect Jboss-Tomcat jsp container with web servers such as Apache.
              The port of default is 8009


              In jboss the port defined in docs/examples/binding-manager.
              But first of all youk check this file server.xm


              • 4. Re: connector configuration
                erasmomarciano

                Forgive me , i have forgot to ask you the version Jboss.

                • 5. Re: connector configuration
                  maggu

                  Thanks for your answers erasmomarciano. But I am not sure I am following everything. Could you please detail this a bit more since I am new to this.

                  Your understanding is correct. I am trying to communicate between JBoss and Apache or IIS etc.

                  My Jboss version is 4.2.2GA
                  Thanks.

                  • 6. Re: connector configuration
                    peterj

                    For details on connecting Apache HTTPD or IIS to JBossAS, see:

                    HTTPD: http://wiki.jboss.org/wiki/UsingMod_proxyWithJBoss

                    IIS: http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBossAndIIS7

                    • 7. Re: connector configuration
                      maggu

                      Thanks for the info guys. I also understand from the WIKI that mod_proxy allows to use https between Apache httpd and JBoss Web

                      The next question was is it possible to set configuration of the jBoss web server and Apache connection seperately/ independently (mat threads, time outs, ports etc)?

                      erasmomarciano did mention the port number, but I was looking to se if at all there is aplace where I can set an independent connector config much like the following: