Entries Tagged as “Connector”

ColdFusion 10 - Does the connector need to be re-installed for update 11

July 12, 2013 / Asha Kasala

  Adobe ColdFusion 10 | Connector | Hotfix

ColdFusion 10 Update 11(http://helpx.adobe.com/coldfusion/kb/coldfusion-10-update-11.html has been released which includes support for 64-bit COM interoperability, Microsoft SQL Server 2012 and MySQL 5.6 in addition to several important bug fixes.This update includes a fix for bug 3488063 - IIS 404 custom error handler URLs that are .CFM files do not consistently return entire document .

Though the wsconfig.jar(present in ColdFusion10\cfusion\runtime\lib,which is required for configuring connectors) has been  modified for the above mentioned bug ,it is not required to re-install the connector in all the cases.

If you are on ColdFusion 10 Update 5 or later and are using IIS webserver,you must either re-install/reconfigure the connector or use the command line interface and run the '-upgrade' option.The '-upgrade' option upgrades existing configured connectors with newer modules from a newer wsconfig.jar file.

<cf_root>/runtime/bin/wsconfig.exe -ws iis -upgrade -site <site name/ID>

If you are on ColdFusion 10 Update 5 or later and are using Apache webserver , you don't need to re-install/reconfigure the connector as the fix was specific to IIS webserver and the Apache connector files remain the same.

If you are not on ColdFusion 10 Update 5 or later then you will have to re-install/reconfigure the connector for update 11.If you are on ColdFusion 10 Update 5 or later and have not re-installed/reconfigured the connector earlier  then you will have to re-install/reconfigure the connector for update 11.


- Asha




Video : Configuring ColdFusion 10 connector with Apache Virtual Hosts

June 07, 2013 / Viny Nigam

  Adobe ColdFusion | Adobe ColdFusion 10 | Application Server | ColdFusion | Connector | Tomcat | Video

Catch Asha talk about configuring ColdFusion 10 connector with Apache Virtual Hosts 



Learn the basics of Apache Connector Configuration in ColdFusion 10 here : http://www.youtube.com/watch?v=lJ_pSAFcc3U

Let us know your thoughts/feedback/comments .



Video : Learn about IIS connectors in ColdFusion10

April 26, 2013 / Viny Nigam

  Adobe ColdFusion | Adobe ColdFusion 10 | Application Server | Connector | Tomcat | Tuning | Video

In a previous video by Asha from Adobe team,we had discussed the various details about the Apache connector in ColdFusion 10.

In this video , Adobe engineer Kiran talks about configuring IIS with ColdFusion 10


You can find out more about it here


Tuning ColdFusion 10 IIS Connector configuration

November 17, 2012 / Kiran Sakhare

  Performance | Administrator | ColdFusion | Connector | General | Tomcat | Tuning

Replacing JRun with Tomcat is a fundamental change in ColdFusion 10 and with that comes the new connectors for IIS and Apache. That also makes it very important to know the different configuration options available for the connectors as an incorrectly configured connector can easily lead to “Service Not available” or “Server is too busy” errors for your site.

During IIS connector configuration, user can choose to configure connector for individual sites or for “ALL” sites.

When connector is configured with individual sites, separate connector for each site will be placed under {CF-Home}/config/wsconfig/{some no}/ , Similarly for “ALL” configuration the connector is configured at global level, which means the same connector binary will be used across multiple sites.

In most of the cases server administrators wish to go for configuring connector for “ALL” sites as it is very convenient.

In this blog post we will talk what are the parameters needs to be tuned appropriately to make CF connector works flawlessly.

I will be covering three most important parameters which decide the scalability of the connector.

There are other parameters which CF connector inherits from Tomcat AJP connector. Please find the details of those settings from AJP documentation (http://tomcat.apache.org/connectors-doc/reference/workers.html )

Connection pool size: - This setting determines the maximum number of connections that can be created in the connection pool. When multiple requests arrive to the connector from IIS, connector creates  new connections in the connection pool only if there are no free connections available in the pool.  The connector will not create a new connection if connections reach the connection pool size limit.

Re-use connections: - This setting determines the count of connections that can be re-used.  . When Tomcat connector makes a connection with Tomcat server, it does not close the connection even after it finished serving the request. Instead it keeps the connection alive, so that for the next request, the same connection can be re-used. This increases the performance by minimizing the overhead of creating new connection with tomcat server for every request.

Note: - The default re-use connection count is same as connection pool size which is 200.

Connection pool timeout: - This setting determines the timeout value (in seconds) for idle connections in connection pool.  This value must be in sync with the connectionTimeout attribute of your AJP connector in Tomcat's server.xml.

Let us discuss more about how these 3 parameters can be tuned properly to make your server with varying load on your server.

1.       Connection pool size: - When connector is configured with “ALL” sites, the same connection pool will be used to serve the request for all sites.  So the default value of the connection pool size, works well with the single site configuration, but fails to work well with “ALL” site configuration in some scenarios. Hence this value should be increased carefully based on the need and number of sites that are present in IIS. 

2.       Max Re-use connections: - This settings needs to be used for connector configured with multiple sites.  The max value for the re-use connection is determined based on the number of sites configured with same CF server and the load on each site.

Let us consider use case where site 1 configured with CF server, now site 2 is also configured with the same CF server. By default each connector will have 200 re-use connections.

Now consider site 1 is running under heavy load make all 200 re-usable connections with CF server. Now CF server is not left with any new connection in its connection pool, hence any request for new connection from site 2 will be ignored by CF server.

 Hence it is required to make site 1 re-use connection count  to optimal value, so that site 2 does not starve for new connection. This can be achieved by configuring optimal value of max re-use connection count.

For the above use case, if site 1 is allowed to use 100 re-usable connections, there will be 100 more connections available for site 2 at the tomcat server connection pool.

3.       Connection pool timeout: - This timeout value helps in recycling connections that are being re-used when they are not used for a long time.  This is proved very useful when sites runs under varying load and makes overall improvement in the server performance. By default timeout for connection is indefinite.

Below we will discuss steps to follow to configure the above parameters

ColdFusion 10 update 3 released

October 16, 2012 / Rupesh Kumar

  Adobe ColdFusion 10 | Announcements | ColdFusion | Connector

[Update: The ColdFusion 10 update 3 will be pulled back shortly because of a few issues in the update. We are working on the fixing these issues. A new update will be released as soon as it is ready. Thank you for your patience and we apologize for the inconvenience caused]

We have released the ColdFusion 10 update 3 today. It fixes quite a number of important/critical issues, mostly related to connectors, in ColdFusion 10. This update can be downloaded and installed using the update installer mechanism in the administrator that we introduced in ColdFusion 10. Please make sure that you have applied the ColdFusion 10 mandatory update before applying this update. Also note that, you MUST re-configure your connectors after you have applied the update and restarted ColdFusion server.

Some of the important bugs fixed in this update are

For more details on this release, please refer to this technote.


Blue Mango Theme Design By Mark Aplet

Super Powered by Mango Blog