AppD Archive

Exception After Logging In - Linux

CommunityUser
Splunk Employee
Splunk Employee

I've gone through the installation and can get the login page. But after I log in, the controller app throws an exception:

[#|2014-05-05T16:46:20.873-0400|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.ExceptionHandlingInterceptor|_ThreadID=146;_ThreadName=Thread-6;|Encountered a server exception
com.singularity.ee.controller.api.exceptions.InternalServerException: Invalid principal name: ANONYMOUS
        at com.singularity.ee.controller.beans.AControllerSessionBean.getUserFromCallerPrincipal(AControllerSessionBean.java:324)
        at com.singularity.ee.controller.beans.AControllerSessionBean._getCurrentAccount(AControllerSessionBean.java:221)
        at com.singularity.ee.controller.beans.model.AConfigObjectPersistorBean._getAllEntities(AConfigObjectPersistorBean.java:323)
        at com.singularity.ee.controller.beans.model.AConfigObjectPersistorBean._getAll(AConfigObjectPersistorBean.java:299)
        at com.singularity.ee.controller.beans.model.ApplicationManagerBean.getAllApplications(ApplicationManagerBean.java:535)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        ...

[#|2014-05-05T16:46:20.876-0400|SEVERE|glassfish3.1.2|com.sun.jersey.spi.container.ContainerResponse|_ThreadID=146;_ThreadName=Thread-6;|The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
com.singularity.ee.controller.api.exceptions.InternalServerException: Invalid principal name: ANONYMOUS
        at com.singularity.ee.controller.beans.AControllerSessionBean.getUserFromCallerPrincipal(AControllerSessionBean.java:324)
        at com.singularity.ee.controller.beans.AControllerSessionBean._getCurrentAccount(AControllerSessionBean.java:221)
        at com.singularity.ee.controller.beans.model.AConfigObjectPersistorBean._getAllEntities(AConfigObjectPersistorBean.java:323)
        at com.singularity.ee.controller.beans.model.AConfigObjectPersistorBean._getAll(AConfigObjectPersistorBean.java:299)
        at com.singularity.ee.controller.beans.model.ApplicationManagerBean.getAllApplications(ApplicationManagerBean.java:535)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        ...

After this all I get is the spinning loading image and the flash code doesn't launch. I've tried uninstalling/reinstalling, have gone through the docs, and searched the forums but can't find any more info on how to resolve this. I didn't encounter this when installing on a windows machine so it's probably something Linux specific. Any help would be appreciated. Thanks!

0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you please send the following logs and details to debug further:

- screenshot from controller UI depiciting the issue?

- zipped version of logs folder under <Controller_install_dir>/logs path

We understood that you have logged in controller UI successfully but the UI keeps loading and shows spinning icon, if this is the case, Can you hit the URL http://<Contrller_host>:<port>/controller in another tab and see if that loads fine while you provide the logs to debug?

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Arun,

I've attached a screenshot of what happens right after I log in. The app authenticates me but doesn't load the UI, even if I try it in another tab. It appears the request thread stops due to the exception thrown.

I sent you a link to the zipped logs in a private message.

Thanks for your help

0 Karma

Arun_Dasetty
Super Champion

Hi,

You might need to raise ticket at https://help.appdynamics.com/tickets/new Or need to send email to help@appdynamics.com to quicker resolution if the following steps does not help:

- Can you confirm whether you have installed same controller version 3.8.1 as per  logs in windows and did not such issue?

- We see such issues due to session timeout, Can you clear browser cache and flash cache and make sure you have not opened controller flash UI in multiple tabs and check how it goes after login?

- How frequent this error raises? When the UI shows its spinning can you hit the URI http://<controller-host>:<port>/controller and see if that loads UI fine with out errors?

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks, I sent an email along w/ the screenshot and logs.

  • I can confirm that I used the same version for windows and linux and am only having the issue on linux
  • Even after clearning my browser cache and cookies the error still occurs. I have not been able to successfully logged into the web app yet.
  • When the UI shows the spinning icon and I try to direct the browser to http://<controller-host>:<port>/controller/#/location=AD_HOME (the page I'm redirected to after logging in), I am presented the log in screen again.

Thanks for your help on this

0 Karma

Arun_Dasetty
Super Champion

Hi,

We apologize for the convenience caused, Can you please raise a support ticket as i suggested earlier at help.appdynamics.com or help@appdynamics.com to assist you faster so that our support team with get in call with you for better clarity of the issue ?

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...