Skip to main content
Inspiring
July 20, 2023
Question

CF2021 wsconfig questions

  • July 20, 2023
  • 2 replies
  • 1279 views

I recently migrated from CF2018 to CF2021, for a windows server.

When I tried to uninstall CF2018, I restarted the server, and Apache would not start after this. I checked the Event Viewer, at in stated that it could not find the mod_jk_vhost.conf file. I thought too fix this issue, all I had to do, was change the path it wanted, from the old, non existant CF2018 path, to the CF2021 path, but there is no wsconfig folder, in CF2021/config/

To "fix" this, I restored the CF2018 folder, and changed some paths in the .conf files in the older version, to point to the newer version.

Now, everything works, but this is not a long term fix.

Is the solution, just too copy the wsconfig folder, to CF2021?
Or is there an installer or zip folder I forgot to include, when I migrated?
Is this because of my lack of understanding on how Apache and ColdFusion work?
I thought I configured the connection between Apache and ColdFusion, when I ran the "wsproxyconfig.exe", thats under CF2021/cfusion/bin, and adding the Apache24/conf folder.

    This topic has been closed for replies.

    2 replies

    Charlie Arehart
    Community Expert
    Community Expert
    July 25, 2023

    Nils, three things:

    1. When you uninstalled cf2018, that did NOT remove the apache web server connector. You should have run that wsconfig tool for it first, removing the connectors which had been created with the tool (and NOT as part of the cf installer) . It's a common oversight.
    2. Yes, it's necessary to import any files that you or anyone had created/placed in the previous version's customtags folder. At least inn this case, the fact that the uninstaller should leave such files there (since it did not install them) is to your advantage.
    3. Finally, no, you should NOT copy neo*.xml files, as they aren't guaranteed to be compatible between versions (and the migration guide should not suggest you do that--and I don't think it does).

     

    Glad you got things sorted. Just sharing this as additional info, for you and future readers. Sorry that I or others hadn't chimed in sooner. 

    /Charlie (troubleshooter, carehart. org)
    Inspiring
    July 21, 2023

    So, it was a failed installation that was the issue. When migrating from 2018 to 2021, I could not find "wsconfig.exe", because I only checked cfusion/bin, and wrongly assumed that "wsproxyconfig" was the new name for the same tool, since the process and windows were similar.
    I did not use the Web Config Tool, because I was unsure if it would connect 2018 or 2021.

    But, after I tried to use the proper tool, "wsconfig", I got an warning, stating: "Error getting IIS web site list from the metabase. The IISAdmin service cannot be disabled.", and could not add a connection too Apache.
    The solution, was to use cli, instead of the gui, and creating a connection, which worked, but I am still missing something, as I get errors, in the log, stating I am missing custom-tags, and components. But I have a connection without using CF2018.

    Inspiring
    July 25, 2023

    The solution to the custom-tags-problem, was as simple as copying the CostumTags folder. This was a step, in the ColdFusion migration guide, but I was hesistant to follow it, since I have had a previeous failed migration attempts, due to copying the neo*.xml files.