cancel
Showing results for 
Search instead for 
Did you mean: 

automatic restart of JAVA instance

former_member190251
Participant
0 Kudos

Hello All,

Could you please share the steps of commands for Automatic restart of JAVA instance.

We are using (Oracle + JAVA)

Regards

Sub

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190251
Participant
0 Kudos

Hello All,

Thanks for your suggestion.

I have to do it for windows system

Current configuration

SAP ERP 6.0

Windows 2008

Oracle 11.2.0.4

Regards

sub

Sriram2009
Active Contributor
0 Kudos

Hi Subbu.

Refer the SCN thread with same requirement -

BR

SS

Former Member
0 Kudos

Hi Subbu,

Create two batch files one for startup and the other to stop

Something like...

C:\usr\sap\XXX\SYS\exe\startsap.exe name=XXX nr=00 SAPDIAHOST=xxxx.xx.xxxx

Then update it in gpedit. That’s it

Regards,
Prithviraj.

former_member230159
Contributor
0 Kudos

In a dual-stack (ABAP + Java) system, when you start and stop ABAP instances, the corresponding Java instances start and stop automatically, by default. To deactivate the automatic start of the Java instances, set the instance profile parameter rdisp/j2ee_start to 0 in transaction RZ10. You must then restart the Java instance separate from the ABAP instance. However, when you stop an ABAP instance, the associated Java instance always stops, too.

please see Restarting the Java Stack of an SAP NetWeaver Dual-Stack System - SAP NetWeaver Library: Function-Or...

best regards,

Manjunath

Former Member
0 Kudos

Hi.

If you are planning to do with crontab, create a shell script which will contain following statement

su - <sid>adm -c "stopsap j2ee"

su - <sid>adm -c "startsap j2ee"


Regards.

yakcinar
Active Contributor
0 Kudos

Hello Subbu,

You can use "Autostart=1" profile parameter.

When OS restarts SAP starts automatically.

Regards,

Yuksel AKCINAR