Yes, after more investigation I realize that the above excerpted code is a product of Juniper rewrite behavior. If I disable the default Juniper rewrite policy for the Alfresco Share url, I have the permission denied issue when attempting to access Document Library or Calendar.
I have configured SSL for tomcat and Alfresco as documented and explained elsewhere on the forum.
If I run with the default Juniper rewrite policy enabled, I can perform all the Alfresco functions and lookups, but I trip over the javascript errors.
I'm looking into upgrading the Juniper version, but this will require a lengthy testing effort, deployment, etc.
Does anyone know a different path to solving this issue?
Thanks.