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 - It it isn`t possible set property Running of HttpServer to false from internal exeution.
Summary: It it isn`t possible set property Running of HttpServer to false ...
Status: CLOSED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-02 22:32 UTC by pzajac
Modified: 2010-07-13 03:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.