1 Reply Latest reply on Aug 29, 2003 11:18 PM by Jon Barnett

    HTTP Server Version 2.0 & jboss-3.2.2RC3 & Opencms 5.0.0

    Ove Nordstrom Newbie

      How to integrated HTTP Server Version 2.0 & jboss-3.2.2RC3 & Opencms 5.0.0 in a best way?

      1) I have installed Redhat 9.0, included was Apache HTTP Server Version 2.0.

      2) Then I installed jboss-3.2.2RC3.

      My question how to integrated this two?

      HTTP Server Version 2.0 uses port 80 and Jboss uses port 8080

      How does the config tell apache to forward jsp and servlets to port 8080?

      3) I also plan to use Opencms 5.0.0(http://www.opencms.org).

      What version of Tomcat is included in jboss-3.2.2RC3?
      Where is CATALINA_HOME folder in jboss-3.2.2RC3?

      Best Regards,

      In the installtion file for openCms you can read:

      OpenCms 5.0 requires a Servlet 2.3 / JSP 1.2 standards compliant container. Tomcat 4 is the reference implementation of this Standard. This release was tested with Tomcat 4.0.x and Tomcat 4.1.x. Older versions of Tomcat (3.x and earlier) do not support this newer standard and are thus not usable for OpenCms 5.0.

      Install Tomcat from http://jakarta.apache.org/tomcat/index.html into a folder of your choice. This is the CATALINA_HOME folder. Don't forget to set the environment variables CATALINA_HOME and JAVA_HOME.

      Test the installation by running Tomcat in standalone mode and check the examples. Note: Tomcat uses port 8080 in standalone mode. If you wish, you can combine the servlet-engine with a webserver like the Apache Web Server http://www.apache.org/httpd.html . Please see the documentation available with the webserver on how to combine it with your servlet environment.

      Copy the opencms.war file from the binary distribution ZIP file to CATALINA_HOME/webapps/

        • 1. Re: HTTP Server Version 2.0 & jboss-3.2.2RC3 & Opencms 5.0.0
          Jon Barnett Master

          Forget about CATALINA_HOME as it has no real meaning for the embedded Tomcat service.

          Put the CMS WAR file in the JBoss deployment directory for your run-time instance. Usually, for the novice you run the default instance, so the deployment directory is usually server/default/deploy for your JBoss distribution.

          Refer to http://www.amitysolutions.com.au/documents/JK2-technote.pdf for a configuration guide. You will need an Adobe Acrobat 5.0 compatible reader. The Apache 2.0 instance in RedHat 9 apparently does not have support for shared libraries. You would need to get an Apache 2.0 source version and build from scratch for mod_jk2 to work.

          You would need to modify the workers2.properties file to map/forward requests. Refer to the JK2 references to work out your mapping.