IBM Support

"You are not authorized to change this workspace" error when the bootstrapProcessServerData command is being run

Troubleshooting


Problem

After creating a new deployment environment, you see the error "You are not authorized to change this workspace" when the bootstrapProcessServerData command is run.

Symptom

The following is an example of the error you might see in bootstrapProcesServerData.<cluster_name>_<timestamp>.log:

00000001 TWASAntTasksH I UserIds: [User.1002]

00000001 TWASAntTasksH I UserName: deadmin
 

00000001 ImportFileHel E CWLLG2015E: An unexpected runtime exception occurred. See exception for more details. Error: You are not authorized to change this workspace.

com.lombardisoftware.client.security.AuthorizationDeniedException: You are not authorized to change this workspace
 

You also see entries like these earlier in the log file before the error:

00000001 InitialDataHe I com.ibm.bpm.bootstrap.InitialDataHelper isTableEmpty LSW_USR_XREF is empty = false
00000001 InitialDataHe I com.ibm.bpm.bootstrap.InitialDataHelper isAuthorUser isAuthorUserExist=false
00000001 InitialDataHe I com.ibm.bpm.bootstrap.InitialDataHelper loadAdminUserData Table [LSW_USR_XREF] is not empty, do not init users.

 

Note: If you do not rebuild your system correctly to solve the problem, during later upgrades, you might notice errors like these when the DBUpgrade command is run:

org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
    at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:71)
    at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:806)
    at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:824)
    at org.springframework.jdbc.core.simple.SimpleJdbcTemplate.queryForObject(SimpleJdbcTemplate.java:159)
    at com.lombardisoftware.tools.dbupgrade.UpgradeContext.isRepositorySince80(UpgradeContext.java:230)
    at com.lombardisoftware.tools.dbupgrade.steps.DeactivateSnapshot.shouldExecute(DeactivateSnapshot.java:52)
    at com.lombardisoftware.tools.dbupgrade.UpgradeDatabase.upgradeStandardDatabase(UpgradeDatabase.java:227)

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"ARM Category":[{"code":"a8m50000000CcXRAA0","label":"Install and Deployment Environments-\u003EDE create"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
18 May 2022

UID

ibm16585146