Skip to Content
author's profile photo Former Member
Former Member

How to connect to the j2ee engine and deploy EAR onto the server from NWDS?

I can connect to the remote "J2EE Engine Visual Administrator" by starting "go.bat". The host name is MYSAP, the port number is 50104.

Now under NWDS I select Window -> Preferences -> SAP J2EE Engine and type the host name MYSAP to the field "Message Server Host" and the port number 50104 to the field "Message Server Port" and click apply/ok.

Then I right click my application and select "Deploy New Archives and Run" in the context menu. But after a while the deployment failed. It says:

27.09.2007 09:32:59 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:

[001]Deployment aborted

Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !

Can someone tell why how to overcome it?

Message was edited by:

Thomas Roland

Add comment
10|10000 characters needed characters exceeded

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2007 at 08:22 AM

    Hi Roland,

    are you sure you have given the message server port in the "Preferences" of NWDS?

    You can get an overview of important system parameters by using the "System Information" link from the J2EE Engine Start Page (usually reachable via http://<host>:50000/index.html)

    Regards,

    Torben

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2007 at 08:45 AM

    Hi Roland,

    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !

    This is the root cause of your problem. sdm is not configured properly. As you can logon to J2EE Engine with admin rights, you can fix it easily.

    \usr\sap\<SID>\<instance_number>\SDM\program\config

    pl follow this link

    http://help.sap.com/saphelp_nw04s/helpdata/en/63/2c4f65a54c4a4db1a3600397ae617f/frameset.htm

    Test the connection in J2EE and you will be able to deploy it without any error.

    cheers

    krish

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2007 at 10:25 AM

    Hi Thomas,

    The message server port number is usally 36xx if its NW04 and its 39xx if its NW04S. You can check it from the SystemInfo url (http://MYSAP:50104/sap/monitoring/SystemInfo in your case). Give this right and you should be able to "see" SDM. You can check that from J2EE view in the Studio.

    Lemme know if that helps.

    Regards,

    Rajit

    Message was edited by:

    Rajit Srinivas

    Message was edited by:

    Rajit Srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2007 at 01:05 PM

    Thanks to all above. Now I find out the port number I typed is wrong. It should be 3900. But now I have another problem that I can't login to the SDM. Where can I reset the passwort for SDM without the old password?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi

      For changing the SDM password, the mode of SDM has to be set to standalone mode.

      1. Stop the SDM Server first using the SAP MMC

      2. Open the command line and Go to the SDM\program directory.

      3. enter following lines in command line

      a.enter SDM directory as: cd C:\usr\sap\SID\JCxx\SDM\program

      b. Execute the following

      sdm jstartup "sdmhome=C:\usr\sap\SID\JCxx\SDM\program" "mode=standalone"

      c.sdm changepassword "sdmhome= C:\usr\sap\SID\JCxx\SDM\program" "newpasword= XXXXX"

      4.Also put SDM back to integrated mode

      sdm jstartup "sdmhome=C:\usr\sap\J2E\JC00\SDM\program" "mode=integrated"

      Thanks and Regards,

      Arun

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2007 at 05:28 AM

    Hi Thomas,

    if in visual administrator u r using port as 50104, in ur NWDS give message server port as 50100. It will work.

    regards

    Sumit

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2007 at 07:07 AM

    I solved the problem by seeing the link:

    Add comment
    10|10000 characters needed characters exceeded