SlideShare ist ein Scribd-Unternehmen logo
1 von 40
The App Server, Web Server and Everything in Between 
Hari Krishna Kallae, Adobe 
Immanuel Noel, Adobe 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
ColdFusion 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
And 
Tomcat 
Agenda 
ColdFusion and Tomcat 
 Request flow in Built-in Webserver 
 Modifications to the Bundled Tomcat 
 ColdFusion updates 
 Configuration Tweaks 
Web Servers and Connectors 
 Apache 
 IIS 
 Other Web Servers 
2
ColdFusion 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
And 
Tomcat 
Agenda 
ColdFusion and Tomcat 
 Request flow in Built-in Webserver 
 Modifications to the Bundled Tomcat 
 ColdFusion updates 
 Configuration Tweaks 
Web Servers and Connectors 
 Apache 
 IIS 
 Other Web Servers 
3
ColdFusion and Tomcat 
ColdFusion 9 ColdFusion 10+ 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 4
Request Flow in the Built-In WebServer 
Request 1 Request 2 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Tomcat – The Built in Web Server 
ColdFusion 
5 
Request 3 
server.xm 
l 
web.xml
Modifications to the bundled Tomcat 
 Directory Structure 
 CGI scope variables support 
 SES (Search Engine Safe) URL support 
 Session replication in cluster 
 Multiple webroot support 
 Output buffer size 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
6
Modifications to the bundled Tomcat: Directory Structure 
Directory structure matches earlier versions 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
7 
Exceptions: 
 “Instance” replaces “Multi-Server” 
 Server.xml replaces jrun.xml 
 JRE isolated from instances, to enable common access across instances 
 Connector specific files isolated from the core server
Modifications to the bundled Tomcat: CGI scope variables 
Many CGI scopes were not supported as Tomcat did not 
had a way to query the webserver 
AUTH_TYPE 
CERT_FLAGS 
CGI Scope 
HTTP_COOKIE 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
8 
AUTH_PASSWORD 
HTTP_CONNECTION 
SERVER_PORT 
HTTPS_SERVER_SUBJECT 
SERVER_NAM 
E 
CERT_COOKIE 
HTTPS_SECRETKEYSIZE
Modifications to the bundled Tomcat: SES URL Support 
http://domain.com/index.cfm/about/contact/ 
ColdFusion Page: index.cfm 
CGI.PATH_INFO: /about/contact/ 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
9
Modifications to the bundled Tomcat: Session Replication in Cluster 
Session replication 
Instance 1 Instance 2 Instance 3 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Sticky session 
Session replication 
Cluster 
10 
Sticky session
Modifications to the bundled Tomcat: Multiple webroot support 
Request 1 Request 2 
Tomcat 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 11 
Request 3 
ColdFusion 
File 
exists in 
CF 
webroot 
Yes 
No 
External Web Server
Modifications to the bundled Tomcat: Output buffer size 
 Vanilla Tomcat connector performance was low due to limitations 
in Output buffer size 
 Tomcat connector (AJP) was built to work with 8kb packet size 
data 
 In ColdFusion the Output buffer size was increased to 64kb in AJP 
which shown a 15% increase in the performance 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
12
Update to ColdFusion in October 2014 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
13 
ColdFusion 10 
Tomcat upgraded to 7.0.54 
Connector upgraded to 
1.2.40 
Apache 2.4 Support 
ColdFusion 9, 9.0.1, 9.0.2 
Security fixes 
ColdFusion 10 
JDK 8 Support, Security fixes, 60+ bug 
fixes 
ColdFusion 11 
Security fixes
Configuration Tweaks 
Server.xml 
Web.xml 
Logging 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 14
Server.xml: Web Server Configuration 
<!-- internal webserver start --> 
<Connector port="8500" protocol="HTTP/11" 
connectionTimeout="20000" 
redirectPort="8447" /> 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
15 
<!-- internal webserver end --> 
<!-- begin connector --> 
<Connector port="8014" protocol="AJP/13" 
redirectPort="8447" tomcatAuthentication="false" /> 
<!-- end connector -->
Server.xml: Default Webroot 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
16 
<Context path="/" 
docBase="<cf_home>wwwroot" 
WorkDir="<cf_home>runtimeconfCatalinalocalhosttmp"> 
</Context> 
 Do not forget to copy CFIDE and WEB-INF folders present in 
