Entries Tagged as “Adobe ColdFusion 10”
Adobe ColdFusion 10 | Tomcat
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"
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
3. web.xml configuration
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 .
Hope you found this useful.Write in to us if you have any issues with the Tomcat specific configuration.
Administrator | Adobe ColdFusion 10 | ColdFusion | General | productivity | Updates
Note: This is valid from Hotfix 9 onwards.
Depending on the user account that you have used to Lock down your server, you might need to consider the following few more steps for providing appropriate permissions to be able to apply the updates from ColdFusion Administrator.
Hotfix needs two things to be installed properly from ColdFusion Administrator.
The user that is configured for ColdFusion Service should be permitted to
Start/Stop the service. More on this to setup is explained below.
2) Since ColdFusion runs with the user you have setup for ColdFusion service, that user should have write/delete/update permissions for some of the ColdFusion directories. Notably, till now (Hotfix 9) the update files are there for the following directories:
<CFHome>\cfusion\lib\updates\ (Write + Delete)
Note: New directories may or may not get added in the future Hotfixes but the above set will always be there for ColdFusion 10.
If you are running multi-instace scenario you have to set the same for all child instance folders and their service accounts
When lockdown guide is being imposed the above two requirements should also be implemented in order to be able to apply Hotfixes from the ColdFusion administrator.
Setting up the ColdFusion Service user as required in #1:
Down load and Install Windows tool named SubInACL.exe (Installer name is SubInACL.msi) to give service start/stop permissions from
Once you install it, the tool subinacl.exe gets installed
C:\Program Files (x86)\Windows Resource Kits\Tools
Then, run the tool as follows from command prompt by
replacing <MachineName> and <username> with your username and machine
a) For machine’s local user
C:\Program Files (x86)\Windows Resource Kits\Tools>subinacl.exe /service "\\<MachineName>\ColdFusion 10 Application Server" /grant=<username>=TO
b) If the user is a Domain user you have to replace <Domainname> as well along with <MachineName>, <username> in the following command.
C:\Program Files (x86)\Windows Resource Kits\Tools>subinacl.exe /service "\\<MachineName>\ColdFusion 10 Application Server" /grant=<Domainname>\<username>=TO
More details on this are explained in the below resource.
This is a one-time setup that you have to do.
Once this is done -> Restart ColdFusion service -> Open ColdFusion server Administrator -> Apply Update -> You should be able to apply the Hotfix successfully now.
Security | Administrator | Adobe ColdFusion | Adobe ColdFusion 10 | Announcements | Hotfix | web application security
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
Adobe ColdFusion 10 | Application Server | Rapid Application Development | web application development
ColdFusion AMI(Amazon Machine Image) is now available in Amazon market place. Its available for Windows and Ubuntu operating systems.
To know more about this offering, and to get started on the same, you would find this article useful -
Let us know your valuable feedback.