Roles management

Hi,

I’m facing a problem that I can’t understand. In my local machine, when I click in “Administration -> Roles”, the window loads. But when I do the same action in other environment (pre-production) the window doesn’t load. The progress bar keeps flashing, and the window never loads.

I’m using the same database, so I understand that it can’t be the problem. In the log file, there are no errors. This is the only message that I can see:

17:31:07.857 DEBUG c.haulmont.cuba.core.app.RdbmsStore - loadList: metaClass=sec$User, view=com.haulmont.cuba.security.entity.User/user.browse, query=select u from sec$User u, max=50

Have you got any idea?

Thank you very much.

Hi,
If you think that your application is hung or just waiting for a long time for some operation, you can use the jstack command line tool to take the thread dump from the running application:

If the application is hung in some point of the code, you will see it in the stacktrace of one of threads.

Hi Alex,

Thanks for your reply. It seems that there is no problem with hung threads. It also happens in report management tab and user groups tab. From my local computer, there is no problem. When I deploy it, these tabs get stucked.

What can I do?

Thanks.

I would open Developer Tools in the browser (F12 in Chrome) and check for some errors in JS console, http errors or hung requests.

It may be a network communication problem between application server and your computer, such as incorrectly set up proxy server.

Hi Alex,

I’ve opened the Developer Tools and I can see the following problem:

image

It only appears in Chrome. How could I fix it?

Thanks in advance.

Are you embedding CUBA application into iframe?

No, I don’t understand why is showing that error message.