Entries Tagged as 'ColdFusion'

Todays' Ad

Amazon S3 PDF download link doesn't work in Chrome and Internet Explorer (IE)

AWS , ColdFusion No Comments »

In one of our project we are using Amazon S3 to store files which later use to download from web application. We have most of the files are in secure list and only accessible through web application. It was working fine for firefox but on chrome and Internet Explorer (specially PDF file) doesn't download or open in PDF Viewer plugin instead shows about:blank page client do not have any idea what going on. For tempory solution client able to download by right click on link and selecting save link to... option but this is not everybody going to do. 

Read more...

Adding validation dropdown in spreadsheet in ColdFusion

ColdFusion , ColdFusion 9 No Comments »

CFSpreadsheet is I think most usefull tag/function while working with enterprise project. CFSpreadsheet and related functions provide mostly all kind of basic functionality require to export data into spreadsheet. Recently one my project I had little bit advance requirement when need to add data validation and restrict user to choose value from dropdown. I think most of us are familiar with cfspreadsheet built on very popular Apache POI project and coldfusion on JAVA. So basically I am going to write some java code in ColdFusion :).

Read more...

Strange ColdFusion issue, JRUN eating up to 50% of CPU.

ColdFusion 3 Comments »

 

For one of our project we recently move to Amazon EC2 to make system easily scalable. This is kind of seasonal website which has high traffic during September and October and rest of the year traffic reduced to 70% with compare to October month. I think Amazon's usage based model is perfect for this client as he doesn't need to pay much on his off season also we can easily scale and add new instances during peak season and cover cost that we saved during off season.

Finally we happily moved everything on cloud EC2 and working fine. Suddenly after 1 hour of so CPU usage increased to 50% and remain constance 50% for hour or so. While looking into Task manager we realize that JRUN is eating up that CPU but there wan't much traffic at that time (average 1 user/sec) and system was happily handling this much traffic in our dedicated server. Tried to install Fusion Reactor to see realtime users and other stats but it seem that even Fusion Reactor can not figure out who is eating up CPU. For a day we keep running server as our all sites working correctly and wasn't making much performance issue.

On next day get CPU utilization graph provided by EC2 and found strange output. It seems that CPU usage remain 50% or UP for around 2 hours or so then came back to normal and again after 1 hour to went high to 50%, and repeating same schedule for whole day. 

 

Read more...

Configure ColdFusion with VisualVM

ColdFusion No Comments »

For one of our project we are facing jrun high usage issue. When looking into task manager (Window 2008) I found jRun continously eating up 50% CPU usage even though there is no traffic (or may be 2 to 3 users) only on site. Initially I tried to install FusionReactor to get all kind of detail regarding ColdFusion. Started with trial version and thought if useful then get full version but it seems that giving me all application ColdFusion application related information but can't find anything why JRun eating 50% of CPU usage. After bit googing I found VISUALVM and JConsole for monitoring and troubleshooting java application. I like VisualVm due to it's nice GUI and also I can integrate JConsole as plugin to it. It win - win kind of situation. 

I am not going to much detail about VisualVm and JConsole as they already have good documentation on their wetsite. All here I am going to explain is how to install VisualVm to work with ColdFusion for window OS.

Read more...

Complex password strength checking through regular expression

ColdFusion , Regular Expression No Comments »

Currently working on project for well non credit card company where they have online registration form. They really want user enter enter strong password for their account and criteria for password listed below..

  1. Password must length between 8 to 18.
  2. Password must contain atleast one alpha and on numeric.
  3. Password must have one special characters from @,#,$.
  4. Password can not have repeative alpha and numeric.

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio | Menu Apycom
RSS Feeds