Floating Point Arithmetic Inaccuracy in Lucee

Recently, We were facing arithmetic issue with Lucee. We are using Lucee 4.5 in production enviroment. First, let me elaborate the issue. The code was very simple (see below example). We were doing subtraction operation having fixed floating value. we were expecting result with fixed 2 decimal point but it gave 12 floating value whereas we were giving input 2 decimal point. We were not facing output issue each time. it behaves randomly. While checking with ACF(Adobe ColdFusio
Read More

 Bharat Patel     Dec, 22 2017

Coldfusion CFQUERY serializeJSON with key and value

Development techniques are varied depend on developer, somewhat many techniques remains undocumented until developer shares it. Let us share something about CFQUERY in Lucee CFML. Modern web apps are moving on Ajax based development includes AngularJS, ReactJS, VeuJS and a few more.   API solution primarily requires JSON based response (It is not about XML), JSON based response to convert CFQUERY object into JSON object. While converting into JSON using SerializeJSON() function,
Read More

 Bharat     Dec, 01 2017

Export HTML to Word using docx4j in lucee CFML

It is very easy to export plain HTML text data to embed and export as word document. In CFML there is an inbuilt tag <cfcontent /> to use for exporting data to word document if there is no customization in content and it is just like Paste and Go for plain format type as shown in below example. However, if there is a need to export header or footer data to embed and generate word docs then there is no inbuilt tag in CFML to get the solution. So, I have used docx4j JAVA Library that
Read More

 Naresh Patel     Oct, 05 2017

Deploying Lucee on Docker

Finally, decided to play with Docker and Lucee for one of our project which we are trying to move eventually in Linux platform and believe me it was fun. Here are steps to getting started with Lucee, Docker and Window 10.  Download dockers windows version from https://www.docker.com/docker-windows and install it by following the user-friendly wizard. Once installed you should see Docker icon loaded with containers
Read More

 Admin User     Jul, 14 2017

Deploying Lucee on Docker

Finally, decided to play with Docker and Lucee for one of our project which we are trying to move eventually in Linux platform and believe me it was fun. Here are steps to getting started with Lucee, Docker and Window 10.  Download dockers windows version from https://www.docker.com/docker-windows and install it by following the user-friendly wizard. Once installed you should see Docker icon loaded with containers
Read More

 Pritesh Patel     Jun, 15 2017

Reset MURA ADMIN Password in Case of Loosing It, Or You Forget Recovery Email of the MURA ADMIN

Reset MURA ADMIN password in case of loosing it, or you forget recovery email of the MURA ADMIN. Recently I face the problem with login into MURA CMS admin panel. A day before I set the MURA site with the memorable password, Even I note that password. But on the next day when I try to login. Simply reject it. I have tried for few more times and it block my account for some time say 10 Min. I have tried to recover from Forget Your Password? option, But I am enable to get the mail due to some is
Read More

 Parixit Jani.     Jun, 05 2017

Installing RAILO Tomcat On Windows Step by Step

Installing RAILO with Tomcat apache in window.Install tomcat (just extract zipped file) any location (In my case e:/apache). Now extract downloaded Railo's war file using winrar or 7zip in temprory folder.
Read More

 Admin User     Feb, 08 2017

Running Multiple Instances of RAILO on Tomcat

Week ago I wrote blog about " Installing RAILO with Tomcat " this is what I have first time installed RAILO on my PC. After getting success in that I tried to run multiple instances of RAILO for different site and even single site. Below is step by step guide to create multiple instance of RAILO. Note: I assume that reader has already gone through my first blog on installing RAILO on Tomcat. Copy RAILO jar files into tomcat folder under "railojars". Open catalina.properties .
Read More

 Admin User     Feb, 08 2017

Installing RAILO Tomcat on Windows Step By Step - Part II

In part-I I have explained how to configure RAILO with Tomcat where we copied all RAILO jar files into tomcat's lib folder. If you do not want to copy it into lib folder instead keep separate folder for RAILO, that also possible ...
Read More

 Admin User     Feb, 08 2017

Setup MURA CMS Under Subfolder on Railo Ubuntu

Recently I was working with site migration from windows to ubuntu server. Normally everything goes smoother except case sensitivity of file name. While working with window we never take care about file name case since it doesn't matter in window. Although we use standard for file naming but mistake will not reveal. After renaming file name accordingly everything work fine except one project. In this project I was running ColdBox framework in root folder for all kind of administrative work or bus
Read More

 Pritesh     Feb, 08 2017

  • Showing 1 to 10 of 13