Cannot access the web interface (Internal Server Error) after upgrading from Satellite 5.4.1 to 5.6 when using Asia / Hong Kong timezone for Satellite user locale

Solution Unverified - Updated -

Issue

  • Cannot access the web interface after upgrading from Red Hat Satellite 5.4.1 to Red Hat Satellite 5.6
/var/log/tomcat*/catalina.out
2014-02-11 16:27:46,296 [TP-Processor1] WARN  org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class com.redhat.rhn.common.hibernate.HibernateRuntimeException
2014-02-11 16:27:46,302 [TP-Processor1] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
javax.servlet.ServletException: com.redhat.rhn.common.hibernate.HibernateRuntimeException: Executing query User.findByLogin with params {loginUc=satadmin} failed
        at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
      ....
Caused by:
com.redhat.rhn.common.hibernate.HibernateRuntimeException: Executing query User.findByLogin with params {loginUc=satadmin } failed
        at com.redhat.rhn.common.hibernate.HibernateFactory.lookupObjectByNamedQuery(HibernateFactory.java:190)
        at com.redhat.rhn.common.hibernate.HibernateFactory.lookupObjectByNamedQuery(HibernateFactory.java:160)
        at com.redhat.rhn.domain.user.UserFactory.lookupByLogin(UserFactory.java:255)
        at com.redhat.rhn.manager.user.UserManager.loginUser(UserManager.java:417)
        at com.redhat.rhn.frontend.action.LoginAction.loginUser(LoginAction.java:220)
        at com.redhat.rhn.frontend.action.LoginAction.execute(LoginAction.java:101)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        ... 40 more
Caused by:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.redhat.rhn.domain.user.legacy.UserInfo#2]
        at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:420)

Environment

  • Red Hat Satellite 5.4.1
  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.