cancel
Showing results for 
Search instead for 
Did you mean: 

How to undeploy the dictionary projects

Former Member
0 Kudos

Hai ,

I am using sdm to deploy and undeploy the ears, sda s.

i tried to undeploy the ejb projects using remotegui, its fine,

but while i tried to undeploy the dictionary projects(.sda) is not done .

please help me that undeploying dictionary projects.

regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Please find below the steps to undeploy thro command line :

Shut down the sdm server

1)SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"

2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"

3) sdm undeploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "compname=c:\test.sda"

4)sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"

5)start the sdm server again

SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"

Hope this helps. do not forget to reward points

regards

rajeshkr

Former Member
0 Kudos

Hai Rajesh,

Thanks For ur Great help.

regards,

Naga Raju

Former Member
0 Kudos

hi rajesh

i tried ur suggestion for undeploying .sda files but i dont know the correct path in cmd(C:\>). please help

Answers (1)

Answers (1)

former_member708921
Discoverer
0 Kudos

Dear Colleagues,

Undeployment of database component is not enabled in the RemoteGui.

The reason behind that decision is to not make possible critical components (like system data bases) to be easily deleted.

Fortunately from version 700 there is command line SDM command which makes undeployment of database components possible.

The command sequence (Linux) is the following one:

1. Navigate to the <SDM>/program directory

2. ./StopServer.sh

3. ./sdm.sh jstartup mode=standalone

4. ./sdm.sh undeploy compname=<...> compvendor=<...> undeploydb=yes

5. ./sdm.sh jstartup mode=integrated

6. ./StartServer.sh

Please notice the step 4. There is parameter undeploydb=yes which

actually allows you to undeploy db components.

All those commands are described in the official SDM documentation which is provided with every SDM installation: <SDM>/program/doc/SDMCommandLineDoc_en_final.htm and <SDM>/program/doc/SDMCommandLineDoc_en_final.pdf.

Regards Silviya