cancel
Showing results for 
Search instead for 
Did you mean: 

problem when deploying through SDM

Former Member
0 Kudos

HI

when i am trying to deploy NWDI patch it is giving me error like

'cannot open the connection on host <host name> and port 50004'

help me solving this issue.

Thanks in Advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

anja_engelhardt2
Active Contributor
0 Kudos

Hi Santosh,

do you see any more detailed error message? Maybe in SDM log files?

Anja

Former Member
0 Kudos

Hi Anja Kloetzer

here is the log file

at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)

at java.lang.Thread.run(Thread.java:534)

Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establis

h connection with any of the available instances:

BGLR-CRM01:50004 Reason: Cannot open connection on host: 10.30.3.68 and port: 50

004

at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(De

stination.java:53)

at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destinati

on.java:33)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialCont

ext(InitialContextFactoryImpl.java:340)

... 31 more

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDepl

oyerImpl.checkLoginCredentials.DMEXC)

Apr 21, 2009 10:32:49... Info: Starting to save the repository

Apr 21, 2009 10:32:49... Info: Finished saving the repository

Apr 21, 2009 10:32:50... Info: Starting: Initial deployment: Selected software c

omponent 'DI_CMS'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.5.0.20051116154012''/'1

' will be deployed.

Apr 21, 2009 10:32:50... Error: Aborted: software component 'DI_CMS'/'sap.com'/'

MAIN_APL70VAL_C'/'1000.7.00.5.0.20051116154012''/'1':

Failed deployment of SDAs:

development component 'tc/SL/CMS/cvers/proxy'/'sap.com'/'MAIN_APL70VAL_C'/'64436

1'/'1' : aborted

Please, look at error logs above for more information!

Apr 21, 2009 10:32:50... Info: Starting to save the repository

Apr 21, 2009 10:32:51... Info: Finished saving the repository

Apr 21, 2009 10:32:51... Info: J2EE Engine is in same state (online/offline) as

it has been before this deployment process.

Apr 21, 2009 10:34:17... Info: Request for Logoff accepted

Apr 21, 2009 10:34:17... Info: Close client connection to BGLR-CRM01/10.30.3.68,

remote port 34245

anja_engelhardt2
Active Contributor
0 Kudos

You may try to ping the host and port:

ping 10.30.3.68 50004 for windows for example

Former Member
0 Kudos

server is pinging but when we give port number also it is giving 'Bad parameter =50004'

anja_engelhardt2
Active Contributor
0 Kudos

You need to ping the port at the server - as long as this is not possible SDM will also fail. Please be aware - on other systems than windows the ping command is different. I think on unix a -p is necessary.

If this ping fails you need to check if the port is opened and if it is the correct one.

Cheers,

Anja

Former Member
0 Kudos

Hello Santosh

try to refer to the following Notes

Note 783965 - IDE cannot connect to SDM in a different domain

Note 997810 - Troubleshooting Common SDM 6.40/04s Issues

Note 756084 - Common met SDM 6.40/7.0 problems

However, as per your exception strings below, following two Notes seem to be nearby

'Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establis

h connection with any of the available instances:

BGLR-CRM01:50004 Reason: Cannot open connection on host: 10.30.3.68 and port: 50

004'

Also, in the last line of the log:

'Apr 21, 2009 10:34:17... Info: Close client connection to BGLR-CRM01/10.30.3.68,

remote port 34245'

Note 1313644 - SDM deployment fails with "Cannot connect to Host:" error

Note 1134222 - Cannot access AS Java via P4 connection

thanks

Bhudev

former_member214355
Contributor
0 Kudos

Hello Santosh

I assume you are recieving an error like;

ERROR: Cannot connect to Host: [HOSTNAME] with user name: [USERID].

This could be bacause of two things :

1) The USERID user's password, provided in the Secure Store is not

the same as the password used for connect to the J2EE engine with

the USERID user.

Maybe you know that the passwords are case sensitive.

Are you able to connect to the engine (no matter where - Visual

Administrator, telnet, system info application, etc) with user

USERID ?

If you are able to, then please exactly use the same password (case

sensitive) in the Secure Store.

2) If you are unable to login to the engine with USERID that could

mean either the user is removed (does not exist) OR it is locked.

- If the user does not exist, then add some other user with

administrative rights instead of USERID in the Secure Store

and also provide the other user's password.

- If the user exists then either the used password is wrong (and you

could change it) or the user is locked.

If the user is locked - the easiest way to unlock is to login to

the R/3 system with other administrative user, use transaction :

SU01 and unlock USERID account. Then ensure that you know its

password.

Kindly check if the SAP note : 701654 helps you solve the issue. If deals

with a similar issue you are having.

thanks

Kenny

Former Member
0 Kudos

Hi Kenny Tully

i had gone through the note

i am getting error'cannot open connection on host <host> and port 50004 '

not with user

anja_engelhardt2
Active Contributor
0 Kudos

Hi Santosh,

check if the host, port and connection details are correct in secure store in configtool. This is the data SDM uses to connect to the engine. Also check if the engine is online - if the server goes down you will also receive such an error.

Cheers,

Anja

Former Member
0 Kudos

Hi Anja Kloetzer

Thankyou for your reply

port and host details are correct in securestore

java engine is up and running