Skip to main content
Participant
December 1, 2011
Question

CF8 - All cfm pages (including administrator) result in 503 errors

  • December 1, 2011
  • 1 reply
  • 1108 views

I have an old CF8 server, running as J2EE under JRUN, that's been running fine for several years.

Last night, I was in the adminstrator revising a sandbox and RDS. Settings were saved successfully, and I restarted the service. And now *all* CFM pages (including /CFIDE/administrator) simply return a white page. When analyzing the request with Firebug, it reports a 503 server error.

I'm running under Windows Server 2003, SP1, Standard.

I'm unsure of the exact CF server version, since I can't get into the administrator to check, but I believe it has at least one service pack installed.

The cfusion-out.log has the following:

12/01 09:05:09 user CFInternalServlet: init

12/01 09:05:09 user failed to load: flex.server.j2ee.filemanager.FileManagerServlet

12/01 09:05:09 error Could not pre-load servlet: CFInternalServlet

[1]java.lang.NullPointerException

    at flex.server.j2ee.filemanager.FileManager.getFile(FileManager.java:32)...

           etc

[0]javax.servlet.ServletException

    at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:102)...

           etc

java.security.AccessControlException: access denied (java.io.FilePermission \C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\jars\flex-webtier.jar read)

    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)...

           etc

12/01 09:05:09 user failed to load: flex.webtier.server.j2ee.filemanager.FileManagerServlet

12/01 09:05:09 error Could not pre-load servlet: FlexInternalServlet

[1]java.security.AccessControlException: access denied (java.io.FilePermission \C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\jars\flex-webtier.jar read)

    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)...

           etc

(I can certainly provide more detailed logs if needed)

I'm figuring the "access denied" errors have something to do with it, since I was, indeed, adjusting sandbox security in the administrator right before I began experiencing the 503 errors.

But I'm unsure how to solve, now that I can't even get back into the administrator.

Any way to get this instance back up and running, short of a reinstall?

Thanks in advance!

-Carl

This topic has been closed for replies.

1 reply

Community Expert
December 1, 2011

When you make changes through the CF Administrator, your configuration files are backed up. For example,

c:\jrun4\servers\cfusion-ear\cfusion-war\WEB-INF\cfusion\neo-runtime.xml

will be backed up to

c:\jrun4\...\neo-runtime.bak

I'm not sure what file contains this information, but I'd copy your neo-*.xml files to a safe location, then copy the neo-*.bak files over them one by one until you've solved the problem, perhaps using the last-modified date as your guide. You could also just edit the appropriate file, but offhand I'm not sure which one contains that setting - my guess is either neo-security or neo-runtime.

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Participant
December 2, 2011

Thanks Dave.

It looks like the pertinent .bak files were saved post issue... so restoring them did not work.

But I did sync back versions from a backup made earlier in the week.

Still, restarting the CF and JRUN services did not immediately fix the issue. Nor did restarting IIS.

But, nearing the point of giving up and reinstalling, I went into the JRUN Web Server Configuration Tool, removed the existing connector and recreated it with the same settings.

And CFM pages started responding again as if nothing had ever happened. I had to go in and recreate the virtual directory mapping to CFIDE, but once that was done the administrator popped right up as well.

Thank you much for pointing me in the right direction!