Changes between Initial Version and Version 1 of drmsUpdateJMD


Ignore:
Timestamp:
06/18/14 12:14:43 (10 years ago)
Author:
jennifer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • drmsUpdateJMD

    v1 v1  
     1Sometimes it is necessary to install a new JMD jar file.  JMD jar files are controlled by the VSO folks at the National Solar Observatory. If you are notified by the NSO that there is a new JMD jar file compatible with your current version of Java, you may wish to install it.  To do so: 
     2 
     31.  wget the jar file from the path given by the NSO. 
     42.  Go to your vso path for JMDs. E.g. /opt/vso/JMD_v1.6.4.0.nohmi/jar 
     53.  Copy the new jar file into the path for jar files.  There is no need to remove the old one; the JMD will know what to do and will pick up the correct file. 
     64.  Stop the current jmd process, either as the correct user or through sudo:  {{{sudo /opt/JMD/bin/JMD.sh stop}}} 
     75.  Make sure there is no other JMD process running.  {{{ps ax |grep java |grep JMD}}} 
     85.  Delete the current jetty database and its directory.  You will not lose NetDRMS data doing this action.  The JMD will install a new one one on restart.  It is important to delete the entire directory, not just its contents.   
     9{{{  
     10ls /opt/vso/derby/derbyDB/   
     11sudo rm -rf derbyDB 
     12}}} 
     136.  Restart the JMD and check the logs:  {{{sudo /opt/JMD/bin/JMD.sh start}}} 
     147.  Logs should say something like: 
     15{{{Jun 17, 2014 3:17:52 PM ServerJMD setLogLevel 
     16INFO: Setting new log level to [INFO] 
     172014-06-17 15:17:52.520:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT 
     18Jun 17, 2014 3:17:52 PM org.vso.jmd.JMD setLogLevel INFO: Setting new log level to [INFO] 
     19Jun 17, 2014 3:17:53 PM org.vso.jmd.JMD init INFO: Starting derby DB /opt/vso/derby/derbyDB at port 31001 
     20Jun 17, 2014 3:17:58 PM org.vso.jmd.JMD init INFO: ij connect string:[connect 'jdbc:derby://localhost:31001//opt/vso/derby/derbyDB';] on try 1 
     21Jun 17, 2014 3:18:01 PM org.vso.jmd.HouseKeepingThread run INFO: HouseKeepingThread: HouseKeeping heart beat ... 
     22Jun 17, 2014 3:18:01 PM org.vso.jmd.HouseKeepingThread run INFO: Compacting the derby Database 
     23Jun 17, 2014 3:18:01 PM org.vso.jmd.HouseKeepingThread run INFO: Derby Database Compacting Done 
     242014-06-17 15:18:01.530:INFO:oejs.NCSARequestLog:Opened /var/log/jmd/jetty-2014_06_17.request.log 
     252014-06-17 15:18:01.571:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080 
     26}}} 
     27with no errors about Jetty not restarting.   
     28 
     29 
     30