Revision f4335b0e
Added by Patrick Plitzner almost 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java | ||
---|---|---|
735 | 735 |
|
736 | 736 |
// the following loop is a 'fake' progress monitoring where the progress |
737 | 737 |
// bar is advanced by one unit every second until maxUnits -2 |
738 |
while(!CdmStore.getManagedServer().isStarted()) { |
|
738 |
while(!CdmStore.getManagedServer().isStarted() && !CdmStore.getManagedServer().isFailed()) {
|
|
739 | 739 |
if(serverUnits < maxUnits - 2) { |
740 | 740 |
try { |
741 | 741 |
Thread.sleep(1000); |
... | ... | |
748 | 748 |
Display.getDefault().asyncExec(new Runnable() { |
749 | 749 |
@Override |
750 | 750 |
public void run() { |
751 |
hide(false); |
|
752 |
updateManagedServerControls(); |
|
753 |
connect(); |
|
754 |
} |
|
751 |
hide(false);
|
|
752 |
updateManagedServerControls();
|
|
753 |
connect();
|
|
754 |
}
|
|
755 | 755 |
}); |
756 | 756 |
} catch (IOException ioe) { |
757 | 757 |
MessagingUtils.errorDialog("Error generating server config file", |
Also available in: Unified diff
Throw exception when server startup fails #5812