cancel
Showing results for 
Search instead for 
Did you mean: 

Cant upgrade KMC SP16

Former Member
0 Kudos

Hi gurus,

I installed EP SP16 from SP10 but when run the final step(KMC) there's no upgrade, it stays in SP10 also cant see the version info for this _->Support ->version.

I move the KMC folder to SP16 installer folder but when run it only asked for de KMC folder and delays only one minute and display the message "Installation complete".

Note: This are the steps y followed: first install J2EE engine then EP platform and finally KMC.

Im missing something so KMC installation can be done?

Thanks for your help!!

Accepted Solutions (1)

Accepted Solutions (1)

brad_landry2
Active Contributor
0 Kudos

Hi Hector,

Did you stop and restart J2EE after the WAS update and the Portal update to SP16?

In support --> version, are the j2ee and portal up to sp16?

I got a similar error in a nw04 update to sp16.

I unzipped some wrong files for the km update and it was not able to install.

What os and database are you using?

I suggest to double check if you have the right files for you os and database.

Don't unzip all files in the same folder for WAS, EP, and KMC update.

Ex :

If you use Windows 2003 and oracle, you have to unzip only these files.

sapcar -xvf SAPINST16_0-10002786.SAR

sapcar -xvf EP6CTRL16_0-10002786.SAR

sapcar -xvf EP6KMC16_0-10002972.SAR

sapcar -xvf EP6TOOLS16_0-20000394.SAR

Verify that sdm is up and running.

Good luck et bonne chance.

Brad

Former Member
0 Kudos

Hi Brad,

I allready check the unziped files form my os(Win2003/oracle) and are the same you mentioned, also stop and restart J2EE after updates.

In support ->version only appears J2EE and portal up to SP16 but KMC is missing.

The unziped files are in diferent folders, each one has its own and what I do is ...replace the files of KMC to the SAP installer folder under KMC folder, I also tried giving the route of the original folders but the result is the same in all cases.

This are the steps of the installer:

install the update

stops j2ee engine

switch engine mode

deploy offline

deploy via sdm

start j2ee engine

deploy ear files

deploy via sdm

deploy update files

deploy via sdm

deploy update files (post process)

switch engine mode

stop engine

start engine

install the update (post process)

Thanks again!

Regards,

Hector.

brad_landry2
Active Contributor
0 Kudos

Hi Hector,

You can verify the kmc version in :

http://<portalserver>:<portalport>;

in system information.

Sometimes the kmc version does not show up in version --> support, already had that problem, when it was a fresh install.

After you install a sp it should show up.

Did you apply note 795142?

You can have a hint of the problem if you look in the log of the sapinst_instdir in C:\program files.

It would help to put the end of the last log here.

Brad

Former Member
0 Kudos

Hi Brad,

I verify the version in http://<portalserver>:<portalport>; and it shows that KMC is in SP10 so i unziped all the files again and now send this message:

SAPinst is getting started.

Please be patient ...

guiengine: login in process.

ERROR 2006-08-02 10:28:41 [iaxxejsbas.cpp:170]

EJS_ErrorReporter

FJS-00003 TypeError: fmgr.getNode(jarsFolder) has no properties (in script InstallationScript_2, line 11800: ???)

ERROR 2006-08-02 10:28:41 [iaxxejsbas.cpp:170]

EJS_ErrorReporter

FJS-00003 TypeError: fmgr.getNode(jarsFolder) has no properties (in script InstallationScript_2, line 11800: ???)

Current script:

===============

var fmgr = new FileMgt();

var instanceTable = new Table("t_j2eeInstance");

var instanceDesc = gui.getInputValue("id_j2eeSystemName");

var sdmHome = instanceTable.select("SDM_HOME", "WHERE DISPLAYNAME = '" + instanceDesc + "'");

var pflDir = instanceTable.select("PROFILEDIR", "WHERE DISPLAYNAME = '" + instanceDesc + "'");

var sid = instanceTable.select("SID", "WHERE DISPLAYNAME = '" + instanceDesc + "'")

var name = instanceTable.select("NAME", "WHERE DISPLAYNAME = '" + instanceDesc + "'")

context.set("SDM_HOME" ,sdmHome);

context.set("SID" ,sid);

context.set("INSTANCE_NAME" ,name);

var j2eePath = fmgr.convertToOSPath(sdmHome + "/../j2ee");

var webasopt = new Array();

var webas = WebAS.fromProfileDirectory (pflDir, webasopt );

context.set("WebASDump" , webas.dump());

installer.writeTrace ("SDM_HOME: " + sdmHome + "\n SID: " + sid + "\n INSTANCE_NAME: " + name)

// start - handle pre requirement j2ee and portal version

var epFunc = new EpHelpers();

var chkStr = "";

var iniVersion=context.get("iniJ2EEVersion");

var iniPatch=context.get("iniJ2EEPatchLevel");

var iniPortalVersion=context.get("iniPortalVersion");

