LexAccess

LexAccessLb

LexAccessLb provides a tool to access the latest Lexicon data in LexBuild database. This tool is designed to be used for NLM internal research. The command line tool and web tool should be updated annually (synchronize with annually release). This page describes details for annual update procedures:

  • Install lexAccessLb, Command line tool (lexlx1 & lexdev)
    • Install latest lexAccess${YEAR} to /${PROJECTS}/LA/lexAccessLb
    • Update ${lexAccessLb}/bin/lexAccess
        		
      • JDBC="/usr/local/Database/JavaDb/javadb/lib/derbyclient.jar"
      • JAVA="/net/lexdev/export/home/nls/Applications/Java/bin/java" (lexdev)
      • LA_DIR="/net/lexdev/export/home/lu/Projects/LA/lexAccessLb" (lexdev)
    • Update ${lexAccessLb}/data/config/lexAccess.properties
                
      • DB_TYPE=JAVADB_SERVER
      • DB_DRIVER=org.apache.derby.jdbc.ClientDriver
      • DB_HOST=130.14.53.8
      • DB_PORT_NUM=3306
      • DB_NAME=lexBuild
      • DB_USERNAME=lexBuild
      • DB_PASSWORD=${PROEJCT}@${RELEASE}
    • Update ${lexAccessLb}/bin/lexAccessLb (lexdev)

  • Web tool (lexlx1 & lexdev)
    • copy the latest WebLexAccess.${YEAR} to ${TOMCAT}/webapps/WebLexAccess.Lb or
    • From WebLexAccess.Lb
    • Update WebLexAccess.Lb/build.xml
        		
      • app.year => Lb
      • catalina.home
    • Update WebLexAccess.Lb/WEB-INF/web.xml
        		
      • lexAccessVersion: change to LB
      • lexAccessHomeUrl: change to /${WEB_PROJECTS}/lexAccess/current
      • lexAccessHomeDir: change to /${PROJECTS}/LA/lexAccessLb
    • update latest jar files under ${WEB_LA_LB}/web/WEB-INF/lib
      • lvg${YEAR}api.jar
      • lexAccess${YEAR}dist.jar
      • lexCheck2011api.jar
    • update latest debrya database drive under ${WEB_LA_LB}/web/WEB-INF/lib
        		
      • derbyclient.jar
      • derbyLocale_cs.jar
      • derbyLocale_de_DE.jar
      • derbyLocale_es.jar
      • derbyLocale_fr.jar
      • derbyLocale_hu.jar
      • derbyLocale_it.jar
      • derbyLocale_ja_JP.jar
      • derbyLocale_ko_KR.jar
      • derbyLocale_pl.jar
      • derbyLocale_pt_BR.jar
      • derbyLocale_ru.jar
      • derbyLocale_zh_CN.jar
      • derbyLocale_zh_TW.jar