Addanalyticsimgtag.Jsp Fails In Weblogic (Doc ID 1508654.1)

Last updated on JULY 20, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

AddAnalyticsImgTag.jsp is failing on Weblogic with this error:

<Info> <ServletContext-/cs> <lv01343> <managed1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1353534305027> <BEA-000000> <AddAnalyticsImgTag.jsp:137:23: The method getServletContext() is undefined for the type __addanalyticsimgtag
        ServletContext ctx = getServletContext();
                             ^--------------^
>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms