SAP Knowledge Base Article - Preview

3201724 - Upload roles from Back-End Systems to Enterprise Portal failed with error "unexpected lock exception when locking"

Symptom

After you upload roles from ABAP back-end system into Portal, even the Progress displays as 100% Completed, when checking details about upload result in Log Viewer, you still can see some role objects are marked as Error in "Error Level". So you want to know whether the roles are uploaded successfully or not. See followings as image.

Progress is 100% Completed. 

Status is Finished, but Error Level is marked as "Error".


Also, if download stack trace for the uploaded role, you can see following error from it.
-----------------------------------------------------------------------------------
<com.sap.portal.util.threadreporting.Level>2</com.sap.portal.util.threadreporting.Level>
<com.sap.portal.util.threadreporting.MessageText><![CDATA[Object created: portal_content/com.sap.portal.migrated/<xxx>/roles/<role path>/<role name: aaa>]]</com.sap.portal.util.threadreporting.MessageText>
</Record>
</Record>
<Record>
<com.sap.portal.util.threadreporting.MessageSeverity>SEVERE</com.sap.portal.util.threadreporting.MessageSeverity>
<com.sap.portal.util.threadreporting.Timestamp>1642427621102</com.sap.portal.util.threadreporting.Timestamp>
<com.sap.portal.util.threadreporting.StackTrace><![CDATA[com.sap.portal.pcd.rolemigration.RoleMigrationException: commit failed, set rollback only
com.sapportals.portal.pcd.gl.PcdRuntimeException: unexpected lock exception when locking - save(xxx).
commit failed, set rollback only
com.sapportals.portal.pcd.gl.PcdRuntimeException: unexpected lock exception when locking
...
-----------------------------------------------------------------------------------


Read more...

Environment

  • Enterprise Portal
  • NetWeaver AS Java
  • NetWeaver AS ABAP

Product

SAP Enterprise Portal all versions ; SAP NetWeaver Application Server for Java 7.1 ; SAP NetWeaver Application Server for Java 7.2

Keywords

upload role from backend, thread report, error, Error Level, Finished, Completed, Severity, Log Viewer, Enterprise Portal, role, upload, locked, locking, unlock , KBA , EP-PIN-PCD-ROL-UPL , Role upload from ERP , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.