IBM Support

WebGUI 8.1 Export fails with the following error message: "Exception while exporting console preferences. Reason: CTGWA6237W Unable to find View <viewname>""

Question & Answer


Question

While trying WebGUI export, this fails with the following error message:
"Exception while exporting console preferences. Reason: CTGWA6237W Unable to find View <viewname>"

Answer

This error message indicates that some of the WebGUI/DASH xml files may have been corrupted.

Try to run FixConfiguration tool as follows:

1) Go to this location: <JazzSM_HOME>/ui/bin

2) Execute this command:

 ./consolecli.sh FixConfiguration --username smdmin_user_name --password smadmin_password --checkOnly true

 With the last parameter set to true, the script will just list any invalid references in the xml's files.

In case you get any invalid references listed there, then just run the same command again but with the checkOnly parameter set to false in order to actually fix all the invalid references that were found. The command will be the following:

./consolecli.sh FixConfiguration --username smdmin_user_name --password smadmin_password --checkOnly false

 Afterwards, restart DASH and try the export again.

If this doesn't solve the issue and the export fails with the exact same error message, check the below file:

<JazzSM>/profile/config/cells/JazzSMNode01Cell/applications/isc.ear/deployments/isc/isclite.war/WEB-INF/appRoles.xml

 Within the above file most probably you still have a console preference profile definition that still contains that invalid view.

An example:

<approles:preference-profile defaultViewId="<problematic_view_name>" hideActionSelector="false" hideViewSelector="false" isNavTreeExpanded="true" orientation="DEFAULT" textDirection="DEFAULT" theme="oneui"

title="TESTProfile" uniqueName="_1111111">

<approles:console-views>

<approles:console-view checked="true" viewId="allTasks"/>

<approles:console-view checked="true" viewId="com.ibm.isclite.CategoryFilter"/>

<approles:console-view checked="false" viewId="com.ibm.isclite.ProductFilter"/>

<approles:console-view checked="false" viewId="com.ibm.isclite.MyTaskFilter"/>

</approles:console-views>

<approles:date-created>2018/02/29 19:37:50</approles:date-created>

<approles:date-updated>2018/03/07 11:26:20</approles:date-updated>

</approles:preference-profile>

 

If this is the case, you can  access Console Preference Profile from WebGUI interface, select the profile referenced in the file and which contain the invalid view ("TESTProfile" as in my example) and try to edit it in order to change or remove the wrong view definition. Save the changes and try the export again.

 

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Component":"WebGUI","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WebGUI

Document Information

Modified date:
23 July 2021

UID

ibm11284184