Skip to main content
Inspiring
October 1, 2021
Answered

Problem with ColdFusion 2018 Update 12 (Permissions Issue)

  • October 1, 2021
  • 2 replies
  • 996 views

After installing this update, all IIS sites show the following message:

You do not have permission to view this directory or page.

 

No other changes to the server have been made.  This looks to be a permissions issue, but I cannot tell why.  I tried re-applying NTFS permissions from the root directory (c:\ColdFusion2018), but that did not work.  Also, when I try to uninstall the update using the following command:

java -jar C:\ColdFusion2018\cfusion\hf-updates\hf-2018-00012-328566\uninstall /uninstaller.jar

The command prompt returns the following error: 

Error: Unable to access jarfile C:\ColdFusion2018\cfusion\hf-updates\hf-2018-00012-328566\uninstall

 

I was able to uninstall the update manually by stopping the CF service, deleting the jar file and copying the files and folders back to the instance root directory.  I restarted the CF service and everything works fine.

 

Here are the server details:

Windows 2019, CF2018 Update 11

 

Any help is really appreciated.  Thanks!  Alberto

    This topic has been closed for replies.
    Correct answer albertogenty

    I stand by all I've said. I realize you disagree, and think I'm being illogical. Let's let it go. 

     

    I hope you may find satisfaction ultimately, whether from Adobe, or someone else here, or continued analysis (perhaps of the sort I asserted might help).

     

    I and readers would certainly look forward to the conclusion. 


    Hi all,

    My apologies for the delayed response. 

     

    Second, a big shout out to Vikram at Adobe.  He was very helpful and responsive.  The issue was resolved a day or two after my last reply here. 

     

    As it turned out, the issue was in fact the update and it affected other Adobe clients as well.

     

    The short of it is that Adobe introduced a new version of Tomcat in this hotfix (hf-2018-00012-328566).  But, the update to the server.xml file did not remove an AJP configuration parameter that was introduced in a prior hotfix (hotfix hf-2018-00010-320417).  This parameter (requiredSecret, which was replaced by secret) is not supported in the new version of Tomcat.  

     

    Per Vikram’s guidance, I removed the parameter, restarted the CF server service and that solved the issue.  

     

    Again, thanks to everyone who tried to help.    

     

    Alberto

    2 replies

    BKBK
    Community Expert
    Community Expert
    October 2, 2021
    quote

    After installing this update, all IIS sites show the following message:

    You do not have permission to view this directory or page.

     

    No other changes to the server have been made.  This looks to be a permissions issue, but I cannot tell why.  I tried re-applying NTFS permissions from the root directory (c:\ColdFusion2018), but that did not work. 


    By @albertogenty

     

    I wouldn't tamper with NTFS permissions. You didn't have to before installing Update 12, so you shouldn't now. If you have made any such permissions changes, reverse them and go back to how things were.

     

    quote

    ... when I try to uninstall the update using the following command:

    java -jar C:\ColdFusion2018\cfusion\hf-updates\hf-2018-00012-328566\uninstall /uninstaller.jar

    The command prompt returns the following error: 

    Error: Unable to access jarfile C:\ColdFusion2018\cfusion\hf-updates\hf-2018-00012-328566\uninstall

     

    The result of a typographical error: you mistakenly typed a space character between "uninstall" and "/uninstaller.jar".

     

    quote

    I was able to uninstall the update manually by stopping the CF service, deleting the jar file and copying the files and folders back to the instance root directory.  

     

    This kind of manual "Uninstall+Reinstall" can cause problems at the best of times. For example, you might inadvertently uninstall/reinstall using a Java installation different from the one ColdFusion runs on. You could also miss adding or changing certain registry settings. You yourself have mentioned yet another possible source of problems: process and path permissions.

     

    It is difficult, if not impossible, for a human to keep track of all the vital processes necessary during an Uninstall+Reinstall. Hence the need for installers.

     

    Which brings me to my suggestion: use the updating tool in the ColdFusion Administrator to upgrade from Update 11 to Update 12. Before you do, check all your logs to make sure there are no show-stopping errors. Remember to also check the connector logs ( C:\ColdFusion2018\config\wsconfig\[MAGIC_NUMBER]\isapi_redirect.log ).

     

     

     

     

    Charlie Arehart
    Community Expert
    Community Expert
    October 1, 2021

    Alberto, a few questions to try to help (or reach out for direct help in a consulting session):

    • Had you or anyone there applied the auto lock down tool (new, and optional in cf2018)? If so, it imposes significant changes to permissions all over the place.
    • How did you apply the update, in the cf admin or from the command line?
    • Have you made a request (for a page via iis) on the server? Did it show more details? (If not, the iis settings for "error pages" may be hiding actual iis error details.) And I would wonder if the problem is in the request for the jakarta/isapi_redirect.dll that is called concurrently with any cfm page. If so, check the permissions for THAT for the iis app pool identity, or iis site anonymous user identity.

     

    To be clear, I'm not aware of anything special about this update 12 that would cause your problems, but my first question may be why ANY update could have permissions issues. 

    /Charlie (troubleshooter, carehart. org)
    Inspiring
    October 1, 2021

    Hey Charlie, thanks for responding.  I agree that these updates should not affect permissions.  Below are my answers to your questions:

     

    • We did use the auto-lockdown tool along with a manual review of what was done (and added a few extra changes).
    • We have updated this server before and did not have a problem (Update 11).
    • We have a custom error template in place, so IIS was responding.
    • We did not enable detailed error messages.
    • We have since restored the server from backup, so it's up and running again.

     

     

    In any case, I'll check the jakarta/isapi_redirect.dll permissions, but given that lives in C:\ColdFusion2018, the permissions reset should have taken that out of play. 

     

    Charlie Arehart
    Community Expert
    Community Expert
    October 1, 2021

    Permissions reset? 

    /Charlie (troubleshooter, carehart. org)