cancel
Showing results for 
Search instead for 
Did you mean: 

Restarting Applications in an automated way - is it possible ?

Former Member
0 Kudos

Hello

In our NetWeaver 2004s Java Portal we have a certain webdynpro application that needs to be restarted from time to time.

The way we do it:

Visual Administrator ---> Server --> Services ---> Deploy ---> radio button "application" ---> select application ---> stop/start

Questions:

1. Can we automate this kind of restarting using a script or command line ? or if this possible using gui only

2. How can we restart the entire portal using command line ?

Can someone maybe post a script or an example of a batch to restart an entire JAVA portal ?

Regards

Adi J.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Ok Thx

I'll try using that...

Adi J.

Former Member
0 Kudos

Hi

Thx for the commands - i'm familiar with them of course.

I thought maybe there is a better way to stop & start the instances other than killing brutally the services.

When you stop a JAVA instance (from MMC) it takes a while for it to clean the processes.

Regards

Adi J.

Former Member
0 Kudos

As far as I know if you stop the service that way it will follow the regular shutdown routine.

Former Member
0 Kudos

We have users that suffer heavily from expired JCO SSO Ticket using that application.

We've implemented some fixes like making the ticket expiration time equal to the session time but it still wont work.

We have an open case about it.

It looks as if the only way to fix it is upgrading to SP16 or later so we can use Assetion ticket (according to note 1166904).

Until we do that we have to restart the application when it happens.

So is there a way ?

Adi J.

Former Member
0 Kudos

You can stop & start SAP services using the following command line

To start a service, type:

net start <service>

To stop a service, type:

net stop <service>

To pause a service, type:

net pause <service>

To resume a service, type:

net continue <service>

Former Member
0 Kudos

Why do you need to restart the application/portal on regular basis?