<cf_home>cfusionwwwroot to the new webroot folder
Server.xml: Virtual Directory 
To add a virtual directory, uncomment context tag in server.xml 
<Context path="/" 
docBase="<cf_home>wwwroot" 
WorkDir="<cf_home>runtimeconfCatalinalocalhosttmp" 
aliases="/myWebroot=C:newwebrootVD“ > 
</Context> 
Multiple virtual directories can be created with aliases 
aliases=“/aliasPath1=docBase1,/aliasPath2=docBase2” 
Do not forget to copy WEB-INF folder present in 
<cf_home>cfusionwwwroot to the new webroot folder 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
17 
Virtual 
Directo 
ry
Web.xml: Directory Browsing 
C:ColdFusion11cfusionruntimeconfweb.xml 
<servlet> 
<servlet-name>default</servlet-name> 
<servlet-class> org.apache.catalina.servlets.DefaultServlet 
</servlet-class> 
<init-param> 
<param-name>listings</param-name> 
<param-value>false</param-value> 
</init-param> 
<load-on-startup>1</load-on-startup> 
</servlet> 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
18
Logging 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
19
C:ColdFusion11cfusionlibNeo-logging.xml 
 maxOutLogSize – Log file size 
 maxOutFileBackup – Number of Archives 
By default ColdFusion uses “MM/dd/yy” format If you wish to change it, you can do 
it by changing the columns and patterns to any standard date format 
<var name='pattern'> 
<string>"%p","%t",%d{"MM/dd/yy","HH:mm:ss"},%a,"%m%x"%n</string> 
</var> 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
20 
Logging
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Demo
Summary 
Modifications to the Tomcat Web Server 
ColdFusion Updates 
Configuration Tweaks 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
22
Revisiting the Agenda… 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Web 
Servers 
And 
Connectors 
ColdFusion and Tomcat 
Request flow in Built-in Webserver 
Modifications to the Bundled Tomcat 
ColdFusion Updates 
Configuration Tweaks 
Web Servers and Connectors 
Apache 
IIS 
Other Web Servers 
23
Web Servers & Connectors 
ColdFusion + Tomcat 
Apache 
HTTPD 
Web Server 
Connector 
Internet 
Information 
Services 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 24 
Other Web 
Servers
Connector 
ColdFusion + Tomcat 
A connection between the ColdFusion server and webservers 
Built separately for 14 different configurations 
Apache 
HTTPD 
Web Server 
Connector 
Internet 
Information 
Services 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 25 
Other Web 
Servers 
Source Available
WsConfig Tool 
ColdFusion + Tomcat 
Apache 
HTTPD 
Web Server 
Connector (WSConfig tool) 
Internet 
Information 
Services 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 26 
Other Web 
Servers
The Web Server Configuration Tool 
-ws apache 
–dir <Apache>/conf/ 
-bin <Apache>/bin/httpd 
–script <Apache>/bin/apachectl 
cluster ColdFusion Cluster Name 
host IP of the remote ColdFusion server 
norestart Avoid restarting the web server 
ws32 Configuring a 32bit webserver on a 64bit machine 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
27 
Independent of 
the webserver 
WsConfig Parameters: 
<cfusion>/runtime/bin/wsconfig 
-ws iis 
–site All / <Site Name>
Web Servers & Connectors 
ColdFusion + Tomcat 
Apache 
HTTPD 
Web Server 
Connector (WSConfig tool) 
Internet 
Information 
Services 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 28 
Other Web 
Servers
The Apache Connector 
Apache 2.4 support for CF 10 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Demo 
Setting up the Connector 
Modified Apache Configurations 
Connector Configurations 
29
The Apache Connector: Ubuntu 
Ubuntu distributes a customized version of Apache 
And does a few things differently 
./wsconfig –ws apache 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
–dir /etc/apache2 
–bin /usr/sbin/apache2ctl 
–script /usr/sbin/apache2ctl 
./apache2ctl needs to be specified as the Apache Binary 
30 
Optional
Web Servers & Connectors 
ColdFusion + Tomcat 
Apache 
HTTPD 
Web Server 
Connector (WSConfig tool) 
Internet 
Information 
Services 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 31 
Other Web 
Servers
The IIS Connector 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Demo 
Setting up the Connector 
Modified IIS Configurations 
Connector Configurations 
32
Configuring with IIS: Tuning 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
1. Connection Pool Size 
2. Reuse Connections (max_reuse_connections) 
3. Connection Pool Timeout 
Values need to specified in server.xml, in addition 
to worker.properties 
33 
The Big 
3 
worker.properties
Web Servers & Connectors 
ColdFusion + Tomcat 
Apache 
HTTPD 
Web Server 
Connector 
Internet 
Information 
Services 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 34 
Other Web 
Servers
Other Configuration Mechanisms 
Boncode 
An IIS Connector, built by Bilal Soylu 
NGinX 
A hack 
Read: Not (yet) supported by Adobe 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
35 
Web Server Market Share 
Source: Netcraft 
Apache IIS NginX
Other Configuration Mechanisms: Boncode 
Boncode or ColdFusion Connector - A matter of 
Uses the AJP protocol, opposed to the ISAPI route that 
ColdFusion connector takes 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
An IIS Connector 
preference 
36
Other Configuration Mechanisms: NginX 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
NginX 
37 
ColdFusion 
Source: Wikipedia
References 
Connector Source 
http://helpx.adobe.com/coldfusion/kb/rhel-connector-configuration.html 
IIS Connector Tuning 
http://blogs.coldfusion.com/post.cfm/coldfusion-11-iis-connector-tuning 
Removing Connectors Manually 
http://blog.immanuelnoel.com/2014/07/17/coldfusion-11-manually-remove-connector-configuration/ 
IIS Boncode Connector 
http://boncode.net/connector/webdocs/Tomcat_Connector.htm#_Toc399840617 
NginX Reverse Proxy 
http://nginx.com/resources/admin-guide/reverse-proxy/ 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
38
Summary 
Modifications to the Tomcat Web Server 
Configuration Tweaks 
Configuration Internals with Apache and IIS 
Configuring with NginX and with Boncode 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
39
QUESTIONS ? 
© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 
Harikrishna Kallae 
http://hkallae.wordpress.com 
Twitter: @hkallae 
Immanuel Noel 
http://blog.immanuelnoel.com 
Twitter: @ImmanuelNoel

