Skip to Content

NWDS Deployment error for ear file: Role/permissions missing

Hi,

When I try to deploy an ear application from NWDS Version(SAP NetWeaver Developer Studio SAP NetWeaver 7.3 SP12 PAT0003) to SAP AS JAVA system Version 7.31, from the deployment view, I get the below error.

My password is not locked. It would be helpful,if anyone identifies the roles/permissions to be assigned to the user ID, Even though superadmin is assigned to the user ID, the error comes.

Cannot obtain deployment client Cause: com.sap.engine.services.dc.api.AuthenticationException:[ERROR CODE DPL.DCAPI.1148]Could not establish connection to AS Java on[<server address>:port number]. Cannot authenticate the user.Wrong or missing security credentials(password) for principal[<user ID>],or the specified principal has no permission to perform JNDI related operations.User could not be authenticated.

Possible reasons:Wrong user or password,user is locked. Cannot authenticate the user or the specified user

Details of the error are as below

Exception occurred during the 'Deploy' operation. Cause:Cannot obtain deployment client Exception: com.sap.ide.eclipse.deployer.api.AuthenticationException: com.sap.engine.services.dc.api.AuthenticationException: [ERROR CODE DPL.DCAPI.1148] Could not establish connection to AS Java on []. Cannot authenticate the user. Wrong or missing security credentials (password) for principal [], or the specified principal has no permissions to perform JNDI related operations. at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:105) at com.sap.ide.eclipse.deployer.dc.DCClientFactoryImpl.createClient(DCClientFactoryImpl.java:120) at com.sap.ide.eclipse.deployer.DeployerPlugin.getClient(DeployerPlugin.java:256) at com.sap.ide.eclipse.deployer.ui.UIUtils.getClient(UIUtils.java:212) at com.sap.ide.eclipse.deployer.ui.UIUtils.getClient(UIUtils.java:193) at com.sap.ide.eclipse.j2ee.engine.deploy.view.deploy.action.DeployAction$DeployActionJob.run(DeployAction.java:234) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: com.sap.engine.services.dc.api.AuthenticationException: [ERROR CODE DPL.DCAPI.1148] Could not establish connection to AS Java on []. Cannot authenticate the user. Wrong or missing security credentials (password) for principal [], or the specified principal has no permissions to perform JNDI related operations. at com.sap.engine.services.dc.api.session.impl.SessionImpl.parseNamingException(SessionImpl.java:374) at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:230) at com.sap.engine.services.dc.api.session.impl.SessionImpl.<init>(SessionImpl.java:150) at com.sap.engine.services.dc.api.session.impl.SessionFactoryImpl.newSession(SessionFactoryImpl.java:36) at com.sap.engine.services.dc.api.impl.ClientFactoryImpl.createClient(ClientFactoryImpl.java:127) at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:100) ... 6 more Caused by: javax.naming.NoPermissionException: Exception during getInitialContext operation. Wrong security principal/credentials. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleUserProblem(InitialContextFactoryImpl.java:427) at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:341) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215) ... 10 more Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user. at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:132) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:285) at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:224) at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:483) at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:83) at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72) at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43) at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:1055) at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59) at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101) at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328) Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed. at com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule.login(BasicPasswordLoginModule.java:311) at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:254) at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:66) ... 14 more

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 05, 2019 at 08:41 AM

    Hello!

    I think this SAP KBA Answers your question: 2009662 - UME actions or roles required for deployment

    Kind Regards,

    Sally Halal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.