cancel
Showing results for 
Search instead for 
Did you mean: 

Uninstalling only Java stack

Former Member
0 Kudos

Hi,

We have ABAP + Java stack on our PRD system. Can we uninstall only Java stack without disturbing the ABAP stack ?

Please suggest the procedure to perform this and also the post steps to be done if any.

Windows 2003 IA64+ ECC6.0 + Oracle 10.2

Accepted Solutions (0)

Answers (8)

Answers (8)

thunder_feng
Active Participant
0 Kudos

Hi

In principle, waht the UNINSTALL does is:

1. delete the relevant data from DB

2. delete the relevant files/folders from File System.

So if you do want to remove the Java add-in instance, you can do this manually even it is NOT recommended, main steps:

1. delete the Java DB schema, should be SAPDB<SID>

2. adjust the profiles to remove all the java stack relevant settings.

3. remove the j2ee and SDM folder from file system.

Probaly you want to uninstall the Java stack as you don't need and, by uninstallig it, the abap performance might be better,

but to achieve this, you just need to set the rdisp/j2ee_start to 0, or just comment out all the parameters used by the java stack

in the instance profile, and this applies to all the platform, not matter Windows or Unix.

Here is an example of the profile parameters in <SID>_DVEBMGSXX_<hostname>

exe/j2ee = $(DIR_INSTANCE)/j2ee/os_libs/jcontrol

rdisp/j2ee_start_control = 1

rdisp/j2ee_start = 1

rdisp/j2ee_timeout = 600

rdisp/frfc_fallback = on

icm/HTTP/j2ee_0 = PREFIX=/,HOST=localhost,CONN=0-500,PORT=50000

jstartup/trimming_properties = off

jstartup/protocol = on

exe/jlaunch = $(DIR_INSTANCE)/j2ee/os_libs/jlaunch

jstartup/vm/home = /usr/java14_64

INSTANCE_PROPERTIES = $(DIR_INSTANCE)/j2ee/cluster/instance.properties

SDM_PROPERTIES = $(DIR_INSTANCE)/SDM/program/config/sdm_jstartup.properties

jstartup/instance_properties = $(INSTANCE_PROPERTIES);$(SDM_PROPERTIES)

ms/server_port_0 = PROT=HTTP, PORT=8100

Regards,

Thunder

Former Member
0 Kudos

Hello all,

In regards to the platform issue, I couldn't see anything that would be "UNIX only" in the note, so this procedure SHOULD work on a Windows machine as well. If you have a sandbox or similar (or just and old server standing around) then just try the procedure on that system.

It should work without any major changes.

BR

Nicklas

Former Member
0 Kudos

Hi,

I am a little bewildered by the other replies to your post. Uninstalling the Java part of an dual-stack ABAP/Java system is a supported and documented procedure. Detailed instructions are in SAP note 1229586. I have done this several times without the slightest problem.

Regards,

Mark

Former Member
0 Kudos

Thanks Mark.

Is it applicable to all OS platforms or it is for UNIX only

Former Member
0 Kudos

Mark,

I have the same situation. Need to remove/uninstall Java from dual stack system. Windows+MSSQL. All posts and the note you referred is only for Unix based systems. Please let us know if you have performed this on Windows as well.

Thanks!

Saravanan.

Former Member
0 Kudos

Just looking for an update to this thread. We are looking to split out a dual stack system by removing the Java instance and was wondering if anybody has successfully done this by first removing and then installing Java on to a second system.

Thanks!

J. Haynes

Former Member
0 Kudos

Hi James Bond,

Don't do such things,because it is impossible to do. If you want to delete take the database backup and do the homogeneous system copy and apply for the License in service market place.

Best Regards,

KK

Former Member
0 Kudos

Just want to echo on the fact, it dual stack build hence it's possible to separate java alone to uninstall.

so if you are not in need, do rdisp/jstart to 0.

It could have been possible, if the java stack was installed as 'ad-on java instance' rather dual stack build.

-sekhar

Former Member
0 Kudos

Hi James Bond,

There is no standard established way to uninstall Java stack.

Probably you can do a system copy of the ABAP stack and delete the Java schema in the database.

Well....On the Production server....I do not recomend this as this is not a standard procedure.

Just switch off the Java stack using the profile the profile parameter as given above. Java stack will not take much of your harddisk space.So its better to leave it as it is. There is no harm in having a java stack that too when it is switched off wherein it will not consume any of your hardware resources

Cheers..........,

Raghu

paul_power
Active Contributor
0 Kudos

Hi,

As above, you cannot go from dual stack to single abap stack.

Also please note the following if you are using ehpi and dont want it to detect your Java stack:

There're 2 steps of detection of JAVA stack.

1.

To consider that the J2EE stack is removed, the parameter

rdisp/j2ee_start

must be set to 0 in the instance profile. Make sure

this parameter is set properly and restart the instance for it to take effect.

2.

The SL controller is using the directory structure to detect the J2EE

engine

Can you please rename the directory /usr/sap/SID/DVEBMGSXX/j2ee ro

something else and start the upgrade all over again? The result of

the detection can be found in "/usr/sap/SID/upg/sdt/data/SDTRequestList

.xml" after you press 'next'.

Regards,

Paul

Former Member
0 Kudos

Hi,

As per my knowledge if you have installed it as a dual stack system with single SID for SAP(ABAP & JAVA) and database then it is not possible to uninstall it. If you feel that you dont need JAVA stack for the system, just stop the JAVA stack.

Thanks & Regards,

Sharath