Bug 536594 (RHQ-928)

Summary: IllegalStateException in ShutdownListener when i try to shutdown the server through the console/terminal (ctrl+c capture)
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: Core ServerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.1preCC: cwelton
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-928
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:36:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628    

Description Joseph Marques 2008-10-02 23:00:00 UTC
18:56:41,565 INFO  [WebappClassLoader] Illegal access: this web application instance has been stopped already.  Could not load org.rhq.core.domain.cluster.Serve
r$OperationMode.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which cau
sed the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at org.rhq.enterprise.gui.startup.ShutdownListener.handleNotification(ShutdownListener.java:56)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
        at $Proxy356.handleNotification(Unknown Source)
        at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
        at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
        at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
        at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1029)
        at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:996)

Comment 1 Red Hat Bugzilla 2009-11-10 21:19:49 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-928


Comment 2 wes hayutin 2010-02-16 16:59:20 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 17:04:29 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-10-05 13:36:12 UTC
Closing per triage