cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA Stack uninstall

Former Member
0 Kudos

Hi,

I Want to uninstall JAVA from ABAP stack.

can anybody give me the detail steps for this?

it is urgent.

plz.............

Rgds,

vinnu

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

Below is the steps u can run and uninstall JAVA Stack completely

Make sure your Database is down for this step,

Log on as user <sid>adm.

delete the following directories on Target DB server:

cd /usr/sap/<SAPSID>/DVEBMGS<XX>

SDM and j2ee

cd /usr/sap/<SAPSID>/

SCS<xx>

cd /sapmnt/<SAPSID>/

exeU (If it exists.)

Note: - The directory exeU is only present in versions below 640.

Delete the following directories on each of the application server:

cd /usr/sap/<SAPSID>/D<xx>

j2ee

Delete the JAVA SCS profile.

/sapmnt/SID/profile/

<SID>_SCSxx_hostname

START_SCSxx_hostname

Drop your j2ee schema

Log on as user ora<Target_sid>.

Start sqlplus and connect to the database.

sqlplus /nolog

>>connect / as sysdba

>>startup

Note:- when sqlplus /nolog is executed we get the error connected to an idle instance. This means the database

is not connected. So at that time we need to start the database using startup command

Enter the following command to delete the database objects of the database schema:

>>drop user SAP<Source_System_SID>DB cascade;

Enter the following command to get the name of schema of the associated data files in the system

>>select file_name from dba_data_files where tablespace_name = 'PSAP<Source_System_SID>DB';

Note: the datafiles files for PSAP<Source_System_SID>DB listed here needs to be deleted as shown below.

Now drop the table spaces as they are empty

Enter the following command to delete the tablespace of the database schema:

>>drop tablespace PSAP<Source_System_SID>DB including contents;

Exit sqlplus:

>>shutdown immediate

>>exit

Delete the data files of tablespace PSAP<Source_SID>DB you got earlier from executing

select file_name from dba_data_files where tablespace_name = 'PSAP<Source_System_SID>DB'; in sqlplus.

Now your java instance is completely deleted.

Br

VSR

Former Member
0 Kudos

Vinay,

For uninstallation u should use installation master DVD. Never select the option uninstall database. Just go with JAVA AS.

For any help let me know.

regards,

Anandh

Former Member
0 Kudos

Hi Vinay,

For un install JAVA stack from ABAP.

goto
usr\sap\<SID>\sys\exe --> you will get an <b>uninstall.exe</b> --> click on uninstall and select custom radio button --> select java instace number to uninstall.

Regards,

Suraj

Former Member
0 Kudos

Hi,

During the normal uninstallation activity you get the option to choose if AS ABAP or AS JAVA or both. They are the check boxes. You need to choose AS JAVA and don't uninstall the database instance, database software, and also the corresponding users.

That's should be ok.

Also take the backup at OS level so that in case of any issues you can easily revert back to original.

Regards and reward with good points.

Former Member
0 Kudos

Hi

For uninstalling you need to use the installation master DVD and start the SAP installation from that DVD. In that you will be able to find the Uninstall option in Additional Tasks.

Select that option and then according select the instance which u want to uninstall. But make sure that you select the other options carefully like uninstalling the db software and database files. That needs to be done carefully.

Also if u want you can shutdown only the JAVA instance instead of uninstalling if that is feasible to you.

Regards

Sumit Jain

[reward with points if answer is useful]