cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Auto-ID Cockpit - Error "User Authentication Failed"

Former Member
0 Kudos

HI

When I access the Auto-ID Cockpit transaction at Easy Access I get the page for entering user/pwd.

(http://mysapscm.caritor.com:8001/logon/logonServlet?redirectURL=%2Fwebdynpro%2Fdispatcher%2Fsap.com%2Fain%7Eso%7Edesktop%2FDesktopApp)

But when I enter the user (same user as I am using for accessing AII Easy Access) and pwd, it says "User authentication failed".

I have the following roles attached to user in AII:

SAP_AIN_ADMINISTRATOR

SAP_AIN_SUPERVISOR

SAP_AIN_WORKER

May not be needed, but I also added:

SAP_XI_ADMINISTRATOR_ABAP

SAP_XI_APPL_SERV_USER

SAP_XI_MONITOR_ABAP

It looks like this is a very basic question as I did not see find any question or answer on these lines in the forum. Help please.

Regards

Sankar

Accepted Solutions (0)

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

two things:

>>>>http://mysapscm.caritor.com:8001/logon/logonServlet?redirectURL=%2Fwebdynpro%

why do you have 8001 port ? it should be j2ee port (5XX00)

>>>>and pwd, it says "User authentication failed".

just like I said to Jaishankar (in mail) it's not an authentication

but installation issue

just check your <b>jco destinations</b> in webdynpro admin page

correct them and everything will work - as per AII installtion guide

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

former_member192343
Active Contributor
0 Kudos

i had this problem even after configuring and succesfull testing jco destinations

Former Member
0 Kudos

Hi,

Just as mentioned by Michal it is a problem with the JCO connection.

Also the port which u are using in the url is not for Autoid cockpit.

The port for autoid connection is 50100 or better check it in TCODE smicm.

The URL which you are using is for some other purpose.

Thanks and regards,

Amit

Message was edited by:

Amit Dilip Deshpande

MichalKrawczyk
Active Contributor
0 Kudos

I solved it at least 3 times like that

Regards,

michal

Former Member
0 Kudos

Hi Michal,

We did the configuration for the Jco Connection as per installation guide. We got Green LED for both the Jco connections. But when we test the Jco connections using test button, we get an error msg

" <b>com.sap.mw.jco.JCO$Exception: (102) JCO_ERROR_COMMUNICATION: JCO.Client not connected in repository call</b> "

Also, the port for Content Administrator accrding to the installation guide is HTTP port.

http://<YOUR SERVER>:<b><HTTP PORT></b>/webdynpro/dispatcher/sap.com/tcwdtools/Explorer

Can you pls clarify this also.

Expecting your reply.

P.S: We are able to launch the SLD using the "Start assigned SLD" button in Content Administrator. But, if we use SLDCHECK from AII server, we get an error msg RFC connections not maintained properly. Is this a problem?

Thanks,

Sankar & Jai Shankar

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>" com.sap.mw.jco.JCO$Exception: (102) JCO_ERROR_COMMUNICATION: JCO.Client not connected in repository call "

don't know what did you put inside

but the JCO has to work (test must be ok)

in order to be able to log on to Auto-ID Cockpit just like I said

>>>>http://<YOUR SERVER>:<HTTP PORT>/webdynpro/dispatcher/sap.com/tcwdtools/Explorer

it has to be J2EE port (5XX00) and not http (80XX)

as Auto-ID Cockpit is a webdynpro app that is based on JAVA WAS

>>>>But, if we use SLDCHECK from AII server, we get an error msg RFC connections not maintained properly. Is this a problem?

yes it is... all error messages mean that there is a problem in general...

if not now it will come back later so you need to solve it too

Regards,

michal

Former Member
0 Kudos

Michal,

Many thanks for the reply.

We have created a tech system of type WebAsABAP and specified it as Message Server in the JCo Connection.

Logon Group: Blank(We dont get any value in the drop down menu)

User Id: We have specified a user id of type <i>Communication data</i>.

We are getting error even when we try to ping the Jco connection.

Can you let us know your thoughts here.

Thanks again for the help.

Regards,

Sankar & Jai Shankar

Former Member
0 Kudos

Hi Everyone

Thank you for your time, the problem is solved.

Observations:

Port 8001 as given by us is fine, it did not matter if port was 5XX00 or 80XX.

I am not sure what solved the JCo test error, but the change we made were:

1. Give user and clinet in AIN RFC (Test works without this also)

2. SMLG logon group was blank, we changed this to PUBLIC

The authentication at cockpit URL was giving the "authentication failed" error as the Java User Settings were pointing to client 001. We had AII on client 077. This was corrected by our BASIS experts. Help.sap.com has the relevant details for this settings.

Regards

Sankar

Message was edited by:

Sankara Narayanan

former_member192343
Active Contributor
0 Kudos

try to generate profiles for this roles...

and check if user is blocked...

i had this problem..but dont remember exactly how solved it

Former Member
0 Kudos

Hi

Tried creating profiles and carried out user comparison for role. Does not work.

Is hope that the same username and pwd that I use for seeing the easy access menu can also be used to access the web cockpit?

I am stuck for quite some time now.

regards

Sankar

former_member192343
Active Contributor
0 Kudos

i also did latest patch to auto-id addon and j2ee

Former Member
0 Kudos

I am using AII 4.0 but I am not on service pack 3 (SP03) yet. Maybe I will try that now.

Former Member
0 Kudos

HI

Like I said earlier, I am using the same user that I used for accessing Easy Access. This user is maintained thru SU01 with the AIN* roles that I have mentioned.

Do I also need to enable any authorizations elsewhere (J2EE etc??)? If yes, how do I do this? Any reference documents to help me here?

Any logs that I can check to see WHY "User Authentication Failed"? How do I debug such problems?

Regards

Sankar

former_member192343
Active Contributor
0 Kudos

goto http://<server>:<port>/index.html

choose user managment and give to your user full roles there...must be work as i remeber