cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Management Console Java kept asking for username and password

steven_foo
Participant
0 Kudos

We have our SAP Java only Portal wtih instance on kernel 7.02 on Linux 64-bit.

When we first tried to launch the Java MC on the IE browser and click on Database subtree, there is no prompt to enter username and password.

We saw a message asking to installed the missing SAPHostAgent.

After downloading lastest saphostagentrpm_155-20005731.rpm and installed it, we started the host agent.

/usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile

/usr/sap/hostctrl/exe/sapstartsrv pf=/usr/sap/hostctrl/exe/host_profile -D

/usr/sap/hostctrl/exe/saposcol -l -w60 pf=/usr/sap/hostctrl/exe/host_profile

Then we restart the SAP Java MC, and go to the Database subtree, it now prompt us to enter the username and password.

We tried to use the username j2ee_admin and password, but it was not able to access. On a normal, NW prompt, j2ee_admin works fine.

What should be the username and password to used? How to turn off this authentication?

Accepted Solutions (1)

Accepted Solutions (1)

steven_foo
Participant
0 Kudos

Below are the steps to get it work

1) Download both the below for your kernel version and OS version.

For mine is the Linux_x86_64.

sapmc_417-10007264.sar

saphostagentrpm_157-20005731.rpm

2) Install or upgrade it on your server at the following location. Restart all the services.

Before that, backup!!

/sapmnt/SID/exe/servicehttp/sapmc

/usr/sap/SID/SCS<instance #>/exe/servicehttp/sapmc

/usr/sap/SID/JC<instance #>/exe/servicehttp/sapmc

saphostagentrpm_157-20005731.rpm - just installed it or upgrade using rpm command line

3) Clear your broswer cache and temp. files

4) Restart the SAPmc again.

http://<FQDN Hostname>:55513/sapmc/sapmc.html?SID=<SID>&NR=<instance #>&HOST=<hostname>

Make sure the version is  7200, 417, 21, 20169 from the ? => About menu.

5) When the username and password prompt out, use OS level SIDadm and password.

Hope this help

Answers (8)

Answers (8)

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

When you enter the user name password do you get any error messages ?

Additionally try with a user which has administrative rights.

Check the 5th point in this note as well and see whether the patch level you have is above the suggested one.

Note 1153713 - Problems with the SAP Management Console (Java)

Regards

RB

steven_foo
Participant
0 Kudos

As mention the error message posted before

com.sap.managementconsole.operations.AuthorizedOperation$AuthorizationException: Login Information Needed!

at com.sap.managementconsole.operations.AuthorizedOperation.execute(AuthorizedOperation.java:78)

at com.sap.managementconsole.common.DataLoader.executeAllQueuedOperations(DataLoader.java:691)

at com.sap.managementconsole.common.ThreadPoolDataLoader$DataLoaderTask.execute(ThreadPoolDataLoader.java:127)

at com.sap.managementconsole.common.ThreadPoolManager$ThreadPoolElement.run(ThreadPoolManager.java:282)

at java.lang.Thread.run(Unknown Source)

I can't find the user "administrator" in the ume database in the portal page.

item 5 note 1153713 is - These errors are corrected as of Release 710/patch #4 (patch 08 2008).

however according to the http://hostname:port/monitoring/SystemInfo page I have the following kernel information. This is a Portal only instance (no ABAP).

Kernel Version:

7.02 Patch Level 128693

Any more ideas? Thanks.

Former Member
0 Kudos

Hi,

Please copy the J2ee_admin to administrator and check logging with that as in the logs it saying that cannot find administrator.

"I can't find the user "administrator" in the ume database in the portal page."

Please keep the password same as j2ee_admin. If this works this means that administrator was deleted from your system.

If possible please change the configtool parameters to administrator id.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi,

Just some more to add,

Please check that you have com.sap.caf.eu.gp.roles.superuser in the assigned roles tab of the user and below three in the assigned groups.

Everyone 

Administrators

Authenticated 

Thanks

Rishi Abrol

steven_foo
Participant
0 Kudos

j2ee_admin is residing at ABAP database instance not JAVA? will copy make a difference?

steven_foo
Participant
0 Kudos

i have created a user called admin with all the roles assigned to it in the ABAP or UME database. tested tried to logon with the password assign to it during the creation. it will does not accept the user and password.

steven_foo
Participant
0 Kudos

Do you mean that I need to change the administrator or the j2ee_admin password in the configtool under secure store ?

steven_foo
Participant
0 Kudos

I tried logon using j2ee_admin with password that I know in the visual admin and I am able to access to it

Former Member
0 Kudos

Hi,

Please login in the portal . Go to user admin and create "administrator".Provide password.

make it Technical user add the below roles.

Please check that you have com.sap.caf.eu.gp.roles.superuser in the assigned roles tab of the user and below three in the assigned groups.

Everyone

Administrators

Authenticated

can you please check the user used to connect the ume.(Sapjsf) has peoper rights as you should see all the user in portal that are in the backend.

Thanks

Rishi Abrol

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi,

Have you tried with this option..

I am not sure but found it on MMC

steven_foo
Participant
0 Kudos

The setting is already there.

steven_foo
Participant
0 Kudos

I am looking at the SAP MC log icon and click on it. I get the below error. Any idea how to resolve. Thanks.

com.sap.managementconsole.operations.AuthorizedOperation$AuthorizationException: Login Information Needed!

at com.sap.managementconsole.operations.AuthorizedOperation.execute(AuthorizedOperation.java:78)

at com.sap.managementconsole.common.DataLoader.executeAllQueuedOperations(DataLoader.java:691)

