Anyone seen this before? Whenever I try to turn on the "Use Admin Password" for CFMX, it gives me an Unable to set admin password error. This page refreshes and I'm brought to a screen where I need to enter the password. The password doesn't work. (No surprise there.) When I examine the neo-security.xml file, I see that admin.security.enabled is still false. Restarting CF makes the error go away... but there is no password protection for the server.
I googled, and all I could find was a mention of ZoneAlarm in a cf-talk thread. Anyone else encounter this?
Archived Comments
The error appears to be the result of a handled exception in CFIDE\administrator\security\cfadminpassword.cfm, lines 66-78. You could remove the try/catch to get the actual error and stack trace. Otherwise, I haven't run across this before.
One of my installations has a similarly wacky CFMX Administrator password issue.
After updating with the most recent updater, I went to /CFIDE/administrator/ to check things out. Well, I couldn't remember my password 'cause I don't use this particular server often. Anyway, I edited the $CFMX_ROOT/lib/neo-security.xml file to switch admin.security.enabled to false. That let me in, and I went and changed the password.
So, after several attempts at restarting the coldfusionmx service and editing the neo-security.xml file, I couldn't find a way to cause CFMX to accept the password that I selected. Weird.
I ended up adding an Apache directive to deny everybody but me from getting in there. Not ideal, but it works.
Same issue:
The error occurred in /www/virthosts/XYZ/www/XYZ/CFIDE/administrator/security/cfadminpassword.cfm: line 33
31 : if( isDefined("UseAdminPassword") and UseAdminPassword eq true)
32 : {
33 : request.security.setAdminSecurityEnabled(true);
34 : }else {
35 : request.security.setAdminSecurityEnabled(false);
Please try the following:
* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Remote Address 000.000.000.000
Referrer http://XYZ/CFIDE/administrator/security/cfadminpassword.cfm
Date/Time 26-Sep-05 12:15 PM
Stack Trace
at cfcfadminpassword2ecfm986529078.runPage(/www/virthosts/XYZ/www/XYZ/CFIDE/administrator/security/cfadminpassword.cfm:33)
coldfusion.security.SecurityManager$UnauthenticatedCredentialsException
at coldfusion.security.SecurityManager.authenticateAdmin(SecurityManager.java:659)
at coldfusion.security.Securit...(SecurityManager.java:386)
at coldfusion.server.jrun4.Sec...(SecurityHelper.java:33)
at coldfusion.server.ServiceBase.mapModified(ServiceBase.java:280)
at coldfusion.server.ConfigMap.setChanged(ConfigMap.java:64)
at coldfusion.server.ConfigMap.put(ConfigMap.java:238)
at coldfusion.security.SecurityManager.setAdminSecurityEnabled(SecurityManager.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp...:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at coldfusion.runtime.StructBean.invoke(StructBean.java:351)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1650)
at cfcfadminpassword2ecfm986529078.runPage(/www/virthosts/XYZ/www/XYZ/CFIDE/administrator/security/cfadminpassword.cfm:33)
Did you ever find a solution to this?