geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shiv...@apache.org
Subject svn commit: r575003 - /geronimo/devtools/eclipse-plugin/branches/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerBehaviourDelegate.java
Date Wed, 12 Sep 2007 16:03:01 GMT
Author: shivahr
Date: Wed Sep 12 09:03:01 2007
New Revision: 575003

URL: http://svn.apache.org/viewvc?rev=575003&view=rev
Log:
Fix for GERONIMODEVTOOLS-193 until GERONIMO-3467 is fixed.

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerBehaviourDelegate.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerBehaviourDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerBehaviourDelegate.java?rev=575003&r1=575002&r2=575003&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerBehaviourDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerBehaviourDelegate.java
Wed Sep 12 09:03:01 2007
@@ -686,7 +686,14 @@
 		if (url != null) {
 			try {
 				JMXServiceURL address = new JMXServiceURL(url);
-				JMXConnector jmxConnector = JMXConnectorFactory.connect(address, map);
+				JMXConnector jmxConnector;
+				try {
+					jmxConnector = JMXConnectorFactory.connect(address, map);
+				} catch (SecurityException se) {
+					//FIXME once GERONIMO-3467 JIRA is fixed
+					Thread.sleep(10000);
+					jmxConnector = JMXConnectorFactory.connect(address, map);
+				}
 				MBeanServerConnection connection = jmxConnector.getMBeanServerConnection();
 				Trace.trace(Trace.INFO, "Connected to kernel. " + url);
 				return connection;



Mime
View raw message