Bug 325571 - ISE When Logging In From Multiple Tabs
ISE When Logging In From Multiple Tabs
Status: CLOSED NOTABUG
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI (Show other bugs)
510
All Linux
low Severity low
: ---
: ---
Assigned To: Miroslav Suchý
Red Hat Satellite QA List
:
Depends On:
Blocks: 462714
  Show dependency treegraph
 
Reported: 2007-10-09 16:46 EDT by Devan Goodwin
Modified: 2011-09-16 09:51 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-09-16 09:51:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Devan Goodwin 2007-10-09 16:46:23 EDT
Description of problem:

ISE occurs when logging into satellite from a second browser tab.

How reproducible:

Very.

Steps to Reproduce:
1. Open two satellite login pages in multiple tabs of the same browser. (must
both be opened prior to logging in with either)
2. Submit the first login form.
3. Submit the second login form.

Results: 

ISE after logging into the second session and attempting to load any satellite
page. First session continues to operate normally.

Additional info:

Stack trace:

2007-10-09 17:40:43,274 [TP-Processor11] WARN 
com.redhat.rhn.frontend.action.LoginAction - calculateSecurityInfo

2007-10-09 17:40:43,274 [TP-Processor11] WARN 
com.redhat.rhn.common.security.SecurityManager - Populating visible pkgs for [admin]

2007-10-09 17:40:44,413 [TP-Processor1] WARN 
org.hibernate.engine.loading.LoadContexts - fail-safe cleanup (collections) :
org.hibernate.engine.loading.CollectionLoadContext@eba477<rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@18e0f79>

2007-10-09 17:40:45,200 [TP-Processor11] WARN 
org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class
com.redhat.rhn.common.db.ConstraintViolationException

2007-10-09 17:40:45,200 [TP-Processor11] ERROR
com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction.
Rolling back

javax.servlet.ServletException: ORA-00001: unique constraint
(RHNSAT.RHN_VIS_OBJS_SESS_OBJ_TYPE_IDX) violated



        at
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

        at
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:78)

        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:69)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)

        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:63)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:103)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:51)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:93)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)

        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)

        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)

        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)

        at java.lang.Thread.run(Thread.java:595)

Caused by: com.redhat.rhn.common.db.ConstraintViolationException: ORA-00001:
unique constraint (RHNSAT.RHN_VIS_OBJS_SESS_OBJ_TYPE_IDX) violated



        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)

        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)

        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)

        at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)

        at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)

        at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)

        at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)

        at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)

        at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)

        at
net.rkbloom.logdriver.LogPreparedStatement.execute(LogPreparedStatement.java:116)

        at
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:1908)

        at
com.redhat.rhn.common.db.NamedPreparedStatement.execute(NamedPreparedStatement.java:133)

        at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:397)

        at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:378)

        at
com.redhat.rhn.common.db.datasource.CachedStatement.executeUpdate(CachedStatement.java:263)

        at
com.redhat.rhn.common.db.datasource.WriteMode.executeUpdate(WriteMode.java:28)

        at
com.redhat.rhn.common.security.SecurityManager.populateVisiblePackages(SecurityManager.java:53)

        at
com.redhat.rhn.common.security.SecurityManager.calculateSecurityInfo(SecurityManager.java:43)

        at com.redhat.rhn.frontend.action.LoginAction.execute(LoginAction.java:108)

        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

        ... 41 more

Caused by: java.sql.SQLException: ORA-00001: unique constraint
(RHNSAT.RHN_VIS_OBJS_SESS_OBJ_TYPE_IDX) violated



        ... 61 more

2007-10-09 17:40:45,200 [RHN Message Dispatcher] ERROR
com.redhat.rhn.common.messaging.ActionExecutor - java.lang.NullPointerException

2007-10-09 17:40:45,406 [TP-Processor11] WARN 
org.hibernate.engine.loading.LoadContexts - fail-safe cleanup (collections) :
org.hibernate.engine.loading.CollectionLoadContext@e3a2bb<rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@40ba54>

2007-10-09 17:40:45,406 [TP-Processor11] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rhn].[action] -
Servlet.service() for servlet action threw exception

java.sql.SQLException: ORA-00001: unique constraint
(RHNSAT.RHN_VIS_OBJS_SESS_OBJ_TYPE_IDX) violated



        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)

        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)

        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)

        at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)

        at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)

        at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)

        at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)

        at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)

        at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)

        at
net.rkbloom.logdriver.LogPreparedStatement.execute(LogPreparedStatement.java:116)

        at
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:1908)

        at
com.redhat.rhn.common.db.NamedPreparedStatement.execute(NamedPreparedStatement.java:133)

        at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:397)

        at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:378)

        at
com.redhat.rhn.common.db.datasource.CachedStatement.executeUpdate(CachedStatement.java:263)

        at
com.redhat.rhn.common.db.datasource.WriteMode.executeUpdate(WriteMode.java:28)

        at
com.redhat.rhn.common.security.SecurityManager.populateVisiblePackages(SecurityManager.java:53)

        at
com.redhat.rhn.common.security.SecurityManager.calculateSecurityInfo(SecurityManager.java:43)

        at com.redhat.rhn.frontend.action.LoginAction.execute(LoginAction.java:108)

        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

        at
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:78)

        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:69)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)

        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:63)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:103)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:51)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:93)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)

        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)

        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)

        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)

        at java.lang.Thread.run(Thread.java:595)
Comment 2 Miroslav Suchý 2011-09-16 09:51:12 EDT
Does not happend any more neither in Spacewalk nor in Satellite 5.4.1

Note You need to log in before you can comment on or make changes to this bug.