3 Replies Latest reply on Jul 7, 2006 11:09 AM by orpheusx

    Replace Apache Tomcat with JBoss Web Server in JBoss AS

    pmlb

      Hi all,

      I was looking for informations about replacing Apache Tomcat bundled in JBoss Application Server with the new JBoss Web Server, but couldn't find any.

      So I tried this:

      - download and unzip appropriate JBoss Web Server file (in my case jbossweb-windows-i586-1.0.0.GA.zip)

      - copy jbossweb-1.0.0.GA\bin\native directory to JBOSS_HOME\bin\

      - edit JBOSS_HOME\bin\run.bat to add this line:
      set PATH=%DIRNAME%\native;%PATH%

      - remove JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar directory

      - copy jbossweb-1.0.0.GA\server\default\deploy\jbossweb.sar directory to JBOSS_HOME\server\default\deploy\

      - launch JBoss AS

      It seems to work fine, I got the AprProtocol messages in the log file and my applications run OK.

      Could someone from JBoss team confirm that I did not miss anything?

      Thanks

      Pierre-Marie Le Biot

        • 1. Re: Replace Apache Tomcat with JBoss Web Server in JBoss AS
          orpheusx

          Hi Pierre-Marie,

          I tried your recipe under Linux and found I had to also comment out the tag that referred to jboss.cache:service=TomcatClusteringCache from server/default/deploy/jbossweb.sar/META-INF/jboss-service.xml since I didn't need clustering (which itself needs the jboss-aop deployer and possible other stuff.)

          I would also like to know what the official word here is.

          Thanks for posting the instructions!
          ::mark

          • 2. Re: Replace Apache Tomcat with JBoss Web Server in JBoss AS
            mladen.turk

            You can not replace the embedded Tomcat with
            Jboss Web Server.
            However JBoss Web Server will be part of
            JBoss AS 5.

            • 3. Re: Replace Apache Tomcat with JBoss Web Server in JBoss AS
              orpheusx

               

              You can not replace the embedded Tomcat with
              Jboss Web Server.
              However JBoss Web Server will be part of
              JBoss AS 5.


              Hmm. Does this mean JBoss Web Server will go away as a separate product? Will there be a server config (a la minimal, default, all) for running the equivalent subset of functionality that JBoss Web Server offers? This would be ideal.