Entries Tagged as “creating a website”
Administrator | Adobe ColdFusion | Adobe ColdFusion 10 | Adobe ColdFusion 11 | ColdFusion | ColdFusion 11 | creating a website | customers | General | Migration | productivity | Success Story | Tuning | web application development
Many a time, ColdFusion application code is deployed on a network path when your
ColdFusion deployments are of large-scale and mandated to use network paths.
After setting up the server for the first time, if there is any performance hit, as the first thing you would want to cross-check few things. One of the things to determine is if there is any network latency.
Though you would have got same network within your organization same as earlier, your OS version also would have changed.
Follow the steps below to see if the performance hit is due to network latency-
When the server is under moderate or full load(with at least 8-10 requests under process), take 2 or 3 thread dumps with 30 seconds interval.
It is not appropriate to take thread dump when the server has negligible load and anlyze that as there may not be any in-process requests.
If you are not sure how to take thread dump, you can simply follow the following blog.
Open the thread dump file:
Under moderate or full load server conditions, if you see more than 5-8% of running ColdFusion threads containing “WinNTFileSystem” in the thread’s stack trace --> It means that there is lot of time being spent in trying to resolve the application file paths.
Following are the sample threads having WinNTFileSystem in its dump.
"ajp-bio-8014-exec-6861" Id=13898 in RUNNABLE
prio=5 blockedtime=28963 blockedcount=6819 waitedtime=421762 waitedcount=115
at java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
"ajp-bio-8014-exec-6861" Id=13898 in RUNNABLE (running in native)
prio=5 blockedtime=28961 blockedcount=6814 waitedtime=421762 waitedcount=115
at java.io.WinNTFileSystem.canonicalize0(Native Method)
(Note: ColdFusion threads can be identified by the name starting with "ajp-" )
For Example, if there are 50 threads with thread name starting "ajp-bio-" in the thread dump, if you see WinNTFileSystem in more than 2-3 threads, it is the time you start looking at minimizing the network latency.
Once you know there is latency, you would want to know how much is the latency when compared to the application existing locally.
Created a very basic network latency test program to validate this.
You can take the jar from here.
And run it from command prompt as follows:
> C:\ColdFusion11\jre\bin\java -jar <Path of NetworkPathsTest.jar> <Network or Local Directory Path >
If the network path (Ex:- \\orgserver\d$) is accessible only to the ColdFusion service user, open command prompt as that user ( runas /user:<cfserviceaccount domainname>\cfserviceusername CMD )
Path Arguments can be one or more. More Path arguments is a good measure to see the difference clearly.
C:\ColdFusion11\jre\bin\java -jar C:\ColdFusion11\NetworkPathTest.jar \\orgserver\d$\deploy\cfm\
C:\ColdFusion11\jre\bin\java -jar C:\ColdFusion11\NetworkPathTest.jar \\orgserver\d$\deploy\cfm\ \\orgserver\d$\deploy\cfm\api\
Try the same paths keeping the content same on the local machine and see the time differences.
For the same paths on local and remote, the difference in time should not be exponential.
These tests are to be performed on your ColdFusion server machine.
Once you have validations and found any latencies, it is the time to call for network optimization expertise.
Administrator | ColdFusion | ColdFusion 11 | Connector | creating a website | customers | Docs | General | productivity | Tomcat | web application | web application development
You might want to set up ColdFusion in a distributed environment where ColdFusion is running on one machine and Web server is running on a different machine.
Following are the set of steps that have to be performed to achieve this (less error-prone):
This applies to both ColdFusion 10 and ColdFusion 11.
1) Have ColdFusion server installed in a machine.
2) Next thing is to download and install VC Runtime.
- The version of VC Runtime that you have to install depends on the version of ColdFusion.
Say, ColdFusion 11 needs VC Runtime 2012
(32-bit VC Runtime for 32-bit Web server and 64-bit VC Runtime for 64-bit Web server.
If you are not sure, you can install both)
and ColdFusion 10 needs VC Runtime 2010
3) Copy the following contents from the machine where ColdFusion is running to the machine where Web server is running at the same location.
4) Open a Command prompt and run wsconfig tool
C:\ColdFusion11>jre\bin\java -jar cfusion\runtime\lib\wsconfig.jar
It will open a configuration window where you have to provide AppServer Host as the ColdFusion Server IP.
Configure the connector.
Distributed environment is ready for use. Send requests to the Web server's URL with cfm files under web server root and same files under ColdFusion's Web root.
Web server would redirect these to ColdFusion, which is on some other machine.
Adobe ColdFusion | Adobe ColdFusion 10 | Adobe ColdFusion Builder | Announcements | creating a website | productivity | Rapid Application Development | web application development
We announced our plans on a full-fledged ColdFusion conference this year. Here is a follow up survey to capture your inputs and feedback. As always your participation in the survey is highly appreciated. This is also your chance to let Adobe know how you would like to see the new conference on ColdFusion shape up.
Here's the survey link
As you are also aware, due to MAX’s focus on Creative Cloud tools and services, there are no ColdFusion sessions at Adobe MAX this year. The unconferences too are going to be dedicated to those that support the Creative Cloud offering. So it is unlikely that the ColdFusion unconference will happen at MAX this year. But the good news is that we do have an exclusive ColdFusion conference planned. Please participate in the survey and give us your feedback.
Adobe ColdFusion | Adobe ColdFusion 10 | Adobe ColdFusion Builder | Announcements | Application Server | ColdFusion | creating a website | e-seminar | productivity | Rapid Application Development | web application development | web programming
This is the season to celebrate and the intent of this post is to share a series of positive news and initiatives from Adobe that we are excited to share with the community.
ColdFusion 10 feedback and ColdFusion Business
We have received positive feedback for ColdFusion 10, and this is also reflected in the way business for ColdFusion has turned up. The business is doing better now than any point in the last few years. This quarter has been ColdFusion’s best since 2008.
This is very encouraging to Adobe and we will continue to make efforts to grow the product. Thanks to you for supporting the product.
We have initiated new roadmap discussions where Senior leadership from Adobe participate in engaging discussions with customers. In these discussions we have received excellent feedback on ColdFusion 10, and our customers also like the future directions that we are taking and look forward to the upcoming versions of ColdFusion.
As you may be aware, the promised cloud release of ColdFusion on Amazon EC2 has been delayed due to issues with agreements between Adobe and Amazon. We have resolved these issues and we are slated to offer an Amazon Machine Image (AMI) for ColdFusion 10 with flexible hourly pricing.
Shorter Release Cycles
We are looking to reduce the release cycles for ColdFusion to create more impact through new features and functionalities and also make use of the window of opportunity that lies with ever changing space of new and upcoming technologies.
During the next year, one of our major efforts designed to grow the size of the community is promoting ColdFusion at various community colleges. Adobe will come up with a detailed semester-long curriculum for server side programming concepts demonstrated through ColdFusion. Instructor guides, quizzes, exams, and software required to teach will all be provided; along with access to a community expert that the instructors or students can interact with. If you have any contacts at colleges near you, please let us know. If you have any other ideas to promote ColdFusion in education, share that with us as well.
ColdFusion Conference from Adobe
Due to MAX’s focus on Creative Cloud tools and services, we are considering a full-fledged ColdFusion conference to be organized by the ColdFusion Business Unit at Adobe. While Adobe will be the primary organizers, we want to maximize community involvement in various aspects such as content selection.
Recharging CF User Groups
We are looking to actively engage with the ColdFusion user groups during the next year. ColdFusion 10 events are already in the works with interested user groups, and more is on the way.
We are also excited about our future releases – Splendor and Dazzle. A high level overview of each is available on our public facing roadmap available here. If you have questioned Adobe’s commitment to the platform, I encourage you to take a look at the roadmap. All of the customers with whom we have discussed the roadmap responded positively and gave promising feedback. Customers are also excited about the directions that we are taking, addressing key technological challenges in upcoming versions. If your organization is keen on participating in a roadmap discussion with the senior leadership from Adobe, let us know!
We look forward to exciting times for ColdFusion.
I will leave you with some of the photographs of the party that the Product Team had to celebrate the quarterly result and the success of ColdFusion 10. Here is the link.
Leave your thoughts and inputs as comments on this post.
Happy holidays everyone and come back for a great 2013 for ColdFusion!
Adobe ColdFusion | Adobe ColdFusion 10 | Announcements | creating a website | productivity | Rapid Application Development | web application | web application development
We have created a survey to capture the platform usage associated with ColdFusion. The results from the survey will guide us in making the right decisions associated with platfrom support in future.
Please take a few minutes to let us know your current choice of platfrom and also your future preferences.
Here's the link for the survey.