cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy an ear remotely.

Former Member
0 Kudos

Hi all,

I have an ear in my system.I want to deploy it remotely in the webas 6.40(server). I can able to deploy the ear using sdm batch from the same machine(server). But i want to deploy it from my system into server. Now actually i want know how NWDS can able to deploy remotely.so that we can use same mechanism to deploy.pls help me out to resolve this issue.

Regards,

Kiran.

Accepted Solutions (0)

Answers (3)

Answers (3)

elena_yaneva
Explorer
0 Kudos

Hello Kiran,

you can deploy via command line only locally. If you want to deploy remotely in SDM, you can use the remote GUI:

The SDM Server and

the remote GUI can run on different hosts, however they must be connected by a network

connection. Use the command remotegui to start the remote GUI:

sdm remotegui

Since there is no current separate installation for the GUI, you must perform a complete SDM

installation even if you only want to start the remote GUI on the host.

Best Regards,

Elena

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Bhogi,

Go to NWDS Menu -> Windows -> Preferences -> SAP J2EE Engine

Select first radio button

Give your remote server name and Message server port(ask administrator of remote server)

click on Apply and you can deploy your ear file from NWDS.

Regards, Suresh KB

Former Member
0 Kudos

Hi

As Suresh mentioned you can deploy this way.

Aditionally Goto to the appropiate perspective eg. J2EE right click the .ear and choose Deploy to J2EE engine.

Actually there is a plugin(.jar) sapj2eeclient.jar file which does the remote deployment from NWDS.

No need to use Deploy tool.

Hope this helps

Ananda

Former Member
0 Kudos

Hi,

Actually i need to deploy an ear with out using NWDS remotely.I have used some dos commands to deploy ear locally(sdm deploy ...). Now i need to know about such commands or an api to deploy the same ear remotely.

Regards,

Kiran.

Former Member
0 Kudos

Hi,

try this:

---

rem define path to your SDM

set SDMHOME=C:\usr\sap\P35\JC00\SDM

java -cp D:\Java\j2sdk\bin;.;%SDMHOME%\program\bin\SDM.jar;%SDMHOME%\program\lib\SDMcommon.jar DeploySDA sdm_home:%SDMHOME% sdm_port:50018 sdm_host:<REMOTE_HOST_HERE> sdm_passwd:<PASSWORD_HERE> file:%*

---

save it as <i>mySdm.cmd</i>

and execute '<i>mySdm.cmd my.ear</i>'.

Former Member
0 Kudos