cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to login into Visual Administrator

Former Member
0 Kudos

Hi,

i was working on Delpoying a Web Application using JAAS.

Ones I restarted the Server I am not able to login into the Visual Administrator.

i get the following error.

com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.jndi.persistent.exceptions.SecurityException: Cannot get InitialContext, operation is not allowed.]

Thanks in Advance.

Regards,

Divakar

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185864
Active Participant
0 Kudos

Hi Divakar,

I guess you are giving wrong port number.

try once, according to below steps;

For openting Visual Admin, just follow below steps:

1. Go to <Driver>:\usr\sap\<SID>\<Instance num>\j2ee\admin --> click on go.bat

ex: C:\usr\sap\X67\JC01\j2ee\admin --> go.bat

2. you will get logon dialog box; Click on "New" button.

3. Enter "Display Name" and Choose "Direct Connection to Dispatcher Node" then sya "Next".

4. Give UserName, Host and Port number.

5. Save

6. Click on "Connect" button then enter Password of User.

Note:

How to find the Port number.

You can find you engin Port number in folder structure.

<driver>:\usr\sap\<Instance ID>\ JC<Instance Num>\

Please find below information

ex: C:\usr\sap\X67\JC01\j2ee\cluster

As per above example C:\usr\sap\X67\JC01 -->( <driver>:\usr\sap\<Instance ID>\ JC<Instance Num>\ )

Instance number is : 01

Port number = 50000 + 100 * Instance number + Port Index

Port Num = 50000 + 100 * 01 + 04 = 50104

Now you can find you port number according to above steps:

In Visual Admin we are using P4 Port. this port index is 04;

Plz check URL. http://help.sap.com/saphelp_nw70/helpdata/en/a2/f9d7fed2adc340ab462ae159d19509/frameset.htm

Please give points; if it is realy helpfull.

Thanks,

Nagaraju

Former Member
0 Kudos

Hi Nagaraju,

I try configure the new connection with the following steps.

Direct Connection to Dispatcher Node

User: SAP*

Hostname: MXMTYPLZ03 or IP Address

Port : 50104

But send the same error :

Exception while trying to get InitialContext

Please help me for resolve these issue.

Best Regards,

Roberto

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Maybe you have locked your server somehow?

For unlocking see my weblog /people/benny.schaich-lebek/blog/2004/04/13/how-to-unlock-your-java-admin

Regards,

Benny

Former Member
0 Kudos

Hi,

Sorry for the delayed reply.

I tried to start the server on 'Emergency User Store' but landed in the following error when i tried to active the 'UME User Store' on 'Step 6: Test Administrator Of New User Store'

error: 'user is not an administrator! Not in role <jndi_get_initialcontext> of policy cofiguration <service.naming>'

Regards,

S.Divakar

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Sorry,

I don't get what you are doing here. This step 6, where does it come from? The Config tool should be not connected to users...

Regards,

Benny

Former Member
0 Kudos

Hi All,

I am trying to unlock my visual admin user account by following the blog enclosed /people/benny.schaich-lebek/blog/2004/04/13/how-to-unlock-your-java-admin but after I enable the SAP* user and login I get the following errror -

Error while connecting

com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.jndi.persistent.exceptions.SecurityException: Naming permission jndi_get_initial_context not defined on the server.]

Any idea whats wrong?

Thanks for all your help in advance.

Regards,

Divya

former_member4251
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Divya,

I guess is time to ask to SAP for support.... please proceed to open a <a href="http://service.sap.com/message">Customer Message</a> and select the following component: BC-JAS-SEC-UME

You can select the priority high or Very High (only emergency).

There are consultants 24x7 working to solve your problem!

Thanks and regards, Luis

Former Member
0 Kudos

Hi Luis,

When I try to login a message it prompts me with a bunch of systems based out of our office. But, currently I am facing this problem on my local client WAS installation of SAPNW2004sJavaSP9_Trial version.

Kindly advice.

Regards,

Divya

Former Member
0 Kudos

Hi Luis Felipe

I have the SAP Portal NW 2004s SP9

I have the same error, unable to login Visual Administrator

In the first step, try change for login SAP* in the Visual Administrator, but don't login with these user.

In the second step, try apply the note 845302 and don't resolve these issue

Please help us, for resolve these issue

Best Regards,

Roberto