at com.sap.managementconsole.common.ThreadPoolDataLoader$DataLoaderTask.execute(ThreadPoolDataLoader.java:127)

at com.sap.managementconsole.common.ThreadPoolManager$ThreadPoolElement.run(ThreadPoolManager.java:282)

at java.lang.Thread.run(Unknown Source)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi,

Please use SIDADM or ORASID(if oracle)/DB2SID(if DB2).

Regards,

Divyanshu

steven_foo
Participant
0 Kudos

Both ORASID and SIDADM username and password does not work.

On the OS level it works.

nelis
Active Contributor
0 Kudos

Hi,

To login to MC using sidadm you need to set the s-bit on kernel program sapuxuserchk.

See Note 927637 - Web service authentication in sapstartsrv as of Release 7.00

Edit: I see for newer patch levels of the host agent this is no longer necessary. In this case check your level and other necessary steps from the above note.

Regards,

Nelis

steven_foo
Participant
0 Kudos

In /usr/sap/QPO/JC55/exe

-rwsr-xr-x 1 qpoadm sapsys 909704 Mar 16  2012 sapuxuserchk

In /usr/sap/QPO/SCS01/exe

-rwsr-xr-x 1 qpoadm sapsys 909704 Mar 16  2012 sapuxuserchk

In /sapmnt/QPO/exe

-rwsr-xr-x 1 qpoadm sapsys 909704 Mar 16  2012 sapuxuserchk

I tried user SIDADM username and password many times, it still does not work.

I am out of idea.

steven_foo
Participant
0 Kudos

Guys I will need more testing and come back to you all. Today, there are other issue that I need to look into. Will post be findings. Thanks.

former_member227600
Contributor
0 Kudos

Hi,

Some time this issue hppen due to the start sequence of  SAP services. I will recommend to stop your SAP system & host agent  completly . Now start host agent first & than start SCS, CI & than dilog if you have any. Now try again with java MMC.

Best Regards

Ram

steven_foo
Participant
0 Kudos

I have restart SAP as well as host agent. The issue is still there.

karthikeyan_natarajan4
Active Contributor
0 Kudos

Hi Steven,

Please refer to SAP note 927637 and check the sap host agent and kernel patch level.

steven_foo
Participant
0 Kudos

Already refer to the note 927637. sap host agent is latest.

sapuxuserchk is configure as s-bit. not sure any other this that is missing.

without the host agent started, it did not ask for username and password.

This is a Linux system, so the windows configure does not apply.

karthikeyan_natarajan4
Active Contributor
0 Kudos

what is the status of host agent? is it running,

steven_foo
Participant
0 Kudos

Yes, host agent is running.

Former Member
0 Kudos

Hi,

Please check if config tool is loading and j2ee_admin password is correct in it. Please stop all the sapstartsrv and restart them.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi Steven,

                Does your portal uses ABAP as UME ,because if it is standalone Java system and it is using java database as UME then you should try user Administrator to login instead of J2EE_ADMIN.

Thanks and Regards,

Kunal Gahlot

steven_foo
Participant
0 Kudos

1) Config tool is loading properly. j2ee_admin password is correct.

I can logon to http://hostname:port/irj/portal with user j2ee_admin.

2) Restart /usr/sap/hostctrl/exe/saphostexec -restart - did not work

3) stopsap/startsap - did not work

steven_foo
Participant
0 Kudos

1) Config tool is loading properly. j2ee_admin password is correct.

I can logon to http://hostname:port/irj/portal with user j2ee_admin.

2) Restart /usr/sap/hostctrl/exe/saphostexec -restart - did not work

3) stopsap/startsap - did not work

Former Member
0 Kudos

Hi ,

During the restart did you kill all the process and did cleanipc and cleared all the shared segments.

Please dont forget to kill all the processes that come in PS for that system.

I checked service market place and your patch is the latest and just to confirm more its Linux on x86_64 64bit

Can be sap bug also as its new patch in market place. To justify that please try if you can downgrade to Ptach 150.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi,

and just one more thing is your kernel 7.20 EXT or 720.

I think so it should be 720 EXT. so you should have installed SAPHOSTAGENT155_155-20006831.SAR file.

Thanks

Rishi Abrol

steven_foo
Participant
0 Kudos

Hi Rishi,

According to the http://hostname:port/monitoring/SystemInfo page I have the following kernel information. This is a Portal only instance (no ABAP).

Kernel Version: 7.02 Patch Level 128693

Do I need Kernel 7.20EXT?

Former Member
0 Kudos

Hi,

Yes i think So. Please try to download the host agent of 7.20EXT.

Thanks

Rishi Abrol

steven_foo
Participant
0 Kudos

Hi Rishi,

1) version 720_EXT does not.  install it and it give error as below

./saphostexec -restart

./saphostexec: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./saphostexec)

2) downloaded saphostagent 720_150 also does not work

I shutdown everything, install the new saphostagent, cleanipc, ipcrm, restart sap.

The prompt still exist.

steven_foo
Participant
0 Kudos

Which Administrator user do you mean? At which level?

Former Member
0 Kudos

Hi Steven,

This is a java system so how come j2ee_admin get created. In case of j2ee system only administrator id gets created by default during the installation..

Please login in user admin in portal and search if id administrator exists if yes use this id and password to login in SAP MC.

Did you change administrator id to j2ee_admin while installation?

Thanks

Rishi Abrol

steven_foo
Participant
0 Kudos

The portal which is running on java only is connected to the backend ABAP system.

j2ee_admin is created in the ABAP backend.

I try to logon to the portal and look for the user "administrator", however I could not find it.

Any more ideas?