cancel
Showing results for 
Search instead for 
Did you mean: 

JDK for install SAP on RHEL 5.4 64 bit ?

Former Member
0 Kudos

am installing SAP SOL EHP1 on RHEL 5.4 64bit - Oracle 10G 64 bit - Updated Patch 10.2.0.4.0 (server 6GB RAM, HDD 146 GB) and i have a problem with step install "Prepare to install minimal configuration" with error following :

ERROR      2010-01-08 21:53:30.43 [iaxxinscbk.cpp:260]
CJS-00030  Assertion failed: in 
function NW_Call_Offline_CTC_ind_ind_ind_ind_SubComponentContainer_callOfflineCTC() {
    var nw = NWInstall.getSystem(context.get("sid"));
    var ctcDirFs = nw.getCI().getInstanceDir().concat("j2ee", "ctc");
    var ctcExeFile = installer.onWindows() ? "LaunchOfflinectc.bat" : "LaunchOfflinectc.sh";
    var ctcCall = ctcDirFs.concat(ctcExeFile);
    installer.writeTrace("CTC is in" + ctcCall);
    ASSERT(arguments.callee, ctcCall.isExisting(), "CTC executable cannot be found in " + ctcCall.toString());
    var pmgt = new ProcessMgt();
    var app = pmgt.createChildApplication(ctcCall, []);
    var userData = nw.getUsers().getAccountData(NWUsers.roles.SIDAdm);
    var user = (new AccountMgt()).getUser(userData.name);
    var env = pmgt.getProcessEnvironment();
    if (installer.onUnix()) {
        env.setUser(user);
    }
    env.setWorkingDirectory(ctcDirFs.getNode());
    env.setEnvironmentVariable(new Property("JAVA_HOME", nw.getJavaHome().toString()));
    installer.writeTrace("For the Offline CTC Call, JAVA_HOME is set to " + env.getEnvironmentVariable("JAVA_HOME"));
    app.setEnvironment(env);
    var retval = app.run([], true);
    ASSERT(arguments.callee, retval == 0, "CTC retval is not 0 but " + retval);
    installer.writeTrace("CTC has been called in Offline Mode.");
}
CTC retval is not 0 but 255

INFO[E]    2010-01-08 21:53:30.050 
           CJSlibModule::writeError_impl() 
MUT-03025  Caught ESAPinstException in Modulecall: in 
function NW_Call_Offline_CTC_ind_ind_ind_ind_SubComponentContainer_callOfflineCTC() {
    var nw = NWInstall.getSystem(context.get("sid"));
    var ctcDirFs = nw.getCI().getInstanceDir().concat("j2ee", "ctc");
    var ctcExeFile = installer.onWindows() ? "LaunchOfflinectc.bat" : "LaunchOfflinectc.sh";
    var ctcCall = ctcDirFs.concat(ctcExeFile);
    installer.writeTrace("CTC is in" + ctcCall);
    ASSERT(arguments.callee, ctcCall.isExisting(), "CTC executable cannot be found in " + ctcCall.toString());
    var pmgt = new ProcessMgt();
    var app = pmgt.createChildApplication(ctcCall, []);
    var userData = nw.getUsers().getAccountData(NWUsers.roles.SIDAdm);
    var user = (new AccountMgt()).getUser(userData.name);
    var env = pmgt.getProcessEnvironment();
    if (installer.onUnix()) {
        env.setUser(user);
    }
    env.setWorkingDirectory(ctcDirFs.getNode());
    env.setEnvironmentVariable(new Property("JAVA_HOME", nw.getJavaHome().toString()));
    installer.writeTrace("For the Offline CTC Call, JAVA_HOME is set to " + env.getEnvironmentVariable("JAVA_HOME"));
    app.setEnvironment(env);
    var retval = app.run([], true);
    ASSERT(arguments.callee, retval == 0, "CTC retval is not 0 but " + retval);
    installer.writeTrace("CTC has been called in Offline Mode.");
}
CTC retval is not 0 but 255.

