Entries Tagged as 'Tomcat'

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 .



Here’s a guide to show you how to configure JNDI datasource in ColdFusion 10.

1. Get the JDBC Driver

The JDBC Driver needs to be placed in ColdFusion10/cfusion/runtime/lib folder.

2. context.xml configuration

Add a resource block before the closing tag (</Context>) in the context.xml present at ColdFusion10/cfusion/runtime/conf , which defines database connection detail :

<Resource name="jdbc/test" auth="Container" type="javax.sql.DataSource"

          maxActive="50" maxIdle="30" maxWait="10000"

          username="username" password="password"



For more information on the attributes please refer to http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html.For setting isolation level use the defaultTransactionIsolation attribute.

3. web.xml configuration

In the web.xml present at ColdFusion10/cfusion/wwwroot/WEB-INF , add the following just before the closing tag (</web-app>):


<description>MySQL Datasource example</description>






4. Add ColdFusion DataSource through Administrator

After saving the configuration files restart the ColdFusion server.Log in to ColdFusion Administrator and navigate to Data & Services > Data Sources and add a new Data Source by selecting J2EE Data Source(JNDI) in the driver drop down.For more details on this refer http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fdf.html .

Data Source registration page


Hope you found this useful.Write in to us if you have any issues with the Tomcat specific configuration.



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


We now have new CHFs available for ColdFusion 9 and ColdFusion 9.0.1. This CHFs will address the issues that were present in the previous CHFs. We recomend that you apply this update to your ColdFusion 9 and ColdFusion 9.0.1 installations.

Here are the links to the related techotes for CF 9 and CF 9.0.1.

For ColdFusion 10 and ColdFusion 9.0.2 the updates have been refreshed to fix an issue with the Google Map API and the related technotes can be found here : 9.0.210


Check out the latest video by ColdFusion engineer Asha on Tomcat in ColdFusion10


You can know more about it all here :


and here :