Entries for month: July 2012


Problem Statement:

If the username of the machine contains two or more $s in it and if this subdirectory of user-home is the temp directory of your machine(i.e System temp path containing two or more $s  in it), then your installation would fail.

Example: A system's username as Admin12$01$

Installation last screen message:

 “Install failed with some errors, check the Install log for more details”

 Following are the errors that are result of this issue:

Custom Action:            ...ia.action.PreInstallCheckAction

Status: ERROR

Additional Notes: ERROR -     class ia.action.PreInstallCheckAction.install() Unexpected Fatal Error:


Status: ERROR

Additional Notes: ERROR - windows_basic_commands.xmlcom.macromedia.ant.windowsdll.


Execute ANT Script:       Script: configure.xml


Status: ERROR

Install Merge Module:     Z:\installers\CFSolr\installers\mergemodule\\CFSolr_windows.iam.zip


Status: ERROR

Additional Notes: ERROR - java.lang.NullPointerException

ANT Script Error:


Status: ERROR

Additional Notes: ERROR - configure-dlls.xmlcom.macromedia.ant.windowsdll.ExecProcess.


Fix/Workaround for the Issue:

 Two ways are there to work around this issue:

      1)      Set up the machine’s temp path to any path that doesn’t contain $ in it and then run the installer. It would work fine.

For Example:

For Windows - Under “Environment Variables” you can see the variables TEMP and TMP. Currently, they would have been pointing to %USERPROFILE%\AppData\Local\Temp

You should be changing these values to something like C:\MyTemp (Make sure that the directory MyTemp exists in your machine)

After changing these varaiables clean-up/uninstall the old installation and re-run the installation. 

For Unix – Set the environment variable IATEMPDIR to a location that has enough space and the path shouldn’t contain $ in it.


2)    Other way is to change the username not to contain $ in it and then uninstall and re-run the installation again.

You can also refer these details at: ColdFusion Installation Failure Fix


Debugging ColdFusion websockets is not the easiest things, at least not as easy as using websockets. ColdFusion 10 provides a seamless integration to websockets. It provides it's own messaging layer and client side JS functions to subscribe and publish messages to a web sockets. As CF websockets works Asynchronously that makes debugging even more complicated.

However CF10 websockets messages provides some sort of information. It is a bit difficult for beginners.
Specifically when there is an error message. it is very difficult to determine it is from client side or server side.

Here is a small tool that will help the beginners in CF10 websockets to debug their application(from client side).This tool will enable a CF programmer to see what is going in and out of the websocket at the browser. It also highlights if there  is any error.


download and view screenshots


I have seen many people getting confused between Axis-2 and Axis-1 WebServices in ColdFusion 10. ColdFusion 10 has added the support for Axis-2 WebService, earlier till ColdFusion 9 only Axis-1 WebServices were supported.

So to begin with what exactly is this Axis-2 and Axis-1.

Intro Axis:
Apache Axis (Axis-1) is an open sourceXML based Web service framework. ColdFusion internally uses Axis to publish and consume WebServices.  Apache Axis-2 is a complete re-design and re-write of the widely used Apache Axis but achieves same purpose. Axis-2 supports many new and flexible features over Axis-1 which means ColdFusion has implemented it not only to provide you latest features like Soap1.2 but also to give you more flexibility and power in your hand. You can always search for 'Axis-1 vs Axis2' if you want to study the advantages of Axis-2.

New in ColdFusion 10
 So let's see what ColdFusion 10 is offering with Axis-2

  1. SOAP 1.2 support (SOAP 1.1 was there with Axis-1) 
  2. WSDL2 support
  3. Wrapped styled WSDL support
  4. Easy switching from Axis-2 to Axis-1 and vice-versa.

Taking these points one by one.



If you are seeing any of the following exceptions while starting the ColdFusion server on RHEL/Mac OS X.

Unable to initialise License service: coldfusion.server.ServiceException

Unable to initialise Cryptograpic service: java.lang.NullPointerException

Unable to initialise Security service: java.lang.ExceptionInInitializerError.

Then you should first verify if hostname and localhost are properly set-up or not by opening the file /etc/hosts. Correct these if these are not set properly.

Once you fix that and restart the server it would start fine.

If you still face any issue please download the hostname check file from  Here

and run it in the terminal by providing the following command:

>/opt/coldfusion10/jre/bin/java -jar <Path of the Hostname Test Jar file LocalhostTest.jar>

If you see any exception messages in the terminal please modify your hosts file accordingly. Even if loopback IP address is not set you would run into this issue.

On Mac OS X, you can run the following command to set it up >scutil --set HostName localhost

[updated as the Java EOL date is now Feb, 2013]

Oracle has announced that updates to Java 6 will no longer be available post February 2013 in the Java SE 6 End of Public Updates Notice posted here.


We are aware of this and wanted to assure you that Java 7 support for ColdFusion 10 and ColdFusion 9 will be available through updates. The updates will go out before Java 6 will be EOLed in February, 2013.