SAP Knowledge Base Article - Preview

2452671 - Cannot remove AS Java instance from Additional Application Server (AAS)


The error below is displayed while running sapinst to remove an AS Java instance from an Additional Application Server (AAS):


The traces below are written in the sapinst_dev.log file. 

WARNING 2017-03-29 15:49:09.435 (root/sapinst) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/modlib/iaxxbjsmod.cpp:83] id=modlib.jslib.childAppReturn

Execution of the command "/tmp/sapinst_exe.14835.1490819000/jre/bin/java -classpath /usr/sap/<SID>/<instance>/j2ee/configtool/lib/ -Xmx256m /usr/sap/<SID>/<instance>/j2ee/configtool/lib /tmp/sapinst_instdir/DSS/KeepDB/ORA/RemoveJavaASs/" finished with return code 1. Output:
Error: Could not find or load main class

TRACE 2017-03-29 15:49:09.436 (root/sapinst) [/bas/749_REL/bc_749_REL/src/ins/SAPINST/impl/src/guiengine/CGuiEngineImp.cpp:524] CGuiEngineImp::showMessageBox()

<html> <head> </head> <body> Cannot remove the AS Java instance ID<NNNN> for instance D<NN> (SID) in the database. For details see the output of log file /tmp/sapinst_instdir/DSS/KeepDB/ORA/RemoveJavaASs/configtool.0.log. <p> SOLUTION: </p> <ol> <li> Make sure that the database is up and running. </li> <li> Start the GUI Config Tool, choose <i>Secure Store -&gt; Connection Pools</i> , and make sure that the credentials (user, password) are correct. Check if the instance ID is correct and the instance exists in the database. </li> <li> Choose <em>Ok</em> to retry deleting the instance. </li> <li> Choose <em>Cancel</em> to skip deleting the instance in the database.<br>If you skip deleting the instance in the database, delete the instance manually using the GUI Config Tool. </li> </ol> </body></html>



    • Software Provisioning Manager (SWPM) release independent.
    • OS environment independent.
    • SAP NetWeaver release independent.
    • SAP Solution Manager 7.1 and 7.2.


          SAP NetWeaver all versions ; SAP Solution Manager 7.1 ; SAP Solution Manager 7.2


          Dual Stack Split, post-implementation, post split, Keep Database, KeepDB, Move Database, MoveDB, RemoveJavaASs, Solution Manager 7.2, Dual-Stack, Child process returned 1, class not found , KBA , BC-INS-DSS , Dual-Stack Split Tool , BC-INS , Installation Tools (SAP Note 1669327) , Problem

          About this page

          This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

          Search for additional results

          Visit SAP Support Portal's SAP Notes and KBA Search.