HTTP ERROR:503 Service Unavailable
Originally Published: 2015-04-16
Last Modified: 2023-10-06
Article Number
000055967
Applies To
RSA Product Set: Security Analytics
RSA Product/Service Type: SA Security Analytics UI
RSA Version/Condition: 10.4.0.2

  
Issue
The restart of Jettysrv caused an issue with the Jetty receiving a 503 error when trying to access logon page

This was a direct reflect of a change in the system by renaming the Malware role, this caused Jetty to try and merge the two into the new role. 

 

Context initialization failed as SA with the following error -
Context initialization is failing with this error : aused by: java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(AbstractCollection.java:260)
at com.netwitness.platform.server.common.auth.PermissionsInitializer.mergePermissions(PermissionsInitializer.java:111)

Looks like they have renamed Malware Role or one of the Roles and the PermissionInitializer was failing to transform the roles and was throwing UnsupportedOperationException. 

Cause
This was caused by a member of the team renaming the Malware role and the Jetty was trying to perform a rebuild with no success.
Resolution

 





1. Stop jettysrv
2. mv /var/lib/netwitness/uax/security-policy, /tmp
3. Start jettysrv

Workaround