How to update the eHealth tomcat configuration

Document ID : KB000021029
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

If the eHealth tomcat configuration has somehow been corrupted the nhWebUtil command can be used to rewrite the configuration.

 

Answer:

  1. Make sure the following environmental variables are correct:

    NH_DB_CONNECT_STRING
    NH_RDBMS_NAME
    NH_USER
    NH_HOME
  2. Run the commands:

    nhWebUtil -setupEnvVars
    nhWebUtil -setupTomcat

    This will rewrite the $NH_HOME/web/tomcat/conf/eHealth.dat and $NH_HOME/web/tomcat/conf/server.xml files.