Skip to main content
New Participant
March 11, 2011
Answered

ColdFusion launcher wont accept password when trying to change web server

  • March 11, 2011
  • 1 reply
  • 1476 views

I know this is going to sound daft as wrong password is wrong password, right? Well i swear to you i know my passwords and it's not having it.

I'm running coldfusion 9 and i want to change the default/internal server that i set it up with on installation to the apache server that comes with mac osx. So i started the coldfusion launcher and clicked the webserver connection utility button to set it up, it asks for a password to continue but wont accept it.. I've tried both of the passwords that i use for secure stuff in case i was confused which one it was asking for but it's not having either.

I tried changing the password in coldfusion administrator and still no joy. I know this sounds stupid but i don't understand... how do i get in if it wont accept my admin passwords... i haven't tried uninstalling and trying again as stuff like this is a nightmare to get rid of in my experience... always leaves a file somewhere that you can never seem to isolate that mucks up the following installation so i've left it for now. Anyone got any ideas?

    This topic has been closed for replies.
    Correct answer 12Robots

    I guess the server that's running at the moment in place of apache. The web server config utility tells me permission is denied on the /private/etc/apache2/httpd.conf path when i input the details and try and reconfigure it to apache.

    It all happens within the config utility.

    When you say 'run', do you mean open up a terminal and type in sudo -jar wsconfig.jar? I tried that and it said it couldn't access it so i just doubled-clicked the wsconfig file and it opened the web utility.


    ok, you can't just double click the wsconfig file, cause then you are not running it as sudo, so you won't have permission.  "sudo" is "Super User Do" and allows you to run a program, temporarily, as a super user.  If you don't do that you won't have permission to change the httpd config file.

    Try the following.

    Run Terminal

    type: cd /Applications/ColdFusion9/runtime/lib  (change it to the proper path if this not the path to your ColdFusion)

    hit enter

    type: sudo java -jar wsconfig.jar

    hit enter

    it should prompt you for your password. Enter it and hit enter again.

    It should launch the config tool, this time with the proper permissions to edit the httd.conf file.

    Good luck

    1 reply

    12Robots
    Participating Frequently
    March 11, 2011

    I just tried this on my own Mac. The password it accepted from me was my ColdFusion administrator password. This does not seem like a very good utility. Now that it has accepted my password it seems it will, henceforth, accept any password.

    You could bypass the ColdFusion Launcher and go right to the web server config tool like this:

    1. Go to your <ColdFusion Directory>/runtime/lib (For example, mine is at /Applications/ColdFusion9/runtime/lib)

    2. Run: sudo java -jar wsconfig.jar

    3. Enter your OSX user sudo password

    Hope this help.

    E_ssAuthor
    New Participant
    March 11, 2011

    Thanks for response, it still doesn't want to accept my password so i'm just going to do the 2nd thing you said. However, in the setup of this under the web server properties where should the config directory be?

    E_ssAuthor
    New Participant
    March 12, 2011

    When you try to restart which server? What says permission deinied?

    Can you tell me which commands you are running? Or does it all happen within that config utility?  Are you running the config utility with the "sudo" command at the beginning?

    Jason


    I guess the server that's running at the moment in place of apache. The web server config utility tells me permission is denied on the /private/etc/apache2/httpd.conf path when i input the details and try and reconfigure it to apache.

    It all happens within the config utility.

    When you say 'run', do you mean open up a terminal and type in sudo -jar wsconfig.jar? I tried that and it said it couldn't access it so i just doubled-clicked the wsconfig file and it opened the web utility.