Remove struts.jar file in AdminUI 12.7 or 12.8

book

Article ID: 109834

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction



We have the struts.jar file that comes with AdminUI installer. It is in path AdminUI_home/standalone/deployments/iam_siteminder.ear/library/struts.jar. 
The version of this Apache struts is 1.x. Can we upgrade this to Apache Struts v2.5x or 2.3x?
Will this impact the functionality of the AdminUI?

Environment

CA Single Sign On 12.7 / 12.8
Supported OS's Windows 2012 and Linux 6x and 7x

Resolution

​The struts.jar file should not be upgrade as it would cause potential issues. 
However, for the SSO Admin UI, you can remove the struts.jar by following the the process below. 
  1. Stop the AdminUI per the documentation.
  • Linux: from the /adminui/bin run jboss-cli.sh -c --command=:shutdown
  • Windows stop the Windows Service. SiteMinder Administrative UI
  1. comment out the module "IM_Management_Console" in  application.xml and in jboss-deployment-structure.xml
These files are located in standalone\deployments\iam_siteminder.ear\META-INF.
 
  • In, application.xml 
<!--
<module id="IM_Management_Console">
<web>
<web-uri>management_console.war</web-uri>
<context-root>/iam/sitemindermanage</context-root>
</web>
</module>
-->
 
  • In jboss-deployment-structure.xml, comment out the below  management_console.war, as below.
<!--
<sub-deployment name="management_console.war">
<dependencies></dependencies>
</sub-deployment>
-->
  1.  Delete or rename the struts.jar file.
/adminui/standalone/deployments/iam_siteminder.ear/library
  1. Start the AdminUI.
  2. Confirm that the AdminUI starts and your able to login.