var iniSPNumber=context.get("iniJ2EESPNumber");

var match_j2ee_requirements = true;

//set JAVA_HOME from selected J2EE Engine

//read the value from the file /usr/sap/J2E/SYS/profile/J2E_JC00_<hostname>, property name is jstartup/vm/home

var fileName = epFunc.removeDotsFromPath(pflDir + "/" + sid + "_" + name + "_" + webas.getCI().getHostName());

installer.writeTrace("read property name jstartup/vm/home from file " + fileName);

var javaHome = webas.getCI().getJavaHome();

installer.writeTrace("jstartup/vm/home = " + javaHome);

if ( javaHome != "" && javaHome != undefined){

if ((javaHome.charAt(javaHome.length-1) == "/")

|| (javaHome.charAt(javaHome.length-1) == "
")){

javaHome = javaHome.substr(0, javaHome.length-1);

}

var java = javaHome + "/bin/java";

if (installer.onWindows()) java += ".exe";

if (!fmgr.isExisting( java, "FILE" )){

var str = "<html><body>SAPinst is looking for the property \"jstartup/vm/home\" in the file " + fileName + ".<br> This property indicates the JDK folder location and is essential for SAPinst functionality.<br>The value found in the file is incorrect.<br>Fix the value of \"jstartup/vm/home\" to JDK 1.4.x and hit next to continue.</body></html>";

gui.setErrorInformation("ep.prt.PatchInstallerMessages", str);

return false;

}

}else{

var str = "<html><body>SAPinst is looking for the property \"jstartup/vm/home\" in the file " + fileName + ".<br>This property indicates the JDK folder location and is essential for SAPinst functionality.<br>The property could not be found.<br>Make sure that the property \"jstartup/vm/home\" appears in the file <file name full path> and that its value is set to JDK 1.4.x. Then hit next to continue.</body></html>";

gui.setErrorInformation("ep.prt.PatchInstallerMessages", str);

return false;

}

context.set("JAVA_HOME", javaHome);

installer.writeTrace("JAVA_HOME Parameter was set to " + javaHome);

//end - set JAVA_HOME from selected J2EE Engine

var j2eeroot = context.get("SDM_HOME") + "/../j2ee";

// var version = epFunc.getJ2eeVersion(j2eeroot);

// var patch = epFunc.getJ2eePatchLevel(j2eeroot);

var SPNumber = epFunc.getJ2eeSPNumber(j2eeroot);

var version_id_file = j2eeroot + "/portal_versions/version_id.txt";

var version_id_file_misc = j2eeroot + "/portal_misc/versions/version_id.txt";

var version_id_file_global = pflDir + "/../global/portal_versions/version_id.txt";

if ( fmgr.isExisting( version_id_file_global, "FILE" ))

{

version_id_file = version_id_file_global;

} else {

if ( fmgr.isExisting( version_id_file_misc, "FILE" )){

version_id_file=version_id_file_misc;

}

}

installer.writeTrace("version_id file path = " + version_id_file);

var portalVersion = epFunc.readPortalVersion(version_id_file);

if ( SPNumber == "" || SPNumber == undefined ){

var str = "<html>Could not detect the J2EE SP number on J2EE system "+sid+". <br>Upgrade the J2EE Engine to SP"+iniSPNumber+" on this system and start installation again.</html>";

gui.setErrorInformation("ep.prt.PatchInstallerMessages", str );

return false;

}

/* if ( version == "" || version == undefined ){

var str = "Could not find J2EE Engine version file. SAPinst stops. Follow the documentation instructions to install the J2EE Engine version and then run SAPinst again."

gui.showMessageBox("ep.prt.PatchInstallerMessages", str);

installer.abortInstallation("ep.prt.PatchInstallerMessages", str);

}

*/

installer.writeTrace("Portal Version found = " + portalVersion + " ; Minimum Portal Version required = " + iniPortalVersion);

//installer.writeTrace("J2EE Version found = " + version + " ; Minimum J2EE Version required = " + iniVersion);

//installer.writeTrace("J2EE Patchlevel found = " + patch + " ; Minimum J2EE Patchlevel required = " + iniPatch);

installer.writeTrace("J2EE SP" + SPNumber + " was found ; Minimum J2EE SP" + iniSPNumber + " is required");

// check j2ee SP Number pre requirement

if(!epFunc.aGraterEqualThenB(SPNumber,iniSPNumber)){

var str = "<html>The selected J2EE Engine instance is not upgraded to the support package version required for this installation. <br>The minimum requirement is J2EE Engine SP"+iniSPNumber+" but detected was SP"+SPNumber+". <br>Upgrade the J2EE Engine and start installation again.</html>";

gui.setErrorInformation("ep.prt.PatchInstallerMessages", str );

return false;

}

/*

// check j2ee version pre requirement

if(!epFunc.aGraterEqualThenB(version,iniVersion)){

var str = "<html>The version of the J2EE Engine detected is lower than required. The minimum requirement is J2EE Engine "iniVersion".<br>Installation stops. Upgrade the J2EE Engine and start installation again.</html>";

gui.setErrorInformation("ep.prt.PatchInstallerMessages", str );

return false;

}

// check j2ee version pre requirement

if(!epFunc.aGraterEqualThenB(patch,iniPatch)){

var str = "SAP JAVA ENGINE CHECK: Engine version or patchlevel too low (min version " + iniVersion + ", min patch level " + iniPatch + ")";

installer.writeTrace( str );

gui.setErrorInformation("ep.prt.notFound", str );

return false;

}

*/

// check portal version pre requirement

if (!epFunc.aGraterEqualThenB(portalVersion,iniPortalVersion)){

var str = "portal version " + portalVersion + " installed on this J2EE instance - Portal version " + iniPortalVersion + " or higher is a prerequisite in order to install this patch";

installer.writeTrace( str );

gui.setErrorInformation("ep.prt.notFound", str);

return false;

}

// end - handle pre requirement j2ee and portal version

var j2eeadm = gui.getInputValue("fi_j2eeAdminUserName");

var j2eepwd = gui.getInputValue("fi_j2eeAdminPassword");

gui.updateMsg( "ep.prt.executeStep", "Checking Web AS system \"" + instanceDesc + "\".");

if (context.get("ShowdialogWithDetails") == "true"){

var ciInstance = webas.getCI();

var instanceNumber = ciInstance.getNumber();

var P4Port = 50000 + Number (instanceNumber * 100) + 4;

var jarsFolder = installer.getCD("TOOLS") + "/JARS";

var java = context.get("JAVA_HOME");

context.set("P4Port" ,P4Port);

installer.writeTrace("J2EE Administrator port = " + P4Port);

var javaParam = "-classpath <JarsFolderInCD>/SAPInst.jar:<J2EEInstanceRoot>/cluster/server0/bin/services/naming/naming.jar:<J2EEInstanceRoot>/cluster/server0/bin/boot/boot.jar:<J2EEInstanceRoot>/admin/lib/admin.jar:<J2EEInstanceRoot>/admin/lib/bytecode.jar:<J2EEInstanceRoot>/admin/lib/com_sap_pj_jmx.jar:<J2EEInstanceRoot>/admin/lib/connector.jar:<J2EEInstanceRoot>/admin/lib/ejb20.jar:<J2EEInstanceRoot>/admin/lib/exception.jar:<J2EEInstanceRoot>/admin/lib/iq-lib.jar:<J2EEInstanceRoot>/admin/lib/jARM.jar:<J2EEInstanceRoot>/admin/lib/jARMSat.jar:<J2EEInstanceRoot>/admin/lib/jaxrpc-api.jar:<J2EEInstanceRoot>/admin/lib/jcert.jar:<J2EEInstanceRoot>/admin/lib/jmonapi.jar:<J2EEInstanceRoot>/admin/lib/jms.jar:<J2EEInstanceRoot>/admin/lib/jnet.jar:<J2EEInstanceRoot>/admin/lib/jsse.jar:<J2EEInstanceRoot>/admin/lib/jta.jar:<J2EEInstanceRoot>/admin/lib/logging.jar:<J2EEInstanceRoot>/admin/lib/logging.perf.jar:<J2EEInstanceRoot>/admin/lib/logviewer.jar:<J2EEInstanceRoot>/admin/lib/monitoringtree.jar:<J2EEInstanceRoot>/admin/lib/opensqlsta.jar:<J2EEInstanceRoot>/admin/lib/sapni.jar:<J2EEInstanceRoot>/admin/lib/sapxmltoolkit.jar:<J2EEInstanceRoot>/admin/lib/tc_sec_userstore_lib.jar sapinst.CheckLoging <J2EEAdministratorPort> <J2EEAdministratorUserName> <J2EEAdministratorPassword>"

javaParam = epFunc.replaceTagsInJavaParam(javaParam, j2eeroot, j2eeadm, P4Port, sid, java, jarsFolder);

var rc = epFunc.excecuteJarFile(java, javaParam, j2eepwd, jarsFolder)

if ( rc != 0 ){

//Bad result, do something here

installer.writeTrace("J2EE Login: fail -- rc = " + rc);

gui.setErrorInformation("ep.prt.InvalidConnectionDetails");

return false;

}else{

installer.writeTrace("J2EE Login: User name and password are OK");

}

}

Exit status of child: 1

I dont find any notes fot this, you know something about?

Regards, Hector.

brad_landry2
Active Contributor
0 Kudos

Hi,

sorry, I never had that error before.

A quick search in the forums and found similar errors.

I don't know if it can help you :

If you don't find a solution, open an oss message.

Good luck.

Brad

Former Member
0 Kudos

Hi Brad,

Thanks for your help, I solved the problem reinstalling all ...from J2EE engine and changing in the last step(KMC) to normal mode.

Regards Hector.

Answers (0)