cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS Deployment error for ear file: Role/permissions missing

former_member184970
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

sallyhalal
Explorer

Hello!

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

Kind Regards,

Sally Halal

Answers (0)