ERROR      2010-01-08 21:53:30.176 [sixxcstepexecute.cpp:950]
FCO-00011  The step callOfflineCTC with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|6|0|NW_Call_Offline_CTC|ind|ind|ind|ind|7|0|callOfflineCTC was executed with status ERROR ( Last error reported by the step :Assertion failed: in 
function NW_Call_Offline_CTC_ind_ind_ind_ind_SubComponentContainer_callOfflineCTC() {
    var nw = NWInstall.getSystem(context.get("sid"));
    var ctcDirFs = nw.getCI().getInstanceDir().concat("j2ee", "ctc");
    var ctcExeFile = installer.onWindows() ? "LaunchOfflinectc.bat" : "LaunchOfflinectc.sh";
    var ctcCall = ctcDirFs.concat(ctcExeFile);
    installer.writeTrace("CTC is in" + ctcCall);
    ASSERT(arguments.callee, ctcCall.isExisting(), "CTC executable cannot be found in " + ctcCall.toString());
    var pmgt = new ProcessMgt();
    var app = pmgt.createChildApplication(ctcCall, []);
    var userData = nw.getUsers().getAccountData(NWUsers.roles.SIDAdm);
    var user = (new AccountMgt()).getUser(userData.name);
    var env = pmgt.getProcessEnvironment();
    if (installer.onUnix()) {
        env.setUser(user);
    }
    env.setWorkingDirectory(ctcDirFs.getNode());
    env.setEnvironmentVariable(new Property("JAVA_HOME", nw.getJavaHome().toString()));
    installer.writeTrace("For the Offline CTC Call, JAVA_HOME is set to " + env.getEnvironmentVariable("JAVA_HOME"));
    app.setEnvironment(env);
    var retval = app.run([], true);
    ASSERT(arguments.callee, retval == 0, "CTC retval is not 0 but " + retval);
    installer.writeTrace("CTC has been called in Offline Mode.");
}
CTC retval is not 0 but 255).

JDK installed : jdkfb-1_5_0_22-rev-b05-linux-amd64.bin and link download http://java.sun.com/j2se/1.4.2/SAPsite/download.html

JCE attached : jce_policy-1_5_0.zip and link download http://java.sun.com/j2se/1.4.2/SAPsite/download.html

and i have done and applied note 1094628 with no luck.

what JDK version to instal SAP RHEL 5.4 64bit ? can you show me the link to download JDK accurately ...

thanks for your advices

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

i installed java package of IBM below :

[root@sapree5 SAP_Software]# rpm -ivh IBMJava2-AMD64-142-SDK-1.4.2-13.3.x86_64.rpm

Preparing... ########################################### [100%]

1:IBMJava2-AMD64-142-SDK ########################################### [100%]

[root@sapree5 SAP_Software]# java -version

java version "1.4.2"

gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@sapree5 SAP_Software]# java -fullversion

java full version "gcj-1.4.2"

and then i type command which you show me

[root@sapree5 SAP_Software]# alternatives --config java

There is 1 program that provides 'java'.

Selection Command

-


*+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java

(i don't see IBM java )

Enter to keep the current selection[+], or type selection number: 1

[root@sapree5 SAP_Software]# java -version

java version "1.4.2"

gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

When begin i install SAP, i exported JAVA_HOME= java patch when install package java IBM and started install SAP but not promptly alternatives command of you because you reply very quickly

waiting for your advice

thanks

Edited by: myfriend280985 on Jan 9, 2010 12:16 PM

Former Member
0 Kudos

Hi,

Please use the below command to install IBM JDK.

alternatives --install /usr/bin/java java /opt/IBMJava2-amd64-142/jre/bin/java 1

Then use the above command i.e

alternatives --config java

Select IBM Java.

Then check java -version and continue installation.

Cheers....,

Raghu

Answers (7)

Answers (7)

Former Member
0 Kudos

thansk you very much

Edited by: myfriend280985 on Jan 10, 2010 3:55 AM

Edited by: myfriend280985 on Jan 10, 2010 3:56 AM

Former Member
0 Kudos

hi Raghu!

i don't type your command above but i try to edit shell login scripts ./bash_profile with

PATH=/opt/IBMJava2-amd64-142/bin

-> Save

and restart OS and then i type: java -version command below :

[root@sapree5 ~]# java -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20090909 (JIT enabled)

J9VM - 20090908_41946_LHdSMr

JIT - 20090210_1447ifx1_r8

GC - 200902_24)

