cancel
Showing results for 
Search instead for 
Did you mean: 

How to undeploy .sca file while AS java is down?

Former Member
0 Kudos

Dear Experts,

I deployed Nakisa .SCA file on AS java & after that AS java is down and unable to start again.

It hangs at central instance with yellow status for message service (GW & enq are green).

In developer trance it's complaining about unregistered Nakisa java objects only.

So now I want to undeploy Nakisa sca file but the problem is console & NWDS are unable to connect because server is down.

Can somebody tell me how can I undeploy sca file while AS java is down?

NW7.3 SP7 is the version I am working on.

You help will be highly appreciated!!

Thanks,

Hardeep 

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks You everyone for your help on this.

The root cause of the issue is:

Vendor team for SAP upgrade project had updated the SAP management console without letting us know. Which caused some discrepancy on netweaver AS java and stopped message server.

Since I was not aware about this change so I was doubting on Nakisa file which was recently deployed.

When I was trying to start the JAVA using SAP MMC it was showing me message server in yellow status.

Now the issue is, if I start CI & app instance separately, it's working fine but message server in yellow status.

If I start whole system (CI & app instance) together, SAP MMC reads message server as yellow status and not starting app instance (if I start manually, it works regardless of message server status).

I used sap note:

1624464 - SAP MMC shows Message Server in yellow and with status "Running but not responding"

Still same issue.

Do you have anything to suggest on this?

Thanks,

Hardeep

Former Member
0 Kudos

Hello Hardeep

Best option in such situations is to restore your system to the last stable state.

Regards,

Tapan

Former Member
0 Kudos

Thank you everyone for your response!

All these methods you guys provided works only if AS JAVA is up and running.

My question is:

Is there a way to undeploy sca file while AS java is down ( but DB is running)??

Thanks,

Hardeep

Sriram2009
Active Contributor
0 Kudos

Hi Hardeep

I think its not possible to do the deploy & undeploy the Java components without java stack being up & running. In case you want to change any parameters ,you can do that by using offline tool "configtool"

Could you paste / attach the dispatcher & server0 log.

BR

SS

former_member188883
Active Contributor
0 Kudos

Hi Hardeep,

I could see 2 options for you

Option 1:

Check if this works

1)Goto  the SDM folder>program>open the CMD propmt here sdm.batjstartup"mode=standalone"

2)startserver.bat

3)remotegui.bat

4)undeploy the sca using sdm undeploy

5)stopserver.bat

6)sdm.batjstartup "mode=integrated".

7)start the j2ee

Option 2:

Restore from backup taken before Nakisa patch application.

Hope this helps.

Regards,

Deepak Kori

divyanshu_srivastava3
Active Contributor
0 Kudos

After step 5 perform these steps.

sdm jstartup mode=standalone

sdm systemcomponentstate mode=sync

sdm jstartup mode=integrated


Divyanshu

former_member188883
Active Contributor
0 Kudos

Hi Hardeep,

For NW 7.3 a new option is available using ANT scripts.

Refer to SAP help file below

Using Ant Scripts to Work with SDAs - Developing Java EE 5 Applications - SAP Library

Refer to section undeploying SCAs.

The URL specified in above link is also useful but suggestion here is not to use Telnet option as it may create inconsistencies if not used correctly.

Preferred method is to use SDM undeploy command.

Hope this helps.

Regards,

Deepak Kori

Sriram2009
Active Contributor
0 Kudos

Hi Hardeep

Could you refer the SCN link

http://scn.sap.com/docs/DOC-30858

BR

SS

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Hardeep,

Can you upload your and dispatcher and server0 logs ?

Regards,

Divyanshu