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

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

book

Article ID: 138318

calendar_today

Updated On:

Products

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

Issue/Introduction

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(TagUtils.java:53)
at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:40)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:45)
at jsp_servlet.__index._jsp__tag0(__index.java:124)
at jsp_servlet.__index._jspService(__index.java:91)
Truncated. see log file for complete stacktrace
 

Environment

IDM - 14.3 standalone

Component : IdentityMinder(Identity Manager)

RHEL 7.4

weblogic - wl12213_190716

DB - Oracle 12c


Resolution

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