cancel
Showing results for 
Search instead for 
Did you mean: 

NoPermissionException: Exception during getInitialContext operation.

Former Member
0 Kudos
103

While installing WAS 6.30 We are getting the error message at Deploy via SDM/J2EE step:

can anybody have a solution for this.

-


Oct 7, 2004 8:03:37 PM Error: Deployment of SDA aborted with errors. See below for details:

Oct 7, 2004 8:03:37 PM Error: Error: Caught exception during application deployment from SAP J2EE Engine's deploy API:

com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [rac909] with UserName: [Administrator]

Check your Login Info.

Exception is:

com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials(Wrapped by com.sap.sdm.serverext.servertype.inqmy.icw.DeployManagerException)

Contents of the log file of the target system:

04/10/07 20:03:34 - ***********************************************************

04/10/07 20:03:35 - Start updating EAR file...

04/10/07 20:03:37 - EAR file updated successfully for 1782s.

04/10/07 20:03:37 - Start deploying ...

04/10/07 20:03:37 - ERROR : com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [rac909] with UserName: [Administrator]

Check your Login Info.

Exception is:

com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials

at com.sap.engine.deploy.manager.DeployManagerImpl.setBroker(DeployManagerImpl.java:3469)

at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewConnection(DeployManagerImpl.java:3436)

at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:585)

at com.sap.engine.deploy.manager.DeployManagerImpl.deploy(DeployManagerImpl.java:502)

at java.lang.reflect.Method.invoke(Native Method)

at com.sap.sdm.serverext.servertype.inqmy.icw.IcwAbstractClassWrapper.icwInvokeInstanceMethod(IcwAbstractClassWrapper.java:303)

at com.sap.sdm.serverext.servertype.inqmy.icw.IcwAbstractClassWrapper.icwInvokeInstanceMethod(IcwAbstractClassWrapper.java:278)

at com.sap.sdm.serverext.servertype.inqmy.icw.IcwInstanceWrapperDeployManager.deploy(IcwInstanceWrapperDeployManager.java:292)

at com.sap.sdm.serverext.servertype.inqmy.EngineApplOnlineDeployer.performAction(EngineApplOnlineDeployer.java:198)

at com.sap.sdm.serverext.servertype.inqmy.EngineDeployer.act(EngineDeployer.java:75)

at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:228)

at com.sap.sdm.serverext.sdmprovided.decorators.DeploymentActionProcessorDecorator.executeAction(DeploymentActionProcessorDecorator.java:61)

at com.sap.sdm.flow.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:58)

at com.sap.sdm.flow.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:185)

at com.sap.sdm.flow.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:50)

at com.sap.sdm.inststate.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:84)

at com.sap.sdm.inststate.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:61)

at com.sap.sdm.inststate.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:79)

at com.sap.sdm.inststate.InstContext.processEventServerSide(InstContext.java:83)

at com.sap.sdm.inststate.InstContext.processEvent(InstContext.java:69)

at com.sap.sdm.flow.controllers.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:117)

at com.sap.sdm.flow.controllers.impl.DeployerImpl.deploy(DeployerImpl.java:86)

at com.sap.sdm.control.command.cmds.Deploy.execute(Deploy.java:158)

at com.sap.sdm.control.command.decorator.AssureStandaloneMode.execute(AssureStandaloneMode.java:54)

at com.sap.sdm.control.command.decorator.AssureOneRunningSDMOnly.execute(AssureOneRunningSDMOnly.java:61)

at com.sap.sdm.control.command.decorator.SDMInitializer.execute(SDMInitializer.java:52)

at com.sap.sdm.control.command.decorator.GlobalParamEvaluator.execute(GlobalParamEvaluator.java:60)

at com.sap.sdm.control.command.decorator.AbstractLibDirSetter.execute(AbstractLibDirSetter.java:46)

at com.sap.sdm.control.command.decorator.ExitPostProcessor.execute(ExitPostProcessor.java:48)

at com.sap.sdm.control.command.decorator.CommandNameLogger.execute(CommandNameLogger.java:49)

at com.sap.sdm.control.command.decorator.AdditionalLogFileSetter.execute(AdditionalLogFileSetter.java:49)

at com.sap.sdm.control.command.decorator.AbstractLogDirSetter.execute(AbstractLogDirSetter.java:52)

at com.sap.sdm.control.command.Command.exec(Command.java:42)

at SDM.main(SDM.java:21)

04/10/07 20:03:37 - ***********************************************************

(error ID: com.sap.sdm.serverext.servertype.inqmy.EngineApplOnlineDeployer.performAction(int).DMEXC)

Oct 7, 2004 8:03:37 PM Info: Deployment action tc/uddi executed.

Oct 7, 2004 8:03:37 PM Error: Execution of deployment tc/uddi aborted.

Error: Caught exception during application deployment from SAP J2EE Engine's deploy API:

com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [rac909] with UserName: [Administrator]

Check your Login Info.

Exception is:

com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials(Wrapped by com.sap.sdm.serverext.servertype.inqmy.icw.DeployManagerException)

Contents of the log file of the target system:

04/10/07 20:03:34 - ***********************************************************

04/10/07 20:03:35 - Start updating EAR file...

04/10/07 20:03:37 - EAR file updated successfully for 1782s.

04/10/07 20:03:37 - Start deploying ...

04/10/07 20:03:37 - ERROR : com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [rac909] with UserName: [Administrator]

