starting Java service

Clovertech Forums Read Only Archives Cloverleaf Operating Systems starting Java service

  • Creator
    Topic
  • #53813
    Robert Denny
    Participant

      We are running linux version 2.6.18-238.e15PAE

      and Cloverleaf 5.7rev2.

      We are working on rebooting documentation and we need to be sure that we have this correct.

      Linux and Cloverleaf cannot manage the host server if it is started in any other directory than INTEGRATOR/SERVER.

    Viewing 0 reply threads
    • Author
      Replies
      • #79029
        Russ Ross
        Participant

          We are running on AIX but I checked my start_hs.ksh script that I wrote for starting the cloverleaf host server because I remembered that the host server will create log files in the directory it is started from.

          Using a start_hs.ksh script means we don’t have to remember what extra steps might be prudent and could be overlooked or forgotten and I see it does a cd to $HCIROOT/server/logs first in our case.

          In our case unsetting the display was the original motivation for doing this because we start the host server from a backend xterm and if the display was set and you started the host server from an xterm it will result in host server malfunction in a random fashion.

          Here is the entire start_hs.ksh script we have been using to start the host server for cloverleaf 5.2 thru current cloverleaf 6.0:

          #!/usr/bin/ksh

          cd $HCIROOT/server/logs
          myDISPLAY=$DISPLAY
          unset DISPLAY

          # here is an environment variable that can be set if a process uses to much paging space
          # that is discussed at this URL:
          [code]#!/usr/bin/ksh

          cd $HCIROOT/server/logs
          myDISPLAY=$DISPLAY
          unset DISPLAY

          # here is an environment variable that can be set if a process uses to much paging space
          # that is discussed at this URL:

          Russ Ross
          RussRoss318@gmail.com

      Viewing 0 reply threads
      • The forum ‘Operating Systems’ is closed to new topics and replies.