If you bring up a mangement console when nothng is listening, instead of exiting, the exception gets trapped and reported on the console. The GUI still thinks it is live.
sfManagementConsole
SFHOME undefined, using /home/slo/Projects/SmartFrog/Forge/core/smartfrog/dist as base directory
Starting management window...
sfManagementConsole connecting to localhost:3800
Error: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
Exception in thread "main" org.smartfrog.sfcore.security.ExitTrappingSecurityManager$SystemExitException: SystemExit with status code 1 blocked
at org.smartfrog.sfcore.security.ExitTrappingSecurityManager.checkExit(ExitTrappingSecurityManager.java:54)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:906)
at org.smartfrog.services.management.SFDeployDisplay.exitWith(SFDeployDisplay.java:390)
at org.smartfrog.services.management.SFDeployDisplay.main(SFDeployDisplay.java:119)
Description
If you bring up a mangement console when nothng is listening, instead of exiting, the exception gets trapped and reported on the console. The GUI still thinks it is live.
sfManagementConsole
SFHOME undefined, using /home/slo/Projects/SmartFrog/Forge/core/smartfrog/dist as base directory
Starting management window...
sfManagementConsole connecting to localhost:3800
Error: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
Exception in thread "main" org.smartfrog.sfcore.security.ExitTrappingSecurityManager$SystemExitException: SystemExit with status code 1 blocked
at org.smartfrog.sfcore.security.ExitTrappingSecurityManager.checkExit(ExitTrappingSecurityManager.java:54)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:906)
at org.smartfrog.services.management.SFDeployDisplay.exitWith(SFDeployDisplay.java:390)
at org.smartfrog.services.management.SFDeployDisplay.main(SFDeployDisplay.java:119)
Steve Loughran added a comment - 23/Jan/09 04:05 PM (GMT)
And don't think about trying to close it from the gui
Exiting console
Exception in thread "AWT-EventQueue-0" org.smartfrog.sfcore.security.ExitTrappingSecurityManager$SystemExitException: SystemExit with status code 0 blocked
at org.smartfrog.sfcore.security.ExitTrappingSecurityManager.checkExit(ExitTrappingSecurityManager.java:54)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:906)
at org.smartfrog.services.display.Display.exit(Display.java:966)
at org.smartfrog.services.display.Display.this_windowClosing(Display.java:869)
at org.smartfrog.services.display.Display$Display_this_windowAdapter.windowClosing(Display.java:1999)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.Window.processWindowEvent(Window.java:1845)
at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
at java.awt.Window.processEvent(Window.java:1803)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Steve Loughran added a comment - 23/Jan/09 04:05 PM (GMT) And don't think about trying to close it from the gui
Exiting console
Exception in thread "AWT-EventQueue-0" org.smartfrog.sfcore.security.ExitTrappingSecurityManager$SystemExitException: SystemExit with status code 0 blocked
at org.smartfrog.sfcore.security.ExitTrappingSecurityManager.checkExit(ExitTrappingSecurityManager.java:54)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:906)
at org.smartfrog.services.display.Display.exit(Display.java:966)
at org.smartfrog.services.display.Display.this_windowClosing(Display.java:869)
at org.smartfrog.services.display.Display$Display_this_windowAdapter.windowClosing(Display.java:1999)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.Window.processWindowEvent(Window.java:1845)
at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
at java.awt.Window.processEvent(Window.java:1803)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exiting console
Exception in thread "AWT-EventQueue-0" org.smartfrog.sfcore.security.ExitTrappingSecurityManager$SystemExitException: SystemExit with status code 0 blocked
at org.smartfrog.sfcore.security.ExitTrappingSecurityManager.checkExit(ExitTrappingSecurityManager.java:54)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:906)
at org.smartfrog.services.display.Display.exit(Display.java:966)
at org.smartfrog.services.display.Display.this_windowClosing(Display.java:869)
at org.smartfrog.services.display.Display$Display_this_windowAdapter.windowClosing(Display.java:1999)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.Window.processWindowEvent(Window.java:1845)
at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
at java.awt.Window.processEvent(Window.java:1803)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)