Tag: ColdFusion
-
Running ColdFusion as A Separate User
ColdFusion needs to be limited, or in certain cased, granted more access, in the case of NAS shares, etc. Defaults: https://helpx.adobe.com/coldfusion/kb/running-coldfusion-specific-user.html Way too open, give the user full control of: “WebDocument Directory c:\cfusion or c:\cfusionmx (and all subdirectories) c:\winnt c:\winnt\system32” Okay, web root seems fine, the ColdFusion install directory seems fine. My OS installation folder,…
-
FusionReactor and Forwarded Headers
In some cases, FusionReactor may be behind a load balancer or CDN, or any other type of proxy that updates the source IP as seen by the server. It helps to see where the requests are actually originating from. For that, FusionReactor has an option for this: http://www.fusion-reactor.com/support/kb/frs-351/ See the Requests>Settings>Proxy, which lets you tell…
-
Solved: Java method security exception.A security exception occurred while invoking Java method on a “”java.lang.Class”” object. MethodName is getName. Possible cause: Either the createobject function and cfobject tag are disabled in the security sandbox or you are trying to create a class in the ColdFusion package and that is disabled.
I was getting this error in the exception log: “Error”,”ajp-bio-8012-exec-37″,”04/12/13″,”11:51:15″,”mgtemplate”,”Java method security exception.A security exception occurred while invoking Java method on a “”java.lang.Class”” object. MethodName is getName. Possible cause: Either the createobject function and cfobject tag are disabled in the security sandbox or you are trying to create a class in the ColdFusion package and…
-
Determine version of ColdFusion
Determining the version of ColdFusion can be a task you need to perform from time to time, to find out the version, create a page on the site with the following content: <cfdump var=”#SERVER#” /> As far as I can tell, there is not a simpler way of obtaining version without access to the ColdFusion…
-
Creating the ColdFusion Client Variable Storage Database and Tables within MySQL
ColdFusion does not create the proper tables for client variable storage when using MySQL as the database engine. This is valid in ColdFusion 9 and also still present in ColdFusion 10. These tables should be created manually for client variable storage to function. Two tables are required. CDATA and CGLOBAL. Details about theses tables are…
-
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. The root cause was that: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. The root cause was that: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. CF can not open a TCP socket to the database server. Check that the database server is actually running, listening on…
-
Error: An exception occurred when performing document processing. The cause of this exception was that: coldfusion.tagext.lang.DocumentTagException: An exception occurred when performing document processing.
After restarting ColdFusion, and seeing it not a performance issue, I realized the file I was trying to save to was to a folder that did not exist.
-
coldfusion.image.ImageWriter$ImageWritingException: An exception occured while trying to write the image.
One of two things, either the patch was not applied\incorrectly applied, seen here: http://www.bennadel.com/blog/1289-ColdFusion-8-0-1-Bug-Coldfusion-Image-ImageWriter-ImageWritingException.htm with CF stopped or the path is wrong in the code, per our example: http://www.hosting.com/support/cfusion/captcha/ destination=”tmp/readme#tc#.png” being run from example.com/subfolder would result int he file trying to be written to: C:\Websites\userdir\subfolder\tmp\