8 Replies Latest reply on Nov 18, 2003 6:41 PM by rolfpf

    JBoss and Lotus Domino

    rolfpf Newbie

      Is it possible to use JBoss to be the http server for Lotus Domino?

      I have instructions on how to switch out the native http server from Domino so that I can use it with Apache Tomcat but I want to do the same thing with JBoss.

      I am running JBoss 3.2.1 under JVM 1.4.1 and Domino 6.5 which has a JVM of 1.3.1.

      I realise that the JVM's are not the same but suppose that they were the same, how would I switch the http server in Lotus Domino?

      Thanks in anticipation.

      Rolf Pfotenhauer

        • 1. Re: JBoss and Lotus Domino
          Jon Barnett Master

          It is difficult to say without having any context. Can you give hints on how you connect up Tomcat into a Domino deployment?

          • 2. Re: JBoss and Lotus Domino
            rolfpf Newbie

            Yes I can. Try the following URL
            http://www.junkheap.net/projects/phpdom/

            My problem is that the instructions say to edit the Apache hppd.config. The only problem is that I do not see one for JBoss.

            Rolf Pfotenhauer

            • 3. Re: JBoss and Lotus Domino
              Jon Barnett Master

              Actually, the instructions are for the Apache webserver. This is very different from the Apache Tomcat servlet container. What they are describing is the Apache webserver as a front-end and redirecting content requests to Domino.

              Perhaps another way to think about what they are doing is instead of a PHP server, you are substituting Tomcat into the equation. So the Apache webserver directs content requests to either Tomcat or Domino.

              Hope that helps.

              • 4. Re: JBoss and Lotus Domino
                rolfpf Newbie

                Thanks Jon. That does help somewhat, but I still don't understand how I can use JBoss instead of Apache.

                I was reading in one of the Forums that JBoss has a default Apache webserver but in my installation I don't see where it is? I don't actually have JBoss installed, I have jBPM installed, which happens to have JBoss 2.2.1 bundled with it.

                Regards
                Rolf Pfotenhauer

                • 5. Re: JBoss and Lotus Domino
                  Jon Barnett Master

                  The Apache webserver is a different beast all together and not Java based at all. You can get it from http://httpd.apache.org/. You need to get the binary for your OS platform. It is purely a static content server. The forum entry that indicated that JBoss comes with Apache is wrong - they probably meant Apache Tomcat which is not the same as Apache. Tomcat can serve static and dynamic web content but it cannot natively redirect content requests except through the CGI-servlet service.

                  The howto you linked to talks about the proxy directive, which is solely provided by the Apache webserver.

                  • 6. Re: JBoss and Lotus Domino
                    rolfpf Newbie

                    Cool. Thanks Jon.

                    Therefore I need: Domino, and Apache webserver for the Lotus side of things, and;

                    jBPM (my workflow processor) with its bundled JBoss and have it embeded with Apache webserver. Not that Apache webserver is needed here, but I would like to standardize on only one webserver.

                    That makes it a lot clearer. I had difficulty in understanding all the pieces and how they fit together.

                    Regards
                    Rolf Pfotenhauer

                    • 7. Re: JBoss and Lotus Domino
                      Jon Barnett Master

                      Nearly but not quite. Perhaps have a look at http://www.amitysolutions.com.au/documents/JK2-technote.pdf to get an idea of how you couple JBoss/Tomcat or JBoss/Jetty to an Apache webserver. In your case, you will also be coupling the Apache webserver to Lotus via the Apache proxy directive. Think of the Apache webserver as a switch or multiplexer - based on the request information, it will direct the request to Lotus or to JBoss/Tomcat.

                      • 8. Re: JBoss and Lotus Domino
                        rolfpf Newbie

                        OK. I have had a brief look at your PDF and am impressed.

                        I think the overview is what I am looking for. Thanks Jon.

                        Regards
                        Rolf Pfotenhauer