Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using cfx_sleep error

Status
Not open for further replies.

olmos

Technical User
Oct 25, 2000
135
US
I am trying out the cfx_sleep tag and it seems to
get the following error when I run the cfm page

Error: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader). Java exception occurred in call to method.


I am running CF 5 on Solaris and have in the JVM and Java setting of the Administrator -
under system Options - java.lang.Compiler=NONE java.security.manager=java.rmi.RMISecurityManager


Is there something else I need to set on the CF administrator to get this to work , or is my code wrong ?

My code has the following within a loop that sends out email, I need it to sleep before each email gets sent.

<cfx_sleep duration = "100">


Thanks,
olmos.
 
so this answer didn't do it for you huh? why not?
thread232-1070474
please post back when answers are given.



We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
I get the following error below with the code in the link above. I think I might be missing something in the CF Administrator configuration page, but am not sure what it could be !?!? something to do with RuntimePermission ...

-------------------------------
Error: Unhandled System exception ! java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader). Java exception occurred in attempt to construct object.

The error occurred while processing an element with a general identifier of (CFSET), occupying document position (458:1) to (458:57) .....
-------------------------------

any idea how to fix this ?

Olmos
 
check the security in the administrator and make sure you can use the CreateObject function.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
The Security section in Administrator (CF 5) only lists CF tags that can be enabled, i did not
see anything related to the CreateObject function.


olmos

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top