How your opinion ?

thanks

Former Member
0 Kudos

Hi Myfriend,

Perfect....

Continue with the installation.

Cheers....,

Raghu

Former Member
0 Kudos

hi Raghu

Sorry Raghu, i want to ask my question again:

Do you know the cause of the error in step installation "Prepare to install minimal configurate" above ? (maybe JDK package wrong ?)

and I want to know package JDK 1.4.2_13 which i downloaded on IBM webpage accurately for RHEL 5.4 64bit?

Former Member
0 Kudos

Hi Myfriend,

Please use the above commands and change the default java version. If you just install the JDK with rpm -ivh, it will not be effective JDK in the system as there are two versions.

You should see IBM JDK when you execute the command java -version.

All the previous posts are to solve the issue itself and not intended for any other purpose.

The JDK you have downloaded is perfect. The only thing as i said, its not effective.

Hope you understand.

Cheers.....,

Raghu

Former Member
0 Kudos

hi Raghu

I installed JDK IBM package through rpm -ivh <pacgkage> command, why prompt more command to install JDK IBM, i don,t know that......you can explain me

and now my SAP installing process, can i do your command immediately ?

thanks

Former Member
0 Kudos

Hi,

Yes...You have to use the above commands to set the default java version to IBM Java 1.4.2_13. If you do not use the above commands you will not be able to set the java version to default in which case you will not be able to continue with the installation.

Use the commands above and the continue the installation.

Cheers.....,

Raghu

Former Member
0 Kudos

hi Raghu , and now i installed package on IBM webpage and java version below :

[root@sapree6 ~]# java -version

java version "1.4.2"

gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@sapree6 ~]# java -fullversion

java full version "gcj-1.4.2"

I want to know the cause of the error ? can you explain for me ?

thanks you

Former Member
0 Kudos

Hi,

Use the below commands to set the java default version to IBM 1.4.2_13.

alternatives --config java.

Select the IBM java.

Then check java -version. It should show IBM Java 1.4.2_13

Then proceed with the installation.

Cheers...,

Raghu

Former Member
0 Kudos

HI Raghu

Happy New Year to you and everybody in this forum !

i read SAP note 1172419 and attention to the line in bold below: :

*******************************************************************************************

For Red Hat, please see notes 1048303 and 722273 for more information.

Also, http://kbase.redhat.com/faq/FAQ_61_9014.shtm describes the Red Hat situation in more detail.

The download location for the official package from IBM is the "IBM Java for ISVs" page located at:

https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=swg-ibmjavaisv

(Please make sure that there are no spaces in the URL.)

You need an IBM ID (developerWorks or PartnerWorld) to login. The access key for the entitlement is AQ2QQK45DQ.

The filename for the relevant package is IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm

Note that you need to logon using your IBM user. If you do not have an IBM user yet, make sure to register at the following location:

https://www.ibm.com/account/profile/us?page=reg

********************************************************************************************

and then i login IBM webpage and download package following:

IBMJava2-AMD64-142-SDK-1.4.2-13.3.x86_64.rpm

and i installing again . I hope no more bug

Raghu and someboby , Do you know the cause of the error above ? (follow me , i think JDK version wrong)

thanks for your advice

Former Member
0 Kudos

Hi,

In the above error i see JDK installed : jdkfb-1_5_0_22-rev-b05-linux-amd64.bin.

Can you check what is the effective java version. i.e. execute java -version and java -fullversion.

Cheers....,

Raghu

Former Member
0 Kudos

Hi,

Please check SAP Note 1172419 - Linux: Supported Java versions on the x86_64 platform

Cheers....,

Raghu