Monday, June 8, 2009

SDM cannot Connect to J2EE Engine

SDM cannot Connect to J2EE Engine

Problem

A frequent situation is when SDM is not able to connect to the J2EE Engine due to incorrect security credentials stored in the SecureStore FS.

Secure Store FS is the place where SDM gets security credentials for connecting to the J2EE Engine. The following error can be viewed in the SDM logs or the SDM Remote GUI Client deployment result panel:

ERROR: Cannot connect to Host: [HOST_NAME] with UserName:[USER_NAME]
Check your Login Info.
Exception is:
com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException
Exception during getInitialContext operation
Wrong security principles/credentials

this means that administrator, user and/or password have been changed using the Visual Admin tool, but were not changed in the secure store.

Solution

You should start configtool.bat(.sh) located in /usr/sap/<SID>/<INSTANCE_NAME >/j2ee/configtool.

You can check in the Secure Store whether the user name and password are correct. (The password cannot be seen but you can overwrite it with the correct one.)

Another solution for this situation can be found in SAP Note 701654.

If the administrator user is locked and therefore you cannot connect with SDM nor in any other way (Visual Admin, Telnet, Web application), one possible solution is to unlock the administrator user using SAP Note 669848.

No comments:

Post a Comment