cancel
Showing results for 
Search instead for 
Did you mean: 

Web dynpro Deployment issue during deployment

Former Member
0 Kudos

Hi,

When i try to deploy the application in web dynpro, it is giving me error message.

I have checked the message server port. The port number is correct only. And in show view of J2ee Engine the Dispatcher, SDM and Server are in Active(green) state only.

The error message is:-

Deployment aborted

Settings

SDM host : sapretail

SDM port : 50118

Result

=> deployment aborted

Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.16.21.04.54':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: [sapretail] 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:

Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)

Deployment exception : The deployment of at least one item aborted

Plz Reply ASAP.

Thanks and Regards

Raju

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

VRK,

check whether the user you are using to deploy is not locked.

try to login to SDM using the same user.

restart the SDM server and check it out

Thanks

Bala Duvvuri

Former Member
0 Kudos

Hi,

No the User is not Locked as i have checked logining in SDM with the same user.

Still i am facing with the same Problem.

Regards,

Raju

Former Member
0 Kudos

Hi Raju,

Please check by adding the host entries of your server ip and host entry in your

machines drivers file

drivers/etc/hosts.

Regards

Ponnusamy

Former Member
0 Kudos

Hi All,

I have added the host entries also .

Regards,

Raju

Former Member
0 Kudos

Hi Ponnusamy,

I have added the host entries in drivers/etc/hosts.

Regards,

Raju

Former Member
0 Kudos

Dear Raju,

Did your error got solved.

if not, Please try to deploy simple application with 1 text field and check.

Regards

Ponnusamy

Former Member
0 Kudos

Hi Ponnusamy,

My problem has not yet resolved, i am still getting the same error.

The application which i am deploying is a simple "hello world " application only.

Regards,

Raju

Former Member
0 Kudos

Hi,

Please check if sdm password and admin password are same. If they are different or if admin password has been changed, the password has to be updated in secure store in config tool. Hope that would help.

http://help.sap.com/saphelp_nw04/helpdata/en/99/281540bf1af72ee10000000a1550b0/frameset.htm

After updating, restart the server. Then deploy and check.

Regards,

Harini S

Former Member
0 Kudos

Hi,

No the User is not Locked as i have checked logining in SDM with the same user.

Still i am facing with the same Exception.

Regards,

Raju

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi VRK,

Change settings in NWDS: Window->Preferences

Under SAP J2EE Engine :

Message Server host: <server_name>

Message Port : 3601/3901.

<Server_name> is the name of the server thatz running WAS.

REF

kOTI REDDY

Former Member
0 Kudos

HI,

The Message server host and Message Port are given properly in SAP J2EE Engine .

I have restarted the server only.

But still giving me the same exception.

can i know what might be the problem is ?

Regards,

Raju

Former Member
0 Kudos

When you configure J2EE engine host and port in webdynpro preference, you have to use the message server port not the sdm port. You can get the message server port from the main page of the webas. On the main page go to system information to get the message port number. Usually it is 4 digits and starts with either 36 or 39.

Hope that helps!

Former Member
0 Kudos

Hi,

The Message server name and Message server port that i have given in J2EE Engine are correct only.

Regards,

Raju