Weitere ähnliche Inhalte

Was ist angesagt?

Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloudMigrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloudJohn Donaldson
 
Migration to ColdFusion 11 – making it seamless and easy anit
Migration to ColdFusion 11 – making it seamless and easy   anitMigration to ColdFusion 11 – making it seamless and easy   anit
Migration to ColdFusion 11 – making it seamless and easy anitColdFusionConference
 
Adobe AEM Maintenance - Customer Care Office Hours
Adobe AEM Maintenance - Customer Care Office HoursAdobe AEM Maintenance - Customer Care Office Hours
Adobe AEM Maintenance - Customer Care Office HoursAndrew Khoury
 
Was liberty at scale
Was liberty at scaleWas liberty at scale
Was liberty at scalesflynn073
 
WebServices in ServiceMix with CXF
WebServices in ServiceMix with CXFWebServices in ServiceMix with CXF
WebServices in ServiceMix with CXFAdrian Trenaman
 
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyNginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyAmit Aggarwal
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAndrew Khoury
 
Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...
Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...
Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...Amazon Web Services
 
Scaling AEM (CQ5) Gem Session
Scaling AEM (CQ5) Gem SessionScaling AEM (CQ5) Gem Session
Scaling AEM (CQ5) Gem SessionMichael Marth
 
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...Sharon James
 
Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013Charles Moulliard
 
Apache Manager Table of Contents
Apache Manager Table of ContentsApache Manager Table of Contents
Apache Manager Table of Contentswebhostingguy
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSharon James
 
