Server Management - Systems Insight Manager
1831435 Members
3406 Online
110025 Solutions
New Discussion

Re: Problem with users and authorizations

 
David Latorre
Advisor

Problem with users and authorizations

Hello,

I´m using HPSIM 5.0 (on a Windows server) and I have a problem with users and authorizations, new users can´t see the left panel with the list of systems and events. Instead of that, what I get is a java exception like the one I post below, no matter the rights and authorizations I assign the users...

Any idea? Something missing?

Furthermore, I can´t delete users either, even though I have also tried with the mxuser command...

Thanks in advance

David


Output exception:

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor369.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)

2 REPLIES 2
David Latorre
Advisor

Re: Problem with users and authorizations

After a lot of testing, I have finally given up and reinstalled HPSIM. Now it works fine.

The problem is that this has happened twice to me (once in my test server and the other in the final server) and I´m not sure it won´t happen again...

In my test server I had restored a backup from my final server, changing several parameters as stated in the docs. Perhaps, the cause there was that there were still some parameters missing but I don´t have a clue why my final server is working wrongly since it´s a fresh installation.

Any idea why this could have happened? It would be very valuable to know the cause, since otherwise I would have to reinstall and reconfigure the final server again...

David
David Latorre
Advisor

Re: Problem with users and authorizations

Finally I found the problem and how to fix it:

The problem was that I was using several characters seemingly not permitted in the name of my queries (vowels with accent and "ñ"). Amazingly it only crashed for users created after the queries had been created... misteries of the HPSIM...

It´s possible to fix it without having to reinstall HPSIM. All you have to do is to remove all the wrong queries...

David