July 25, 2012
ColdFusion server starting with “Unable to initialise service” Exception
Comments
(2)
July 25, 2012
ColdFusion server starting with “Unable to initialise service” Exception
(2)

Normal
0

false
false
false

EN-US
JA
X-NONE

MicrosoftInternetExplorer4

 

Normal
0

false
false
false

EN-US
JA
X-NONE

MicrosoftInternetExplorer4

Normal
0

false
false
false

EN-US
JA
X-NONE

MicrosoftInternetExplorer4

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.

Normal
0

false
false
false

EN-US
JA
X-NONE

MicrosoftInternetExplorer4

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

2 Comments
2014-11-10 08:25:35
2014-11-10 08:25:35

Subscribe

Like
2013-11-13 14:13:24
2013-11-13 14:13:24

Won’t work for me.

Like
Add Comment