this is really difficult to diagnose, because 404 page can have many reasons. The files you are trying to retrieve are from the lucee context, and for security reasons they probably won’t be loaded. They will be blocked and only shown when you access through port 8888 (bypassing IIS).
WIth the assumption that the paths are configured correctly:
It would be helpful to understand whether the error is thrown by IIS or by Tomcat.
You can turn off HTTP header codes forwarding on BonCode <EnableHTTPStatusCodes>false</EnableHTTPStatusCodes> .
If you see Tomcat error then it is Tomcat complaining, you need to fix it there. If you continue seing IIS errors, you have IIS permissions issues. Fix it in IIS.
Most likely you have a file/directory requirement. IIS will check whether file or directory exsits before forwarding the request to Tomcat.
Since anything under path lucee is virtual and controlled by lucee such directories and files are not present for IIS to find, thus it will throw 404.
You have a few options:
a) Create empty files and directories mimimicing files that you need to see in debug. IIS will believe these files exist, and forward your request to Tomcat and Tomcat will promptly ignore them and use its mapped files.
b) You can add a wildcard handler for path /lucee and disable request restrictions: