"Export to CSV" fails for reports in JBoss ON UI

Solution Verified - Updated -

Issue

  • Trying to export Suspect Metrics Report but receive below message:
"User was authorized, but has no rights for the operation. If this is an LDAP user, the user needs to log in to the UI and complete registration."
  • Using rhqadmin the server.log contains:
java.lang.IllegalAccessException: Failed to validate request: could not access subject for request URL http://jonserver:7080/coregui/reports/suspectMetrics.csv
    at org.rhq.enterprise.server.rest.ReportsInterceptor.setCaller(ReportsInterceptor.java:88) [rhq-server.jar:4.12.0.JON330GA-redhat-6]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_102]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_102]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_102]
    at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_102]
    at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89) [jboss-as-ee-7.5.8.Final-redhat-2.jar:7.5.8.Final-redhat-2]
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
    at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
    at org.rhq.enterprise.server.common.PerformanceMonitorInterceptor.monitorHibernatePerformance(PerformanceMonitorInterceptor.java:32) [rhq-server.jar:4.12.0.JON330GA-redhat-6]
    at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) [:1.8.0_102]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_102]
    at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_102]...

Environment

  • Red Hat JBoss Operations Network (ON) 3.3.6
  • Chrome Browser

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content