This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 4856

Summary: It it isn`t possible set property Running of HttpServer to false from internal exeution.
Product: ide Reporter: pzajac <pzajac>
Component: Internal ServerAssignee: Petr Jiricka <pjiricka>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description pzajac 1999-12-02 22:32:18 UTC
Simple example :

public static void main (String args[]) {
       ControlPanel cp = TopManager.getDefault().getControlPanel();
      SystemOption sos[] = cp.getSystemOptions();
      int i = 0;
      for ( i=0; i < sos.length ; i++ ) {
        if (sos[i].getName().equals ("HTTP Server") ){
           HttpServerSettings hs = (HttpServerSettings) sos[i];
           hs.setRunning (false);
          break;
        }
      }
  }
}
preperty is not changed in property sheet and server was not runned.
In setRunning method is property changed by


firePropertyChange("running", new Boolean(!running), new Boolean(running));
Comment 1 Quality Engineering 2003-07-01 09:35:02 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 2 Quality Engineering 2010-07-13 03:30:04 UTC
Integrated into 'main-golden', will be available in build *201007130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/84fb44ea0e2b
User: Jesse Glick <jglick@netbeans.org>
Log: Timeout in NB-Core-Build #4856 and at other times recently.