My Oracle Support Banner

Utilities.getBaseUrl Error Thrown In Logs (Doc ID 2778108.1)

Last updated on MAY 24, 2021

Applies to:

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

Symptoms

There is a Utilities.getBaseUrl error being thrown in sites.log:

[2021-03-24T06:29:08.704+00:00] [wcsites] [ERROR] [] [oracle.wcsites.request] [tid: 127] [ecid: 0b5531e4-0310-4433-b7fd-9e4da247c938-00000062,0] Exception including resource /jsp/cs_deployed/fatwire/ui/util/GetSLSObj.jsp[[
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/cs_deployed/fatwire/ui/util/GetSLSObj.jsp
GetSLSObj.jsp:54:34: The method getBaseUrl() is undefined for the type Utilities
String baseUrl = Utilities.getBaseUrl();
  ^-------^

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:313)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:492)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:379)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:64)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

Caused by: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/cs_deployed/fatwire/ui/util/GetSLSObj.jsp
GetSLSObj.jsp:54:34: The method getBaseUrl() is undefined for the type Utilities
String baseUrl = Utilities.getBaseUrl();
  ^-------^

at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:247)
...

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.