/[TIS-4000 Rel T60]/scripts/startJava
ViewVC logotype

Contents of /scripts/startJava

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Wed Aug 16 12:54:11 2000 UTC (23 years, 1 month ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, Duluth_baseline, HEAD
Script files called by start_TIS and stop_TIS. - Tomalesky

1 #!/usr/bin/csh
2 #
3 # Before starting any of the servers, check to see if they
4 # are already running
5 #
6 set javaprocesses = (OPTServer TagvuServer OpNoteServer)
7 echo "Starting Java servers"
8 foreach jproc ($javaprocesses)
9 set pid=`/usr/bin/ps -ef | grep $jproc | grep -v grep | awk '{print $2}'`
10 if ($#pid == 0) then
11 echo ""
12 echo "****** Starting $jproc ******"
13 echo ""
14 java -jar $jproc.jar &
15 sleep 5
16 endif
17 end

  ViewVC Help
Powered by ViewVC 1.1.30