Answered
Server Side Redirect Problem
This is a little strange. I've got a server side redirect
that works fine on my CF8 development server but throws an
IllegalStateException when run at my host (hostmysite.com).
EDIT: actually, the ColdFusion exception message is:
access denied (java.io.FilePermission C:\Coldfusion8\wwwroot\WEB-INF\cfclasses\cftarget2ecfm168784208.class write)
The error persists until I browse to the target page manually. Then the redirect works fine until I come back and try it again the next day. Same problem, java.io.FilePermission error until I browse to the target page.
It's almost like the server-side redirect is looking for a compiled class file for the target page. This class file must not exist in cache until I browse to the page manually. These compiled pages must then time-out at some point.
Anyone else experience this or have some insight on what is going on?
*** edited for clarity and include ColdFusion exception message
EDIT: actually, the ColdFusion exception message is:
access denied (java.io.FilePermission C:\Coldfusion8\wwwroot\WEB-INF\cfclasses\cftarget2ecfm168784208.class write)
The error persists until I browse to the target page manually. Then the redirect works fine until I come back and try it again the next day. Same problem, java.io.FilePermission error until I browse to the target page.
It's almost like the server-side redirect is looking for a compiled class file for the target page. This class file must not exist in cache until I browse to the page manually. These compiled pages must then time-out at some point.
Anyone else experience this or have some insight on what is going on?
*** edited for clarity and include ColdFusion exception message
