[jboss-cvs] jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server ...

Robert Stryker rawblem at gmail.com
Tue Nov 14 01:22:56 EST 2006


  User: rawb    
  Date: 06/11/14 01:22:55

  Modified:    as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server 
                        JBossServerBehavior.java
  Log:
  Server poller used wrong default for whether to ignore or continue with server start / failure
  
  Revision  Changes    Path
  1.13      +13 -9     jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/JBossServerBehavior.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JBossServerBehavior.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/JBossServerBehavior.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- JBossServerBehavior.java	10 Nov 2006 04:53:54 -0000	1.12
  +++ JBossServerBehavior.java	14 Nov 2006 06:22:55 -0000	1.13
  @@ -82,7 +82,8 @@
   			return;
   		}
   		
  -		
  +		Thread t = new Thread() {
  +			public void run() {
   		// Otherwise execute a shutdown attempt
   		try {
   			// Set up our launch configuration for a STOP call (to shutdown.jar)
  @@ -91,6 +92,9 @@
   		} catch( Exception e ) {
   		}
   	}
  +		};
  +		t.start();
  +	}
   	
   	protected void forceStop() {
   		// just terminate the processes. All of them
  @@ -201,7 +205,7 @@
   			JBossServer jbs = ((JBossServer)getServer().loadAdapter(JBossServer.class, null));
   			ServerAttributeHelper helper = (ServerAttributeHelper)jbs.getAttributeHelper();
   				
  -			boolean behavior = helper.getAttribute(IServerPollingAttributes.TIMEOUT_BEHAVIOR, true);
  +			boolean behavior = helper.getAttribute(IServerPollingAttributes.TIMEOUT_BEHAVIOR, IServerPollingAttributes.TIMEOUT_IGNORE);
   			if( behavior == IServerPollingAttributes.TIMEOUT_ABORT ) 
   				return !expectedState;
   
  
  
  



More information about the jboss-cvs-commits mailing list