cancel
Showing results for 
Search instead for 
Did you mean: 

" User not authorized" error while deploying webdynpro application on WAS

Former Member
0 Kudos

I am getting following error while deploying dyn pro application on WAS

Error

May 17, 2005 6:37:21 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:

[002]Deployment aborted

Settings

SDM host : DYNPRO

SDM port : 50018

URL to deploy : file:/C:/DOCUME1/720359/LOCALS1/Temp/temp50603PVTOSAP.ear

Result

=> deployment aborted : file:/C:/DOCUME1/720359/LOCALS1/Temp/temp50603PVTOSAP.ear

Aborted: development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08':

Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.

com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [DYNPRO] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.]

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)

Deployment exception : The deployment of at least one item aborted

Additional Log :

May 17, 2005 6:37:21 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:

[002]Additional log information about the deployment

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7162 - 630_SP]/>

<!NAME[D:\usr\sap\DYN\DVEBMGS00\SDM\program\log\sdmcl20050517131312.log]/>

<!PATTERN[sdmcl20050517131312.log]/>

<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>

<!ENCODING[Cp1252]/>

<!LOGHEADER[END]/>

May 17, 2005 6:43:12 PM Info: -


Starting deployment -


May 17, 2005 6:43:12 PM Info: Loading selected archives...

May 17, 2005 6:43:12 PM Info: Loading archive 'D:\usr\sap\DYN\DVEBMGS00\SDM\program\temp\temp50603PVTOSAP.ear'

May 17, 2005 6:43:14 PM Info: Selected archives successfully loaded.

May 17, 2005 6:43:14 PM Info: Actions per selected component:

May 17, 2005 6:43:14 PM Info: Update: Selected development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08' updates currently deployed development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.09.04.27'.

May 17, 2005 6:43:15 PM Info: Error handling strategy: OnErrorStop

May 17, 2005 6:43:15 PM Info: Update strategy: UpdateAllVersions

May 17, 2005 6:43:15 PM Info: Starting: Update: Selected development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08' updates currently deployed development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.09.04.27'.

May 17, 2005 6:43:15 PM Info: SDA to be deployed: D:\usr\sap\DYN\DVEBMGS00\SDM\root\origin\local\PVtoSAP\LOKAL\0.2005.05.17.18.37.08\temp50603PVTOSAP.ear

May 17, 2005 6:43:15 PM Info: Software type of SDA: J2EE

May 17, 2005 6:43:15 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

May 17, 2005 6:43:15 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

May 17, 2005 6:43:15 PM Error: Aborted: development component 'PVTOSAP'/'local'/'LOKAL'/'0.2005.05.17.18.37.08':

Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.

com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [DYNPRO] with user name: [J2EE_ADMIN]

Check your login information.

Exception is:

com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.]

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)

May 17, 2005 6:43:17 PM Error: -


At least one of the Deployments failed -


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Abhijeet,

1. Execute the remoteGUI

<<Installed drive>>:\usr\sap\J2E\JC00\SDM\program\RemoteGui.bat

2. Click the "Connect to SDM server" (Menu "SDM GUI --> Login")

3. Give the hostname (DYNPRO) and port (50018)

4. Enter the password and click login.

Check whether you are able to login or not. If you are not able to login through the RemoteGUI, then the password might be wrong. Check the password.

Regards,

Santhosh.C

Former Member
0 Kudos

Hi Abhijeet,

Please check weather J2EE_ADMIN user is locked .

Regards, Anilkumar

Former Member
0 Kudos

Hi

Guess you are giving wrong password while deploying to J2EE.

Kishore