Article Original Creation Date: 2015-06-16
Overview
After creating a group and users for a specific realm, a user gets an error while viewing or editing services. Selecting a service from a particular realm gives the following error:
[FaultEvent fault=SOAPFauIt
(Client.RealmViolation): Invalid Realm. null
messageid="5088529A-4FD9-47C7-E43D-F83Ed4C43970" type="fault" bubbles=false
cancelable=true eventPhase=21
Environment
- Redhat Linux 6.3
- JBoss 6.10
- Oracle 11g
- Apache 7.0.27
Root Cause
When you load service in ServiceGateway, it not only loads the list of templates that are already associated with that service, it loads all the templates from that same realm so that it can populate the ‘Available’ column on the Templates tab.
The issue is because at least one template in this specific realm is referencing objects from a different realm.
Note: Users with rights to view/modify all realms are not affected, only restricted users to specific realms are affected.
Resolution
To resolve the issue mentioned previously, follow the below steps:
-
Use the restricted user to check all templates for the affected realm, figure out which templates show the error.
-
In the templates found, investigate the conditions (guides) involved.
-
Check the database for the relation between the found conditions and the realm.
-
Remove the faulty conditions from the template and save the changes.
-
Rebuild the same condition and save the template.
-
Repeat the above steps for all faulty templates.
Confirmation
Viewing or editing the service will not raise the error mentioned previously.
Priyanka Bhotika
Comments