SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
Using Apache HTTPD
        with
  BusinessObjects
   Enterprise V3.1
          Dan Donarski
   Kolb+Co. Technology Advisers
Apache HTTP
 BusinessObjects out of box installation
 ◦ - Uses Tomcat application server
       To process dynamic Java web pages




             BO
Apache HTTP
 Separated Application & Web Services
 ◦ - Uses Apache HTTP web server
        Static content
 ◦ - Tomcat application server
        To process Java web pages
Apache HTTP
 Advantages
 ◦ Apache web server provide faster response to static pages and
   content including binary images and the like.
     Tomcat provides the redirected JavaServer page requests.
 ◦ Divide static web service from dynamic web application server for
   public access via firewall.
 ◦ Use Apache web server for incoming load balancing and web farm
   configuration.
 ◦ Apache has faster startup and shutdown times.
 ◦ Tomcat is not as robust and configurable as Apache.
Apache HTTP
 5-Step Implementation:

 ◦   1.) Install Apache web server
 ◦   2.) Install mod_jk connector
 ◦   3.) Modify server.xml file
 ◦   4.) Perform Wdeploy to distributed mode
 ◦   5.) Test final distributed installation
Apache HTTP
 Step 1 – Install Apache

 ◦ Download and install Apache msi file v2.2.x
     http://tomcat.apache.org/
         Index of /apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.28
          Mod_jk-1.2.28-httpd-2.2.3.so
          Readme.pdf
     Default installation
     Start Apache services
     Test – http://localhost/
Apache HTTP
 Step 2 – Install mod_jk connector
 - Use mod_jk.so file
 ◦ - Install into C:Program FilesApache Software FoundationApache2.2modules


 - Files to configure in Apache’s conf directory:
 ◦ - httpd.conf
      Enables redirect awareness
 ◦ - workers.properties
      Machines to redirect toward
 ◦ - bobj.InfoViewApp.conf (from wdeploy process)
      What to redirect
Apache HTTP
 httpd.conf sample

    #DGD - Load the AJP13 Redirector
      LoadModule jk_module modules/mod_jk.so

    #DGD - Specify worker definition file
      JKWorkersFile conf/workers.properties

    #DGD - This gets added during wdeploy configuration
      Include conf/bobj.InfoViewApp.conf
Apache HTTP
 workers.properties sample

 ◦ worker.list=wlb,jkstatus

 ◦   # Defining a worker named ajp13w and of type ajp13
 ◦   worker.ajp13w.type=ajp13
 ◦   worker.ajp13w.host=10.x.x.xx
 ◦   worker.ajp13w.port=8009
 ◦   # Defining a load balancer
 ◦   worker.wlb.type=lb
 ◦   worker.wlb.balance_workers=ajp13w
 ◦   # Define status worker
 ◦   worker.jkstatus.type=status
