跳转到主内容

启用审核远程日志记录后无法登录到 AIQUM GUI

Views:
48
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

适用于

  • ActiveIQ Unified Manager (AIQUM) 9.9+ (RHEL/OVA)
  • 远程 syslog 服务器
  • Java 空指针异常 (NPE)

问题描述

  • 无法通过本地或远程用户访问 AIQUM GUI
  • 无法访问 AIQUM swagger 页面(https://aiqum/docs/api)出现错误 401 - 未授权
  • 在登录页面输入凭据后,Sign in 永远无法完成
  • /var/log/ocie/server.log
 
ERROR [io.undertow.request] (default task-8) UT005023: Exception handling request to /login: org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update AuthorizationUnit set authorizationUnitType=?, contact=?, emailAddress=?, locked=?, loginAttempts=?, loginTimeStamp=?, name=?, objVersion=?, passwordHash=?, passwordSalt=?, passwordResetTokenExpirationDate=?, passwordResetTokenHash=?, passwordResetTokenSalt=?, role_id=? where id=? and objVersion=?; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update AuthorizationUnit set authorizationUnitType=?, contact=?, emailAddress=?, locked=?, loginAttempts=?, loginTimeStamp=?, name=?, objVersion=?, passwordHash=?, passwordSalt=?, passwordResetTokenExpirationDate=?, passwordResetTokenHash=?, passwordResetTokenSalt=?, role_id=? where id=? and objVersion=?
at deployment.dfm-app.war//org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:254) [spring-orm-5.3.20.jar:5.3.20]
at deployment.dfm-app.war//org.springframework.orm.hibernate5.SessionFactoryUtils.flush(SessionFactoryUtils.java:120) [spring-orm-5.3.20.jar:5.3.20]
at deployment.dfm-app.war//org.springframework.orm.hibernate5.SpringSessionSynchronization.beforeCommit(SpringSessionSynchronization.java:95) [spring-orm-5.3.20.jar:5.3.20]
 
.....
 
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update AuthorizationUnit set authorizationUnitType=?, contact=?, emailAddress=?, locked=?, loginAttempts=?, loginTimeStamp=?, name=?, objVersion=?, passwordHash=?, passwordSalt=?, passwordResetTokenExpirationDate=?, passwordResetTokenHash=?, passwordResetTokenSalt=?, role_id=? where id=? and objVersion=?
 
 
ERROR [io.undertow.request] (default task-8) UT005022: Exception generating error page /error: javax.servlet.ServletException: UT010051: Deployment dfm-app.war has stopped
at io.undertow.servlet@2.2.14.Final//io.undertow.servlet.core.ManagedServlet.getServlet(ManagedServlet.java:190) [undertow-servlet-2.2.14.Final.jar:2.2.14.Final]
at io.undertow.servlet@2.2.14.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:73) [undertow-servlet-2.2.14.Final.jar:2.2.14.Final]
 
....
 
[io.undertow.request] (default task-4) UT005023: Exception handling request to /login: java.lang.NullPointerException
at org.wildfly.transaction.client@2.0.0.Final//org.wildfly.transaction.client.ContextTransactionManager.begin(ContextTransactionManager.java:62) [wildfly-transaction-client-2.0.0.Final.jar:2.0.0.Final]
at org.wildfly.transaction.client@2.0.0.Final//org.wildfly.transaction.client.LocalUserTransaction.begin(LocalUserTransaction.java:48) [wildfly-transaction-client-2.0.0.Final.jar:2.0.0.Final]
at deployment.dfm-app.war//org.springframework.transaction.jta.JtaTransactionManager.doJtaBegin(JtaTransactionManager.java:886) [spring-tx-5.3.21.jar:5.3.21]
at deployment.dfm-app.war//org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:849) [spring-tx-5.3.21.jar:5.3.21]
 
....
 
[io.undertow.request] (default task-4) UT005022: Exception generating error page /error: java.lang.IllegalStateException: UT015023: This Context has been already destroyed
at io.undertow.servlet@2.2.14.Final//io.undertow.servlet.spec.ServletContextImpl.getDeploymentInfo(ServletContextImpl.java:211) [undertow-servlet-2.2.14.Final.jar:2.2.14.Final]
at io.undertow.servlet@2.2.14.Final//io.undertow.servlet.spec.ServletContextImpl.getContextPath(ServletContextImpl.java:217) [undertow-servlet-2.2.14.Final.jar:2.2.14.Final]
 
 
....
 
[io.undertow.request.io] (default task-3) UT005090: Unexpected failure: java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
at org.jboss.xnio.nio@3.8.5.Final//org.xnio.nio.WorkerThread.execute(WorkerThread.java:620)
at org.jboss.xnio@3.8.5.Final//org.xnio.channels.EmptyStreamSourceChannel.shutdownReads(EmptyStreamSourceChannel.java:184)
at io.undertow.servlet@2.2.14.Final//io.undertow.servlet.spec.ServletInputStreamImpl.close(ServletInputStreamImpl.java:278) [undertow-servlet-2.2.14.Final.jar:2.2.14.Final]
....
 
ERROR [io.undertow.request] (default task-12) UT005023: Exception handling request to /login: java.lang.IllegalStateException: UT000021: Session already invalidated
   at io.undertow.core@2.2.14.Final//io.undertow.server.session.InMemorySessionManager$SessionImpl.invalidate(InMemorySessionManager.java:610) [undertow-core-2.2.14.Final.jar:2.2.14.Final]

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.