Scale your Alfresco Solutions
Scale your Alfresco Solutions Scale your Alfresco Solutions
Scale your Alfresco Solutions Alfresco Software
 

Was ist angesagt? (20)

S903 palla
S903 pallaS903 palla
S903 palla
 
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloudMigrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
 
Migration to ColdFusion 11 – making it seamless and easy anit
Migration to ColdFusion 11 – making it seamless and easy   anitMigration to ColdFusion 11 – making it seamless and easy   anit
Migration to ColdFusion 11 – making it seamless and easy anit
 
Adobe AEM Maintenance - Customer Care Office Hours
Adobe AEM Maintenance - Customer Care Office HoursAdobe AEM Maintenance - Customer Care Office Hours
Adobe AEM Maintenance - Customer Care Office Hours
 
Was liberty at scale
Was liberty at scaleWas liberty at scale
Was liberty at scale
 
WebServices in ServiceMix with CXF
WebServices in ServiceMix with CXFWebServices in ServiceMix with CXF
WebServices in ServiceMix with CXF
 
Tomcatx performance-tuning
Tomcatx performance-tuningTomcatx performance-tuning
Tomcatx performance-tuning
 
Realtime with-websockets-2015
Realtime with-websockets-2015Realtime with-websockets-2015
Realtime with-websockets-2015
 
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyNginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser Caching
 
Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...
Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...
Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Ch...
 
201408 - Alfresco Tech Talk Live - Maven SDK 2.0
201408  - Alfresco Tech Talk Live - Maven SDK 2.0201408  - Alfresco Tech Talk Live - Maven SDK 2.0
201408 - Alfresco Tech Talk Live - Maven SDK 2.0
 
Scaling AEM (CQ5) Gem Session
Scaling AEM (CQ5) Gem SessionScaling AEM (CQ5) Gem Session
Scaling AEM (CQ5) Gem Session
 
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
 
Asadmin Webinar 12 Feb 2009
Asadmin Webinar 12 Feb 2009Asadmin Webinar 12 Feb 2009
Asadmin Webinar 12 Feb 2009
 
All Change
All ChangeAll Change
All Change
 
Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013
 
Apache Manager Table of Contents
Apache Manager Table of ContentsApache Manager Table of Contents
Apache Manager Table of Contents
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
Scale your Alfresco Solutions
Scale your Alfresco Solutions Scale your Alfresco Solutions
Scale your Alfresco Solutions
 

Ähnlich wie The app server, web server and everything in between

Get Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryGet Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryLucinda Davidson
 
CFSummit ColdFusion 2015 Load Balancing, Failover and Scalability
CFSummit ColdFusion 2015 Load Balancing, Failover and ScalabilityCFSummit ColdFusion 2015 Load Balancing, Failover and Scalability
CFSummit ColdFusion 2015 Load Balancing, Failover and ScalabilitymcollinsCF
 
Load Balancing, Failover and Scalability with ColdFusion
Load Balancing, Failover and Scalability with ColdFusionLoad Balancing, Failover and Scalability with ColdFusion
Load Balancing, Failover and Scalability with ColdFusionColdFusionConference
 
ColdFusion MX 7 Server Administration
ColdFusion MX 7 Server AdministrationColdFusion MX 7 Server Administration
ColdFusion MX 7 Server AdministrationSteven Erat
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administrationwebhostingguy
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administrationwebhostingguy
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administrationwebhostingguy
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Serverswebhostingguy
 
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAXAlpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAXRichard Rabins
 
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Alessandro Pilotti
 
FATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex appsFATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex appsMichael Chaize
 
Apache server configuration & optimization
Apache server configuration & optimizationApache server configuration & optimization
Apache server configuration & optimizationGokul Muralidharan
 
How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?Zend by Rogue Wave Software
 

Ähnlich wie The app server, web server and everything in between (20)

ColdFusion Internals
ColdFusion InternalsColdFusion Internals
ColdFusion Internals
 
Cf intro aug_2012_raja
Cf intro aug_2012_rajaCf intro aug_2012_raja
Cf intro aug_2012_raja
 
