Skip to main content
Participating Frequently
February 7, 2012
Question

resetting password errs?

  • February 7, 2012
  • 1 reply
  • 495 views

after a google search of what to do for a lost admin password, I found this

open lib/neo-security.xml with notepad

find admin.security.enabled and change true->false

save file

stop coldfusion application service via administrative tools

start coldfusion application service

first time I tried to login to administrator after the above change, it just seemed to hang so I killed the window and typed in  http://localhost:8500/CFIDE/administrator again.  This was successful.  I clicked Use a Single Password Only, reset the password.

Then the instructions I googled said to undo the neo-security.xml change.  When I opened it with notepad, just one long line (CR/LF stripped).  And find of admin.security.enabled returned no hits.  So I opened it with xmlnotepad.  It showed that the last var admin.security.enabled already had true so I did not save the neo-security.xml file.  Now I stopped and restarted Coldfusion Application anyway.  First time I tried to get to administrator, it seemed to hang as before.  Next time I got a jre error (did not copy it!).  Third time, I got into administrator and my password worked.

Question is: have i corrupted neo-security.xml (xml shouldn't need the LFs)?  is there some time after Coldfusion Application starts that things are unstable?  Are we supposed to wait some period of time before using coldfusion?

Thanks in advance!

    This topic has been closed for replies.

    1 reply

    Community Expert
    February 7, 2012

    Then the instructions I googled said to undo the neo-security.xml change.

    Those instructions were wrong, then. Using the CF Administrator to change security settings gets them where you want to be.

    Question is: have i corrupted neo-security.xml (xml shouldn't need the LFs)?

    No, not if CF starts up and you can log into the administrator.

    is there some time after Coldfusion Application starts that things are unstable? Are we supposed to wait some period of time before using coldfusion?

    Usually, there is a short period where CF won't respond, yes. You don't usually get a JRE error during that time, though. But that error, whatever it was, almost certainly had nothing to do with your editing neo-security.xml.

    Dave Watts, CTO, Fig Leaf Software

    Dave Watts, Eidolon LLC