Check your Login Info.

Exception is:

com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials

at com.sap.engine.deploy.manager.DeployManagerImpl.setBroker(DeployManagerImpl.java:3469)

at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewConnection(DeployManagerImpl.java:3436)

at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:585)

at com.sap.engine.deploy.manager.DeployManagerImpl.deploy(DeployManagerImpl.java:502)

at java.lang.reflect.Method.invoke(Native Method)

at com.sap.sdm.serverext.servertype.inqmy.icw.IcwAbstractClassWrapper.icwInvokeInstanceMethod(IcwAbstractClassWrapper.java:303)

at com.sap.sdm.serverext.servertype.inqmy.icw.IcwAbstractClassWrapper.icwInvokeInstanceMethod(IcwAbstractClassWrapper.java:278)

at com.sap.sdm.serverext.servertype.inqmy.icw.IcwInstanceWrapperDeployManager.deploy(IcwInstanceWrapperDeployManager.java:292)

at com.sap.sdm.serverext.servertype.inqmy.EngineApplOnlineDeployer.performAction(EngineApplOnlineDeployer.java:198)

at com.sap.sdm.serverext.servertype.inqmy.EngineDeployer.act(EngineDeployer.java:75)

at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:228)

at com.sap.sdm.serverext.sdmprovided.decorators.DeploymentActionProcessorDecorator.executeAction(DeploymentActionProcessorDecorator.java:61)

at com.sap.sdm.flow.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:58)

at com.sap.sdm.flow.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:185)

at com.sap.sdm.flow.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:50)

at com.sap.sdm.inststate.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:84)

at com.sap.sdm.inststate.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:61)

at com.sap.sdm.inststate.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:79)

at com.sap.sdm.inststate.InstContext.processEventServerSide(InstContext.java:83)

at com.sap.sdm.inststate.InstContext.processEvent(InstContext.java:69)

at com.sap.sdm.flow.controllers.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:117)

at com.sap.sdm.flow.controllers.impl.DeployerImpl.deploy(DeployerImpl.java:86)

at com.sap.sdm.control.command.cmds.Deploy.execute(Deploy.java:158)

at com.sap.sdm.control.command.decorator.AssureStandaloneMode.execute(AssureStandaloneMode.java:54)

at com.sap.sdm.control.command.decorator.AssureOneRunningSDMOnly.execute(AssureOneRunningSDMOnly.java:61)

at com.sap.sdm.control.command.decorator.SDMInitializer.execute(SDMInitializer.java:52)

at com.sap.sdm.control.command.decorator.GlobalParamEvaluator.execute(GlobalParamEvaluator.java:60)

at com.sap.sdm.control.command.decorator.AbstractLibDirSetter.execute(AbstractLibDirSetter.java:46)

at com.sap.sdm.control.command.decorator.ExitPostProcessor.execute(ExitPostProcessor.java:48)

at com.sap.sdm.control.command.decorator.CommandNameLogger.execute(CommandNameLogger.java:49)

at com.sap.sdm.control.command.decorator.AdditionalLogFileSetter.execute(AdditionalLogFileSetter.java:49)

at com.sap.sdm.control.command.decorator.AbstractLogDirSetter.execute(AbstractLogDirSetter.java:52)

at com.sap.sdm.control.command.Command.exec(Command.java:42)

at SDM.main(SDM.java:21)

04/10/07 20:03:37 - ***********************************************************

(error ID: com.sap.sdm.serverext.servertype.inqmy.EngineApplOnlineDeployer.performAction(int).DMEXC)

Oct 7, 2004 8:03:37 PM Error: Deployment NOT successful for tc/uddi

Oct 7, 2004 8:03:37 PM Error: -


At least one of the Deployments failed -


Oct 7, 2004 8:03:37 PM Info: Summarizing the deployment results:

Oct 7, 2004 8:03:37 PM Error: Admitted: F:\was630\J2EE-ENG\ONLINE\SAPJTECHS00_0.SCA

Oct 7, 2004 8:03:37 PM Error: Admitted: F:\was630\J2EE-ENG\ONLINE\AII_UTIL_MISC.SDA

Oct 7, 2004 8:03:37 PM Info: Already Deployed: F:\was630\J2EE-ENG\ONLINE\AII_UTIL_RB.SDA

Oct 7, 2004 8:03:37 PM Error: Admitted: F:\was630\J2EE-ENG\ONLINE\AII_UTIL_XML.SDA

Oct 7, 2004 8:03:37 PM Error: Admitted: F:\was630\J2EE-ENG\ONLINE\AII_PROXY_RT.SDA

Oct 7, 2004 8:03:37 PM Error: Aborted: F:\was630\J2EE-ENG\ONLINE\UDDI-SERVER.EAR

Oct 7, 2004 8:03:37 PM Error: Processing error. Return code: 4

Accepted Solutions (0)

Answers (2)

Answers (2)

daniel_davinci
Active Contributor
0 Kudos

Hi, I had this very same problem.

Try look at the account password policy settings on the operating system for the machine you are installing onto and ensure that the passwords that you input during the install also meet the minimum requirements of the operating system. i.e My pwd's had to be 7 chars in length minimum. I had to start the install from scratch to overcome the problem as I could not change the policy.

Regards

Daniel

Former Member
0 Kudos

Hi

Does anyone has a solution for this problem? Any help would be greatly appreciated.

Thanks,

Rajit