5 Replies Latest reply on Dec 19, 2008 1:07 AM by prabhar

    How to configure JbossWeb in jboss-5.0.0.GA

    prabhar

      I want to use Jboss Web that is available with Jboss-5.0.0.GA as the standard web server for our ejb application. I want to make Jboss Web behave as a normal web server (eg: something like Apache Http server) and not only a servlet container.
      I could not find any configuration documentation on how to do this.
      Please point me in the right direction.
      Thanks,
      Prabha

        • 1. Re: How to configure JbossWeb in jboss-5.0.0.GA
          alesj

          Nothing useful here?
          - http://www.jboss.org/jbossweb/
          I find that hard to believe ...

          • 2. Re: How to configure JbossWeb in jboss-5.0.0.GA
            peterj

            Also, what to you mean by "behave as a normal web server"?

            • 3. Re: How to configure JbossWeb in jboss-5.0.0.GA
              prabhar

              The documentation about JbossWeb talks about configuring a stand alone JbossWeb server. But now since JbossWeb is integrated into Jboss5 its not possible to find out where all the configration files are.
              I figure that JbossWeb is located at <Jboss_install_dir>\jboss-5.0.0.GA\server\default\deploy\jbossweb.sar. However in here there are only to xml files. Server.xml and context.xml. Even with these I don't know what has to be configured in order for JbossWeb to work.

              As for stand alone JbossWeb what is available for download is the an installation that will give you a native implementation of Jboss Web. So for exmple when you install on windows you get a bunch of .exes that you can use to start JbossWeb. Here also you don't get any configuration file that is described in the docs.

              What i mean by a "normal web server" is a web server that serves static contents, has a doc root, that can forward requests to servlet engine etc.

              Thanks,
              Prabha

              • 4. Re: How to configure JbossWeb in jboss-5.0.0.GA
                peterj

                 

                JbossWeb is located at <Jboss_install_dir>\jboss-5.0.0.GA\server\default\deploy\jbossweb.sar.


                Changes to server.xml behave as one would expect, given the Tomcat 6.0 documentation. I haven't found any need to edit context.xml. Also look at server/xxx/deployers/jbossweb.deploy - the global web.xml is located there.

                what has to be configured in order for JBossWeb to work.


                Nothing - it works out of the box. (Do you have a particular capability in mind which you are not mentioning...)

                serves static contents, has a doc root


                JBoss Web has that, even when embedded in JBoss AS.

                can forward requests to servlet engine


                You need Apache HTTP Server for that. Remember, JBoss Web == Tomcat.

                • 5. Re: How to configure JbossWeb in jboss-5.0.0.GA
                  prabhar

                  Thanks a lot! Will have a look and come back with more questions :)

                  Prabha