Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Jochem van Dieten / Jochem van Dieten (Jochem van Dieten)
Created: 06/25/2008
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 8,0,0,201733 / 280025
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
cfdump does not work inside a Sandbox
Method:
Create a Sandbox.
Deny CreateObject(java) permissions to that Sanbox.
Run the following code:
<cffile action="read" file="#GetCurrentTemplatePath()#" variable="fileContent">
<cfoutput>#HTMLCodeFormat(fileContent)#</cfoutput>
<cfdump var="#fileContent#">
I will attach a full settings summary and jvm.config to a message in the forums.
Result:
Security: The requested template has been denied access to createobject(java).
The following is the internal exception message: access denied (coldfusion.runtime.FunctionPermission createobject(java))
The error occurred in C:\JRun4\servers\playground\cfusion.ear\cfusion.war\customer1\test.cfm: line 3
1 : <cffile action="read" file="#GetCurrentTemplatePath()#" variable="fileContent">
2 : <cfoutput>#HTMLCodeFormat(fileContent)#</cfoutput>
3 : <cfdump var="#fileContent#">
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3035285
External Customer Info:
External Company:
External Customer Name: Jochem van Dieten
External Customer Email: 14B70C2D446042B59920157F
External Test Config: 06/25/2008
Attachments:
Comments: