Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The IRMIS gui uses Hibernate for its database interface.  It's possible the Oracle wallet could be superimposed on Hibernate, but the path for doing this is unclear and will take time to work out (maybe worth doing in the future tho!)

Therefore the IRMIS gui Oracle password must be changed manually.  Here is the procedure:

  1. log into mcclogin
  2. cvs co irmis gui code:
    export CVSROOT=/afs/slac/package/epics/slaconly/cvs
    cd to a working directory
    cvs co -d irmis tools/irmisV2_SLAC
  3. cd irmis
  4. edit site.build.properties and change this line:
       db.trust-read-write.password=newpw
  5. set java environment to version 1.4:

        export JAVA_HOME=/afs/slac/package/java/@sys/jdk1.4

        export JAVA_VER=1.4

        export PATH=${JAVA_HOME}/bin:${PATH}

  6. cd db
  7. ant clean
  8. ant deploy
  9. cd ..
  10. cp db/build/irmisDb.jar  apps/deploy
  11. cd apps/deploy
  12. test the gui:
    java -jar irmis.jar
    The gui should connect to the db.
  13. deploy new jars to production:
    scp irmis.jar over to /usr/local/lcls/package/irmis/irmisV2_SLAC/apps/deploy/.   (this one is used by LCLS and FACET)
    cp irmis.jar /afs/slac/package/epics/tools/irmisV2_SLAC/apps/deploy/.

*** Please note, the app directory (parallel to the db directory) is not build-able in ant anymore, because of changes in java version syntax and method calls deep in the gui code.  Therefore, please follow the directions above to BUILD AND DEPLOY THE DB JAR  ONLY!

 

o    in CD_SOFT env, cvs co irmisV2_SLAC 
o    edit site.build.properties with the new pw 
o    setenv JAVA_HOME /afs/slac/package/java/@sys/jdk1.4 
o    setenv JAVA_VER 1.4 (because enum is used as a varname) 
o    cd db  
o    ant clean  
o    ant deploy  
o   cp db/build/irmisDb.jar  apps/deploy
o    tar –xvf irmis*.tar; test with java –jar irmis.jar   

 

...

SCHEMA DIAGRAM

Anchor
diagram
diagram

...