cancel
Showing results for 
Search instead for 
Did you mean: 

Failed on Java CI add-in installation with Java Admin Account Create

Former Member
0 Kudos

I've installed an ABAP stack and it works smoothly. Java Central Instance Service(add-in) and Java Database Instance(add-in) are both installed successfully. When I install Java Central Instance(Add-in), I get an error when system asks me to input passwords of Java admin accounts. I use same password for all sap account, eg. james123, but in this step, I input same password, the screen does not change to the next.

I paste error info below for reference.

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

=======sapinst.log======

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

WARNING 2008-08-06 20:08:01

Execution of the command "/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install/jlaunch UserCheck.jlaunch com.sap.security.tools.UserCheck /tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install/lib:/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install/sharedlib:/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install -c sysnr=00 -c ashost=eccdev -c client=001 -c user=DDIC -c XXXXXX -a checkBeforeCreate -u J2EE_ADMIN -p XXXXXX -r SAP_J2EE_ADMIN -message_file UserCheck.message" finished with return code 2. Output:

java.lang.ClassNotFoundException: com.sap.security.tools.UserCheck

at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79)

Please advise. Thanks so much.

James

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Close this question, not be solved

Former Member
0 Kudos

Stop your installation

Create the users J2EE_ADMIN , SAPJSF & SAP_GUEST at the ABAP level using SU01

Restart the installation.

Former Member
0 Kudos

What's the necessary authorization should be assigned to these accounts when I create them using SU01? Please advise. Thanks

Former Member
0 Kudos

In client 001, I did following with SU01.

1. Create user SAPJSF, user type is system, grant role SAP_BC_JSF_COMMUNICATION_RO and SAP_BC_JSF_COMMUNICATION.

2. Create user J2EE_ADMIN, user type dialog, grant role SAP_J2EE_ADMIN .

3. Create user J2EE_GUEST, user type dialog, grant role SAP_J2EE_GUEST .

User J2EE_ADMIN and J2EE_GUEST can log on to client 001 successfully.

I still have the same problem after that. Please advise.

Thanks so much.

James

Former Member
0 Kudos

.

Former Member
0 Kudos

Hello,

I'm not sure it will solve the problem but it's the first thing to try.

Go to /tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install

unpack the J2EEINSTALL.SAR via the following command:

/sapmnt/<SID>/exe/SAPCAR -xvf /YOUR_JAVA_SAP_DVD/J2EE_OSINDEP/J2EE-INST/J2EEINSTALL.SAR

Then restart SAPINST.

Best regards,

Olivier

Former Member
0 Kudos

Hi

I still got the problem.

Here is some more details

1. "Central Instance Java Add-in" installation.

2. The step is "ABAP UME" (Enter the J2EE engine user passwords). System ask user to enter password of administrator user, password of communication user, and password for SDM.

I enter a password like james123, it does not go to next screen. then I try to input other passwords, it does not go to next screen either. Does password cause the problem? What's the rule of password? And what's the return code 2 in below log file?

Here is the information which I can find out in file sapinst_dev.log.

==================sapinst_dev.log=====================

WARNING 2008-08-07 07:13:10

CJSlibModule::writeWarning_impl()

Execution of the command "/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install/jlaunch UserCheck.jlaunch com.sap.security.tools.UserCheck /tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install/lib:/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install/sharedlib:/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install -c sysnr=00 -c ashost=eccdev -c client=001 -c user=DDIC -c XXXXXX -a checkBeforeCreate -u J2EE_ADMIN -p XXXXXX -r SAP_J2EE_ADMIN -message_file UserCheck.message" finished with return code 2. Output:

java.lang.ClassNotFoundException: com.sap.security.tools.UserCheck

at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79)

Please advise. thanks so much

James

Former Member
0 Kudos

Hello,

It's not a password problem. This is because a java class cannot be found.

Could you please tell me which JDK version you use for this installation?

What's your OS and SAP system version?

Former Member
0 Kudos

I installed j2sdk1.4.2_15.

[root@eccdev CI]# java -version

java version "1.4.2"

gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)

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@eccdev CI]# set |grep -i java

JAVA_HOME=/usr/java/j2sdk1.4.2_15

OLDPWD=/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI/install

PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.2_15:/usr/java/j2sdk1.4.2_15/bin:/root/bin

PWD=/tmp/sapinst_instdir/ERP/LM/AS-JAVA/ADDIN/DB6/DISTRIBUTED/CI

Former Member
0 Kudos

ok, thank you. It should be a problem somewhere with the extraction of one sar or car files. As I didn't have the problem in this phase I don't know which package you havee to extract again.

I would suggest you to open an OSS message if noboby else here had this problem before.

I'm sorry that I can't help you more.

Best regards,

Olivier