cancel
Showing results for 
Search instead for 
Did you mean: 

Logon to SLD

Former Member
0 Kudos

Hello people,

The developer reported to me the next error:

com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type com.sap.demo.flight.types.Bapimaxrow could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection: com.sap.sldserv.exception.SldServiceRuntimeException:

Failed to create CIM client

.

We have read the guide "Handling Transactions with BAPIs in Web Dynpro" and we are configuring the SLD then.

I have the guide about SLD configuration but I have some

problems with part 3.2 COnfiguring users.

When I call http://server:50000/sld, I don´t know the user and pwd. I tried with J2EE-ADMIN but it reported me

No Authorization. I don´t hace any user like Administrator or Admin.

When I installed WAS JAVA add-in, I select No SLD available during the installation. But I could see the service and it is active.

The guide talks about users and groups (roles on R/3) but I don´t have anything.

I would like to logon to the SLD.

Could you assist ??

Thanks in advance.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Andrea,

Which SLD are you trying to connect to. i have faced the similar problem that you have reported. Is it possible to have a netmeeting session to see the problem. Please reply back to chander.s@sap.com

Regards,

Chander

Former Member
0 Kudos

Hello,

First of all, thank you Sidharth for your help. I could assign the roles to user j2ee_admin in UME and I could logon to the SLD Server.

I have posted another issue because I want to logon to the Web Dynpro COntent Administrator (host:50000/webdynpro/welcome) but I couldn´t logon with j2ee_admin. I tried to create another user with Register button, but the next mesagge appeared "User couldn´t be created"

Any help ??

Hello Chander,

Y am trying to connect to SLD which is installed with WAS J2EE 6.40. (hostname:50000/sld/index.jsp)

First of all, logon to R/3 and create with PFCG, the roles as you can see on the SLD configuration guide (SAP_SLD_ADMINISTRATOR) and assign to user j2ee_admin (or another user you want to use to logon to SLD)

Try to connect to UME (hostname:5000/useradmin) and assign the roles to the user (you can see as groups on the J2EE Server).

Hope it helps to you.

Andrea

sid-desh
Advisor
Advisor
0 Kudos

Hi Andrea,

Glad you could finally get your problem resolved. Now as to next problem regarding login to Content Administrator.

You have said that you cannot logon to the http://<host>:<port>/useradmin because you do not have the login. As for the register functionality as far as i know the register link will only create a new user for you and assign it default roles which will not be sufficient to logon to Content Administrator.

After the user regsiters the administrator has to go and assign some roles to that user using the useradmin. Hence Register will not help in this case.

What you can do in log in to the Visual Administrator as before and under Server -> Services -> Security provider from here you can create a new user by clicking on the user management tab. This user also gets created in the UME.

Once the user is created in the same tab User management serach for the just created user. Select it and click the Group button. Then assign the group Administrators to that user and try logging in to the Content Administrator.

It worked in my case. Hope it works in your case too.

Regards

Sidharth

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Andrea,

You had some good answers, but did you forget to give points? It's a way to say "thanks".

See: </people/mark.finnern/blog/2004/08/10/spread-the-love for directions.

Click on the Yellow Star icon in each reply.

You can give:

1 - 10 pointer (solves problem, marks as answered)

2 - 6 pointers (very helpful)

Lots of 2 pointers (helpful)

This time I did it for you, but you can change it.

Cheers,

Linda (and Mark Finnern)

sid-desh
Advisor
Advisor
0 Kudos

Hi Andrea,

You must be having some user having Administrator rights. Using this user log in to the Visual Administrator. The in the services find a service named Security Provider.

In the Policy Configurations Tab look for a component name sap.com/com.sap.lcr*sld. Select it and under Security Roles tab select LcrInstanceWriterAll.

Now search for a particular user

say this current user using which you have logged on to Visual Admin and click Add.

Now just login to http://localhost:57000/sld using this user and pwd.

You will be able to log in. However for this procedure to work you should have a user id for Visual Adm.

Hope this is helpful

Regards

Sidharth

Former Member
0 Kudos

Thank you !!

I could do the following setting you told me. I select user j2ee_admin (is the j2ee administrator) and add role you told me. But when I execute localhost:50000/sld and I logon with this usr, I get Error 406:forbidden.

Have I to restart the java ??

Thanks again !

sid-desh
Advisor
Advisor
0 Kudos

Hi Andrea,

There is no need to restart the server. Just add the role to the user and you will be able to login to SLD. Just make sure that you have added the role LcrInstanceWriterAll. If you still are not able to login then also try adding the role LcrAdministrator using the same method.

Regards

Sidharth

Former Member
0 Kudos

I have another problem now. I restarted the java instance from MMC (not the hole system, I have java add-in) And now, when I want to logon to the Visual Adminitrator with j2ee_admin, the logon hang at 99%.

When a execute http://server:50000 I enter on the Start Page but if I click on Examples Button (and logon with the same user), the system hang too.

What is the problem now ??

Please, any advice..

sid-desh
Advisor
Advisor
0 Kudos

Hi Andrea,

Never faced this problem. Can only suggest that you check that the user is a member of the Administrators Group. Because i checked that all the users are a member of the administrators group who access these application.

Regards

Sidharth

Former Member
0 Kudos

Hello,

I could not logon to the SLD Server yet.

I restarted the J2ee server but nothing happened. I add Administration authorization and the other one (xxxWriteAll) but when I logon with J2ee_ADMIN I get:

"You are not authorized to view the requested resource"

Any advice ??Thanks !!

sid-desh
Advisor
Advisor
0 Kudos

Hi Andrea,

I have done the same thing and added the same J2EE server role. and i have been able to log in to SLD.

I will suggest that using the useradmin create and new user assign it to the administrators group and then in the Visual Admin try assigning the LCR* role to it.

It should work then.

Regards

Sidharth

Former Member
0 Kudos

Hello Deshpande,

when you told me that I have to create a new user and assign it to the administrators group, are you talking about Windows group and users ??

Because if I see My Computer --> Management --> Users and Groups --> the user J2EE_ADMIN (that was created during J2EE Add in installation) It is not assign to any group.

And it isn´t on the User List neither.

Where was created user J2EE_ADMIN ??

sid-desh
Advisor
Advisor
0 Kudos

Hi Andrea,

When i said that create a new user i meant in the UME ie using the http://<host>:<port>/useradmin

Then assign this user to the Administrators group.

And for this user assign the Lcr* roles using the Visual Administrator.

Regards

Sidharth

Former Member
0 Kudos

Hi,

I am trying to execute the flight example.

Initially i got lot of errors.

Now I am facing a problem to set up the SLD.

In the J2EE Engine SLD data Supplier settings for CIM Client Generation settings HTTP Setting Parameters are not known.

If u know what is the Host name,service,user and password.

and how to do proceed further.

Thanks in advance.

Regards,

Ram

sid-desh
Advisor
Advisor
0 Kudos

Hi Ram,

Have you done the basic settings in SLD. What i mean is that have you set the object server and the data supplier bridge under Administration -> server settings and Administration -> Data supplier bridge. Also you need to start the SLD server after setting the object server.

The object server name is the host name of the machine on which J2EE engine is running.

Then in CIM client generation settings and HTTP settings you need to give the host name (name of the server on which J2EE server is running) port 5XX00 XX - instance number and the user and password.

username - Administrator (WAS Java instance)

and password that you have given during installation.

Hope this helps

Regards

Sidharth