cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA NetWeaver 7.3 offline undeployment

0 Kudos

Hello Community,

is it possible to make a offline undeployment in Java NetWeaver 7.3?

My AS isn't starting anymore, due a corrupted application. "Safe Mode" is also not working, so I need a offline undeployment.

I remember in older versions, it was possible with SDM with telnet, but 7.3 has no SDM, right?

Best regards

Bastian

Accepted Solutions (1)

Accepted Solutions (1)

karthikeyan_natarajan4
Active Contributor
0 Kudos
0 Kudos

thanks for the link, but this will only work when the Instance is up!

My instance isn't starting due an error in an application

Former Member
0 Kudos

Hi,

You can used telnet command to undeploy any application that you want undeploy. Another thing is that if you see system is not coming on-line what is the error you see in the default trace and std_server.out.

Use jsmon pf= instance profile

and see what is stopping.

To undeploy:

But you need to be sure about the dependency.

The telnet port is typically 50008. You can get the telnet port from the SAPMMC access points list.

Log in as the SAP NetWeaver administrator and run the following commands:

undeploy vendor=sap.com name=application name

or

UNDEPLOY name=name_of_service on_undeploy_error=stop

or

Use the J2EE telnet service

. Telnet to the J2EE

. Jump to a server node

. Add deploy

. remove_app name_of_app

Thanks

Rishi Abrol

0 Kudos

Hi Rishi,

thanks, i already tried this. Connection to the telnet host is not working properly.

Telnet opens the connection and closes it automaticaly after some seconds or by hitting a key.

It seems that the SDM Service is not working, because the instance is not starting correctly.

I also tried this in safe mode.

best regards

Bastian

Former Member
0 Kudos

Hi,

SDM service is no more used.

Now try to login in config tool

Change it to Expert mode and then you will see filter as shown below.

You can set stop to that service that you think is causing issue.

Once done restart the postal and undeploy it.

Thanks

Rishi Abrol

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bastian,

Hope you are doing good.

Unfortunately no such option is there. Only offline "deployment" is possible.

For undeployment, you will need to fix the telnet first.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

I forgot to add....offline deployment can be done via the batchdeployer/extramile tool.

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Check this article

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

Regards

RB

0 Kudos

Hi Benjamin,

So now the problem is with telnet .So please check this wiki

http://wiki.scn.sap.com/wiki/display/ASJAVA/How+to+troubleshoot+J2EE+shell+console+administrator+(te...

Btw ..what is that application that is corrupted. Is it SAP or custom.

Is it a core service/application. Why should it prevent starting of the J2EE server

Regards,

Manikandan

0 Kudos

The corrupted application was the javaagent. It seems that some files where missing.

I removed the parameter for the javaagent in the configtool, after that, the applicationserver started.

Then I redeployed the agent.