Get Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryGet Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud Foundry
 
CFSummit ColdFusion 2015 Load Balancing, Failover and Scalability
CFSummit ColdFusion 2015 Load Balancing, Failover and ScalabilityCFSummit ColdFusion 2015 Load Balancing, Failover and Scalability
CFSummit ColdFusion 2015 Load Balancing, Failover and Scalability
 
Load Balancing, Failover and Scalability with ColdFusion
Load Balancing, Failover and Scalability with ColdFusionLoad Balancing, Failover and Scalability with ColdFusion
Load Balancing, Failover and Scalability with ColdFusion
 
ColdFusion MX 7 Server Administration
ColdFusion MX 7 Server AdministrationColdFusion MX 7 Server Administration
ColdFusion MX 7 Server Administration
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Upgrade to cf 2016 1
Upgrade to cf 2016 1Upgrade to cf 2016 1
Upgrade to cf 2016 1
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administration
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administration
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administration
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAXAlpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
 
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1
 
FATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex appsFATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex apps
 
Apache server configuration & optimization
Apache server configuration & optimizationApache server configuration & optimization
Apache server configuration & optimization
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?
 
Apache Web Server Setup 3
Apache Web Server Setup 3Apache Web Server Setup 3
Apache Web Server Setup 3
 
are available here
are available hereare available here
are available here
 

Mehr von ColdFusionConference

Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server DatabasesColdFusionConference
 
API Economy, Realizing the Business Value of APIs
API Economy, Realizing the Business Value of APIsAPI Economy, Realizing the Business Value of APIs
API Economy, Realizing the Business Value of APIsColdFusionConference
 
Crafting ColdFusion Applications like an Architect
Crafting ColdFusion Applications like an ArchitectCrafting ColdFusion Applications like an Architect
Crafting ColdFusion Applications like an ArchitectColdFusionConference
 
Security And Access Control For APIS using CF API Manager
Security And Access Control For APIS using CF API ManagerSecurity And Access Control For APIS using CF API Manager
Security And Access Control For APIS using CF API ManagerColdFusionConference
 
Monetizing Business Models: ColdFusion and APIS
Monetizing Business Models: ColdFusion and APISMonetizing Business Models: ColdFusion and APIS
Monetizing Business Models: ColdFusion and APISColdFusionConference
 
Become a Security Rockstar with ColdFusion 2016
Become a Security Rockstar with ColdFusion 2016Become a Security Rockstar with ColdFusion 2016
Become a Security Rockstar with ColdFusion 2016ColdFusionConference
 
Developer Insights for Application Upgrade to ColdFusion 2016
Developer Insights for Application Upgrade to ColdFusion 2016Developer Insights for Application Upgrade to ColdFusion 2016
Developer Insights for Application Upgrade to ColdFusion 2016ColdFusionConference
 
ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusion Keynote: Building the Agile Web Since 1995ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusion Keynote: Building the Agile Web Since 1995ColdFusionConference
 
Super Fast Application development with Mura CMS
Super Fast Application development with Mura CMSSuper Fast Application development with Mura CMS
Super Fast Application development with Mura CMSColdFusionConference
 
Build your own secure and real-time dashboard for mobile and web
Build your own secure and real-time dashboard for mobile and webBuild your own secure and real-time dashboard for mobile and web
Build your own secure and real-time dashboard for mobile and webColdFusionConference
 

Mehr von ColdFusionConference (20)

Api manager preconference
Api manager preconferenceApi manager preconference
Api manager preconference
 
Cf ppt vsr
Cf ppt vsrCf ppt vsr
Cf ppt vsr
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server Databases
 
API Economy, Realizing the Business Value of APIs
API Economy, Realizing the Business Value of APIsAPI Economy, Realizing the Business Value of APIs
API Economy, Realizing the Business Value of APIs
 
Don't just pdf, Smart PDF
Don't just pdf, Smart PDFDon't just pdf, Smart PDF
Don't just pdf, Smart PDF
 
