Struts error with Weblogic "Struts dispatcher needed for this tag"
search cancel

Struts error with Weblogic "Struts dispatcher needed for this tag"


Article ID: 138318


Updated On:


CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite


Install was successfull, and weblogic adminserver started fine. On starting the managed server, the IAM 14.3 is started fine as per the attached logs, but getting the below error and the IDM management console is not working.
Weblogic struts error in logs:


<Jul 30, 2019 1:18:19,443 PM CDT> <Notice> <Cluster> <BEA-000102> <Joining cluster widm_cluster on <###.###.###.###>:21042> 
<Jul 30, 2019 1:18:19,444 PM CDT> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.> 
<Jul 30, 2019 1:18:19,468 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.> 
<Jul 30, 2019 1:18:32,226 PM CDT> <Error> <HTTP> <BEA-101020> <[ServletContext@2130539053[app:iam_im module:/iam/immanage path:null spec-version:3.1]] Servlet failed with an Exception
The Struts dispatcher cannot be found.  This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
at org.apache.struts2.views.jsp.TagUtils.getStack(
at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(
at jsp_servlet.__index._jsp__tag0(
at jsp_servlet.__index._jspService(
Truncated. see log file for complete stacktrace


IDM - 14.3 standalone

Component : IdentityMinder(Identity Manager)

RHEL 7.4

weblogic - wl12213_190716

DB - Oracle 12c


The issue is fixed by replacing with the latest version of struts jar against the one came with the CA IDM install


- Struts jar came with IDM package through Installation  -->  struts2-core-2.5.17.jar

- Downloaded from Google and replaced with new jar     -->  struts2-core-2.5.20.jar