Changeset 28862 for main/trunk
- Timestamp:
- 2014-02-27T14:38:11+13:00 (10 years ago)
- Location:
- main/trunk/greenstone3/src/java/org/greenstone/admin/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/admin/gui/ConfPane.java
r27941 r28862 542 542 Runnable startupTomcatThread = threadControl.new startupTomcatServer("start-tomcat"); 543 543 new Thread(startupTomcatThread).start(); 544 threadControl.destroy();545 544 tomcat_server_up = true; 546 545 JOptionPane.showMessageDialog((Component) null, "Tomcat server has been Startup successfully!"); … … 564 563 Runnable shutdownTomcatThread = threadControl.new shutdownTomcatServer("stop-tomcat"); 565 564 new Thread(shutdownTomcatThread).start(); 566 threadControl.destroy();567 565 tomcat_server_up = false; 568 566 JOptionPane.showMessageDialog((Component) null, "Tomcat server has been shutted down !"); … … 598 596 Runnable restartTomcatThread = threadControl.new restartTomcatServer("restart-tomcat"); 599 597 new Thread(restartTomcatThread).start(); 600 threadControl.destroy();601 598 tomcat_server_up = true; 602 599 JOptionPane.showMessageDialog((Component) null, "Tomcat server has been Restarted successfully!"); … … 621 618 Runnable startupMysqlThread = threadControl.new startupMysqlServer("start-mysql"); 622 619 new Thread(startupMysqlThread).start(); 623 threadControl.destroy();624 620 mysql_server_up = true; 625 621 JOptionPane.showMessageDialog((Component) null, "MYSQL server has been Startup successfully!"); … … 643 639 Runnable shutdownMysqlThread = threadControl.new shutdownMysqlServer("stop-mysql"); 644 640 new Thread(shutdownMysqlThread).start(); 645 threadControl.destroy();646 641 JOptionPane.showMessageDialog((Component) null, "MYSQL server has been Shutdown successfully !"); 647 642 mysql_server_up = false; … … 666 661 Runnable restartMysqlThread = threadControl.new restartMysqlServer("restart-mysql"); 667 662 new Thread(restartMysqlThread).start(); 668 threadControl.destroy();669 663 JOptionPane.showMessageDialog((Component) null, "MYSQL server has been Restarted successfully!"); 670 664 mysql_server_up = true; -
main/trunk/greenstone3/src/java/org/greenstone/admin/gui/ThreadControl.java
r24408 r28862 270 270 271 271 272 public void destroy(){273 }274 272 } 275 273
Note:
See TracChangeset
for help on using the changeset viewer.