Crafting ColdFusion Applications like an Architect
Crafting ColdFusion Applications like an ArchitectCrafting ColdFusion Applications like an Architect
Crafting ColdFusion Applications like an Architect
 
Security And Access Control For APIS using CF API Manager
Security And Access Control For APIS using CF API ManagerSecurity And Access Control For APIS using CF API Manager
Security And Access Control For APIS using CF API Manager
 
Monetizing Business Models: ColdFusion and APIS
Monetizing Business Models: ColdFusion and APISMonetizing Business Models: ColdFusion and APIS
Monetizing Business Models: ColdFusion and APIS
 
Become a Security Rockstar with ColdFusion 2016
Become a Security Rockstar with ColdFusion 2016Become a Security Rockstar with ColdFusion 2016
Become a Security Rockstar with ColdFusion 2016
 
ColdFusion in Transit action
ColdFusion in Transit actionColdFusion in Transit action
ColdFusion in Transit action
 
Developer Insights for Application Upgrade to ColdFusion 2016
Developer Insights for Application Upgrade to ColdFusion 2016Developer Insights for Application Upgrade to ColdFusion 2016
Developer Insights for Application Upgrade to ColdFusion 2016
 
Where is cold fusion headed
Where is cold fusion headedWhere is cold fusion headed
Where is cold fusion headed
 
ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusion Keynote: Building the Agile Web Since 1995ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusion Keynote: Building the Agile Web Since 1995
 
Instant ColdFusion with Vagrant
Instant ColdFusion with VagrantInstant ColdFusion with Vagrant
Instant ColdFusion with Vagrant
 
Restful services with ColdFusion
Restful services with ColdFusionRestful services with ColdFusion
Restful services with ColdFusion
 
Super Fast Application development with Mura CMS
Super Fast Application development with Mura CMSSuper Fast Application development with Mura CMS
Super Fast Application development with Mura CMS
 
Build your own secure and real-time dashboard for mobile and web
Build your own secure and real-time dashboard for mobile and webBuild your own secure and real-time dashboard for mobile and web
Build your own secure and real-time dashboard for mobile and web
 
Why Everyone else writes bad code
Why Everyone else writes bad codeWhy Everyone else writes bad code
Why Everyone else writes bad code
 
Securing applications
Securing applicationsSecuring applications
Securing applications
 
Testing automaton
Testing automatonTesting automaton
Testing automaton
 

Kürzlich hochgeladen

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 

Kürzlich hochgeladen (20)

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 