Apache HTTP
 bobj.InfoViewApp.conf sample

 Alias /InfoViewApp "C:/Program Files/Apache Software Foundation/Apache2.2//htdocs/InfoViewAPP"
 <Directory "C:/Program Files/Apache Software Foundation/Apache2.2//htdocs/InfoViewAPP">
  Options FollowSymLinks
  DirectoryIndex default.htm index.htm default.html index.html
 </Directory>

 JkMount /InfoViewApp/*.jsp wlb
 JkMount /OpenDocument/* wlb

 JKMount /jsp-examples/*.jsp wlb
Apache HTTP
 Step 3 – Modify server.xml file

 ◦ <!-- Define an AJP 1.3 Connector on port 8009 -->
 ◦ <Connector enableLookups="false" port="8009" protocol="AJP/1.3"
   redirectPort="8443"/>
Apache HTTP
 Step 4 – Perform Wdeploy
 ◦ # as_dir: the installation directory of the application server
 ◦ # as_instance: the application server instance to deploy into
 ◦ # as_service_name: on windows, the name of the tomcat service when tomcat is
   installed as a service
 ◦ # as_service_key: on windows, when tomcat is installed as a service, the name of the
   key where the java startup parameters are stored
 ◦ # distributed or standalone mode setting
 ◦ # webserver type setting
 ◦ # web server working directory
 ◦ # application to deploy
Apache HTTP
 Step 5 - Test final distributed installation


 ◦ jsp-examples
 ◦ http://apachehost/InfoViewApp
Apache HTTP


      Installation Complete!

        Dan Donarski
    ddonarski@kolbco.com

Más contenido relacionado

La actualidad más candente

DevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of ChefDevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of ChefAntons Kranga
 
Drupal, varnish, esi - Toulouse November 2
Drupal, varnish, esi - Toulouse November 2Drupal, varnish, esi - Toulouse November 2
Drupal, varnish, esi - Toulouse November 2Marcus Deglos
 
Salt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsSalt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsBenjamin Cane
 
SaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and States
SaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and StatesSaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and States
SaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and StatesSaltStack
 
Infrastructure = code - 1 year later
Infrastructure = code - 1 year laterInfrastructure = code - 1 year later
Infrastructure = code - 1 year laterChristian Ortner
 
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu ServerForget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Serveraaroncouch
 
Apache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With ApacheApache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With ApacheWildan Maulana
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vaultOsama Mustafa
 
Jenkins Job Builder: our experience
Jenkins Job Builder: our experienceJenkins Job Builder: our experience
Jenkins Job Builder: our experienceTimofey Turenko
 
Oracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_SovannOracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_SovannVoeurng Sovann
 
Quartz component in mule demo
Quartz component in mule demoQuartz component in mule demo
Quartz component in mule demoSudha Ch
 
Retrofitting Continuous Delivery
Retrofitting Continuous Delivery Retrofitting Continuous Delivery
Retrofitting Continuous Delivery Alan Norton
 
Salt conf 2014-installing-openstack-using-saltstack-v02
Salt conf 2014-installing-openstack-using-saltstack-v02Salt conf 2014-installing-openstack-using-saltstack-v02
Salt conf 2014-installing-openstack-using-saltstack-v02Yazz Atlas
 
Deploy agent in em12c
Deploy agent in em12cDeploy agent in em12c
Deploy agent in em12cOsama Mustafa
 
Spring boot Introduction
Spring boot IntroductionSpring boot Introduction
Spring boot IntroductionJeevesh Pandey
 

La actualidad más candente (20)

DevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of ChefDevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of Chef
 
Drupal, varnish, esi - Toulouse November 2
Drupal, varnish, esi - Toulouse November 2Drupal, varnish, esi - Toulouse November 2
Drupal, varnish, esi - Toulouse November 2
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Salt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsSalt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environments
 
SaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and States
SaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and StatesSaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and States
SaltConf14 - Forrest Alvarez, Choice Hotels - Salt Formulas and States
 
Cake php
Cake phpCake php
Cake php
 
Infrastructure = code - 1 year later
Infrastructure = code - 1 year laterInfrastructure = code - 1 year later
Infrastructure = code - 1 year later
 
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu ServerForget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
Forget MAMP and WAMP, Use Virtual Box to Have a Real Ubuntu Server
 
Apache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With ApacheApache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With Apache
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vault
 
Jenkins Job Builder: our experience
Jenkins Job Builder: our experienceJenkins Job Builder: our experience
Jenkins Job Builder: our experience
 
Oracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_SovannOracle WebLogic Server_OL7_Sovann
Oracle WebLogic Server_OL7_Sovann
 
Mysql
Mysql Mysql
Mysql
 
Tomcat ssl 設定
Tomcat ssl 設定Tomcat ssl 設定
Tomcat ssl 設定
 
Spring Lab
Spring LabSpring Lab
Spring Lab
 
Quartz component in mule demo
Quartz component in mule demoQuartz component in mule demo
Quartz component in mule demo
 
Retrofitting Continuous Delivery
Retrofitting Continuous Delivery Retrofitting Continuous Delivery
Retrofitting Continuous Delivery
 
Salt conf 2014-installing-openstack-using-saltstack-v02
Salt conf 2014-installing-openstack-using-saltstack-v02Salt conf 2014-installing-openstack-using-saltstack-v02
Salt conf 2014-installing-openstack-using-saltstack-v02
 
Deploy agent in em12c
Deploy agent in em12cDeploy agent in em12c
Deploy agent in em12c
 
Spring boot Introduction
Spring boot IntroductionSpring boot Introduction
Spring boot Introduction
 

Similar a Apache Web Services

Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Serverwebhostingguy
 
Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Serverwebhostingguy
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manualPramod Sharma
 
Integrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsIntegrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsMohanraj Nagasamy
 
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatApache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatJean-Frederic Clere
 
Apache lb
Apache lbApache lb
Apache lbKsd Che
 
Tomcat configuration
Tomcat configurationTomcat configuration
Tomcat configurationDima Gomaa
 
Spring Live Sample Chapter
Spring Live Sample ChapterSpring Live Sample Chapter
Spring Live Sample ChapterSyed Shahul
 
Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Servermohamedmoharam
 
JavaOne 2014: Taming the Cloud Database with jclouds
JavaOne 2014: Taming the Cloud Database with jcloudsJavaOne 2014: Taming the Cloud Database with jclouds
JavaOne 2014: Taming the Cloud Database with jcloudszshoylev
 
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAutomating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAkshaya Mahapatra
 
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014zshoylev
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and DeploymentBG Java EE Course
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileWASdev Community
 
Tomcat and apache httpd training
Tomcat and apache httpd trainingTomcat and apache httpd training
Tomcat and apache httpd trainingFranck SIMON
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoasZeid Hassan
 

Similar a Apache Web Services (20)

Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Server
 
Integrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application ServerIntegrating Apache Web Server with Tomcat Application Server
Integrating Apache Web Server with Tomcat Application Server
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manual
 
Tomcat 6: Evolving our server
Tomcat 6: Evolving our serverTomcat 6: Evolving our server
Tomcat 6: Evolving our server
 
Integrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsIntegrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On Windows
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
 
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatApache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
 
Apache lb
Apache lbApache lb
Apache lb
 
Tomcat configuration
Tomcat configurationTomcat configuration
Tomcat configuration
 
Spring Live Sample Chapter
Spring Live Sample ChapterSpring Live Sample Chapter
Spring Live Sample Chapter
 
Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 
JavaOne 2014: Taming the Cloud Database with jclouds
JavaOne 2014: Taming the Cloud Database with jcloudsJavaOne 2014: Taming the Cloud Database with jclouds
JavaOne 2014: Taming the Cloud Database with jclouds
 
bjhbj
bjhbjbjhbj
bjhbj
 
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAutomating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
 
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
 
Tomcat and apache httpd training
Tomcat and apache httpd trainingTomcat and apache httpd training
Tomcat and apache httpd training
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
 

Apache Web Services

  • 1. Using Apache HTTPD with BusinessObjects Enterprise V3.1 Dan Donarski Kolb+Co. Technology Advisers
  • 2. Apache HTTP BusinessObjects out of box installation ◦ - Uses Tomcat application server To process dynamic Java web pages BO
  • 3. Apache HTTP Separated Application & Web Services ◦ - Uses Apache HTTP web server Static content ◦ - Tomcat application server To process Java web pages
  • 4. Apache HTTP Advantages ◦ Apache web server provide faster response to static pages and content including binary images and the like. Tomcat provides the redirected JavaServer page requests. ◦ Divide static web service from dynamic web application server for public access via firewall. ◦ Use Apache web server for incoming load balancing and web farm configuration. ◦ Apache has faster startup and shutdown times. ◦ Tomcat is not as robust and configurable as Apache.
  • 5. Apache HTTP 5-Step Implementation: ◦ 1.) Install Apache web server ◦ 2.) Install mod_jk connector ◦ 3.) Modify server.xml file ◦ 4.) Perform Wdeploy to distributed mode ◦ 5.) Test final distributed installation
  • 6. Apache HTTP Step 1 – Install Apache ◦ Download and install Apache msi file v2.2.x http://tomcat.apache.org/ Index of /apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.28 Mod_jk-1.2.28-httpd-2.2.3.so Readme.pdf Default installation Start Apache services Test – http://localhost/
  • 7. Apache HTTP Step 2 – Install mod_jk connector - Use mod_jk.so file ◦ - Install into C:Program FilesApache Software FoundationApache2.2modules - Files to configure in Apache’s conf directory: ◦ - httpd.conf Enables redirect awareness ◦ - workers.properties Machines to redirect toward ◦ - bobj.InfoViewApp.conf (from wdeploy process) What to redirect
  • 8. Apache HTTP httpd.conf sample #DGD - Load the AJP13 Redirector LoadModule jk_module modules/mod_jk.so #DGD - Specify worker definition file JKWorkersFile conf/workers.properties #DGD - This gets added during wdeploy configuration Include conf/bobj.InfoViewApp.conf
  • 9. Apache HTTP workers.properties sample ◦ worker.list=wlb,jkstatus ◦ # Defining a worker named ajp13w and of type ajp13 ◦ worker.ajp13w.type=ajp13 ◦ worker.ajp13w.host=10.x.x.xx ◦ worker.ajp13w.port=8009 ◦ # Defining a load balancer ◦ worker.wlb.type=lb ◦ worker.wlb.balance_workers=ajp13w ◦ # Define status worker ◦ worker.jkstatus.type=status
  • 10. Apache HTTP bobj.InfoViewApp.conf sample Alias /InfoViewApp "C:/Program Files/Apache Software Foundation/Apache2.2//htdocs/InfoViewAPP" <Directory "C:/Program Files/Apache Software Foundation/Apache2.2//htdocs/InfoViewAPP"> Options FollowSymLinks DirectoryIndex default.htm index.htm default.html index.html </Directory> JkMount /InfoViewApp/*.jsp wlb JkMount /OpenDocument/* wlb JKMount /jsp-examples/*.jsp wlb
  • 11. Apache HTTP Step 3 – Modify server.xml file ◦ <!-- Define an AJP 1.3 Connector on port 8009 --> ◦ <Connector enableLookups="false" port="8009" protocol="AJP/1.3" redirectPort="8443"/>
  • 12. Apache HTTP Step 4 – Perform Wdeploy ◦ # as_dir: the installation directory of the application server ◦ # as_instance: the application server instance to deploy into ◦ # as_service_name: on windows, the name of the tomcat service when tomcat is installed as a service ◦ # as_service_key: on windows, when tomcat is installed as a service, the name of the key where the java startup parameters are stored ◦ # distributed or standalone mode setting ◦ # webserver type setting ◦ # web server working directory ◦ # application to deploy
  • 13. Apache HTTP Step 5 - Test final distributed installation ◦ jsp-examples ◦ http://apachehost/InfoViewApp
  • 14. Apache HTTP Installation Complete! Dan Donarski ddonarski@kolbco.com