You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gr...@apache.org on 2010/10/03 18:13:55 UTC

svn commit: r1003987 - /qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java

Author: grkvlt
Date: Sun Oct  3 16:13:55 2010
New Revision: 1003987

URL: http://svn.apache.org/viewvc?rev=1003987&view=rev
Log:
QPID-2892: Catch Exception on signal handler failure

Modified:
    qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java

Modified: qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java?rev=1003987&r1=1003986&r2=1003987&view=diff
==============================================================================
--- qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java (original)
+++ qpid/branches/0.5.x-dev/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java Sun Oct  3 16:13:55 2010
@@ -123,9 +123,10 @@ public class ServerConfiguration impleme
             Signal sig = new sun.misc.Signal("HUP");
             sun.misc.Signal.handle(sig, this);
         }
-        catch (IllegalArgumentException e)
+        catch (Exception e)
         {
-            // We're on something that doesn't handle SIGHUP, how sad, Windows. 
+            _log.error("Signal HUP not supported for OS: " + System.getProperty("os.name"));
+            // We're on something that doesn't handle SIGHUP, how sad, Windows.
         }
     }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org