The app server, web server and everything in between

  • 1. The App Server, Web Server and Everything in Between Hari Krishna Kallae, Adobe Immanuel Noel, Adobe © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
  • 2. ColdFusion © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. And Tomcat Agenda ColdFusion and Tomcat  Request flow in Built-in Webserver  Modifications to the Bundled Tomcat  ColdFusion updates  Configuration Tweaks Web Servers and Connectors  Apache  IIS  Other Web Servers 2
  • 3. ColdFusion © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. And Tomcat Agenda ColdFusion and Tomcat  Request flow in Built-in Webserver  Modifications to the Bundled Tomcat  ColdFusion updates  Configuration Tweaks Web Servers and Connectors  Apache  IIS  Other Web Servers 3
  • 4. ColdFusion and Tomcat ColdFusion 9 ColdFusion 10+ © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 4
  • 5. Request Flow in the Built-In WebServer Request 1 Request 2 © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Tomcat – The Built in Web Server ColdFusion 5 Request 3 server.xm l web.xml
  • 6. Modifications to the bundled Tomcat  Directory Structure  CGI scope variables support  SES (Search Engine Safe) URL support  Session replication in cluster  Multiple webroot support  Output buffer size © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 6
  • 7. Modifications to the bundled Tomcat: Directory Structure Directory structure matches earlier versions © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 7 Exceptions:  “Instance” replaces “Multi-Server”  Server.xml replaces jrun.xml  JRE isolated from instances, to enable common access across instances  Connector specific files isolated from the core server
  • 8. Modifications to the bundled Tomcat: CGI scope variables Many CGI scopes were not supported as Tomcat did not had a way to query the webserver AUTH_TYPE CERT_FLAGS CGI Scope HTTP_COOKIE © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 8 AUTH_PASSWORD HTTP_CONNECTION SERVER_PORT HTTPS_SERVER_SUBJECT SERVER_NAM E CERT_COOKIE HTTPS_SECRETKEYSIZE
  • 9. Modifications to the bundled Tomcat: SES URL Support http://domain.com/index.cfm/about/contact/ ColdFusion Page: index.cfm CGI.PATH_INFO: /about/contact/ © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 9
  • 10. Modifications to the bundled Tomcat: Session Replication in Cluster Session replication Instance 1 Instance 2 Instance 3 © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Sticky session Session replication Cluster 10 Sticky session
  • 11. Modifications to the bundled Tomcat: Multiple webroot support Request 1 Request 2 Tomcat © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 11 Request 3 ColdFusion File exists in CF webroot Yes No External Web Server
  • 12. Modifications to the bundled Tomcat: Output buffer size  Vanilla Tomcat connector performance was low due to limitations in Output buffer size  Tomcat connector (AJP) was built to work with 8kb packet size data  In ColdFusion the Output buffer size was increased to 64kb in AJP which shown a 15% increase in the performance © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 12
  • 13. Update to ColdFusion in October 2014 © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 13 ColdFusion 10 Tomcat upgraded to 7.0.54 Connector upgraded to 1.2.40 Apache 2.4 Support ColdFusion 9, 9.0.1, 9.0.2 Security fixes ColdFusion 10 JDK 8 Support, Security fixes, 60+ bug fixes ColdFusion 11 Security fixes
  • 14. Configuration Tweaks Server.xml Web.xml Logging © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 14
  • 15. Server.xml: Web Server Configuration <!-- internal webserver start --> <Connector port="8500" protocol="HTTP/11" connectionTimeout="20000" redirectPort="8447" /> © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 15 <!-- internal webserver end --> <!-- begin connector --> <Connector port="8014" protocol="AJP/13" redirectPort="8447" tomcatAuthentication="false" /> <!-- end connector -->
  • 16. Server.xml: Default Webroot © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 16 <Context path="/" docBase="<cf_home>wwwroot" WorkDir="<cf_home>runtimeconfCatalinalocalhosttmp"> </Context>  Do not forget to copy CFIDE and WEB-INF folders present in <cf_home>cfusionwwwroot to the new webroot folder
  • 17. Server.xml: Virtual Directory To add a virtual directory, uncomment context tag in server.xml <Context path="/" docBase="<cf_home>wwwroot" WorkDir="<cf_home>runtimeconfCatalinalocalhosttmp" aliases="/myWebroot=C:newwebrootVD“ > </Context> Multiple virtual directories can be created with aliases aliases=“/aliasPath1=docBase1,/aliasPath2=docBase2” Do not forget to copy WEB-INF folder present in <cf_home>cfusionwwwroot to the new webroot folder © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 17 Virtual Directo ry
  • 18. Web.xml: Directory Browsing C:ColdFusion11cfusionruntimeconfweb.xml <servlet> <servlet-name>default</servlet-name> <servlet-class> org.apache.catalina.servlets.DefaultServlet </servlet-class> <init-param> <param-name>listings</param-name> <param-value>false</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 18
  • 19. Logging © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 19
  • 20. C:ColdFusion11cfusionlibNeo-logging.xml  maxOutLogSize – Log file size  maxOutFileBackup – Number of Archives By default ColdFusion uses “MM/dd/yy” format If you wish to change it, you can do it by changing the columns and patterns to any standard date format <var name='pattern'> <string>"%p","%t",%d{"MM/dd/yy","HH:mm:ss"},%a,"%m%x"%n</string> </var> © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 20 Logging
  • 21. © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Demo
  • 22. Summary Modifications to the Tomcat Web Server ColdFusion Updates Configuration Tweaks © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 22
  • 23. Revisiting the Agenda… © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Web Servers And Connectors ColdFusion and Tomcat Request flow in Built-in Webserver Modifications to the Bundled Tomcat ColdFusion Updates Configuration Tweaks Web Servers and Connectors Apache IIS Other Web Servers 23
  • 24. Web Servers & Connectors ColdFusion + Tomcat Apache HTTPD Web Server Connector Internet Information Services © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 24 Other Web Servers
  • 25. Connector ColdFusion + Tomcat A connection between the ColdFusion server and webservers Built separately for 14 different configurations Apache HTTPD Web Server Connector Internet Information Services © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 25 Other Web Servers Source Available
  • 26. WsConfig Tool ColdFusion + Tomcat Apache HTTPD Web Server Connector (WSConfig tool) Internet Information Services © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 26 Other Web Servers
  • 27. The Web Server Configuration Tool -ws apache –dir <Apache>/conf/ -bin <Apache>/bin/httpd –script <Apache>/bin/apachectl cluster ColdFusion Cluster Name host IP of the remote ColdFusion server norestart Avoid restarting the web server ws32 Configuring a 32bit webserver on a 64bit machine © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 27 Independent of the webserver WsConfig Parameters: <cfusion>/runtime/bin/wsconfig -ws iis –site All / <Site Name>
  • 28. Web Servers & Connectors ColdFusion + Tomcat Apache HTTPD Web Server Connector (WSConfig tool) Internet Information Services © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 28 Other Web Servers
  • 29. The Apache Connector Apache 2.4 support for CF 10 © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Demo Setting up the Connector Modified Apache Configurations Connector Configurations 29
  • 30. The Apache Connector: Ubuntu Ubuntu distributes a customized version of Apache And does a few things differently ./wsconfig –ws apache © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. –dir /etc/apache2 –bin /usr/sbin/apache2ctl –script /usr/sbin/apache2ctl ./apache2ctl needs to be specified as the Apache Binary 30 Optional
  • 31. Web Servers & Connectors ColdFusion + Tomcat Apache HTTPD Web Server Connector (WSConfig tool) Internet Information Services © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 31 Other Web Servers
  • 32. The IIS Connector © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Demo Setting up the Connector Modified IIS Configurations Connector Configurations 32
  • 33. Configuring with IIS: Tuning © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 1. Connection Pool Size 2. Reuse Connections (max_reuse_connections) 3. Connection Pool Timeout Values need to specified in server.xml, in addition to worker.properties 33 The Big 3 worker.properties
  • 34. Web Servers & Connectors ColdFusion + Tomcat Apache HTTPD Web Server Connector Internet Information Services © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 34 Other Web Servers
  • 35. Other Configuration Mechanisms Boncode An IIS Connector, built by Bilal Soylu NGinX A hack Read: Not (yet) supported by Adobe © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 35 Web Server Market Share Source: Netcraft Apache IIS NginX
  • 36. Other Configuration Mechanisms: Boncode Boncode or ColdFusion Connector - A matter of Uses the AJP protocol, opposed to the ISAPI route that ColdFusion connector takes © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. An IIS Connector preference 36
  • 37. Other Configuration Mechanisms: NginX © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. NginX 37 ColdFusion Source: Wikipedia
  • 38. References Connector Source http://helpx.adobe.com/coldfusion/kb/rhel-connector-configuration.html IIS Connector Tuning http://blogs.coldfusion.com/post.cfm/coldfusion-11-iis-connector-tuning Removing Connectors Manually http://blog.immanuelnoel.com/2014/07/17/coldfusion-11-manually-remove-connector-configuration/ IIS Boncode Connector http://boncode.net/connector/webdocs/Tomcat_Connector.htm#_Toc399840617 NginX Reverse Proxy http://nginx.com/resources/admin-guide/reverse-proxy/ © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 38
  • 39. Summary Modifications to the Tomcat Web Server Configuration Tweaks Configuration Internals with Apache and IIS Configuring with NginX and with Boncode © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 39
  • 40. QUESTIONS ? © 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Harikrishna Kallae http://hkallae.wordpress.com Twitter: @hkallae Immanuel Noel http://blog.immanuelnoel.com Twitter: @ImmanuelNoel