Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Method getServletContext() undefined for the type __smaversion



Universal System Management Application (SMA) works correctly; however, an error is generated in the Weblogic server log.

Error Messages

<Info> <ServletContext-/prsysmgmt> <venglnx249> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1536162719681> <BEA-000000> <SMAVersion.jsp:25:11: The method getServletContext() is undefined for the type __smaversion
<Error> <HTTP> <venglnx249> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1536162719684> <BEA-101020> <[[email protected][app:prsysmgmt module:prsysmgmt.war path:null spec-version:3.0]] Servlet failed with an Exception
java.lang.IllegalStateException: Response already committed
at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl

Steps to Reproduce

Deploy Universal SMA on Weblogic 12.3.1.

Root Cause

A defect in Pegasystems’ code or rules. 

getServletContext() caused 'Method not found' in Weblogic.
Changed to getServletConfig().getServletContext() which works in all application servers.


Apply HFix-47183.

Suggest Edit

Published September 21, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us