SAP Knowledge Base Article - Preview

3518170 - AccessControlException: No authorization - AS Java deployment fails

Symptom

Deployment of SCA on AS Java fails.

deploy.trc shows:

[...]
deployment status: [Admitted]
description: []
] failed
    at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.update(ApplicationDeployer.java:107)
    at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:142)
    at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:58)
    at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:212)
    ... 15 more
Caused by: java.lang.SecurityException: The user does not have permission. Namespace: [deploy], Action: [deploy_service_read] 
    at com.sap.engine.services.deploy.server.DeployServicePermissionProvider.checkAccessPermission(DeployServicePermissionProvider.java:34)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.getSupports(DeployServiceImpl.java:1634)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.checkSupport(DeployServiceImpl.java:2083)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:567)
    at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.update(ApplicationDeployer.java:67)
    ... 18 more
Caused by: java.lang.SecurityException: User Administrator is not authorized.
    at com.sap.engine.interfaces.security.SecurityThreadContext.checkAuthorized(SecurityThreadContext.java:159)
    at com.sap.engine.services.deploy.server.DeployServicePermissionProvider.checkAccessPermission(DeployServicePermissionProvider.java:27)
    ... 22 more
Caused by: java.security.AccessControlException: No authorization
    at com.sap.security.core.imp.User.checkPermission(User.java:856)
    at com.sap.security.core.imp.UserWrapper.checkPermission(UserWrapper.java:214)
    at com.sap.engine.interfaces.security.SecurityThreadContext.checkAuthorized(SecurityThreadContext.java:156)
    ... 23 more
[...]


Read more...

Environment

SAP NetWeaver Application Server Java 7.50 SP20 and above versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

SAP JAVA system, upgrade, software component deployment, authorization error, User Administrator, SUM, Batchdeployer, Extramile tool, SCA CORE-TOOLS, SP28 , KBA , BC-JAS-DPL , Deployment , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , 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.