PubMan 8 0

This page shall contain every change that is made during a qa release of the version mentioned above. If it's not here, it never happened!

= PubMan 8.0 Release =

Prepare read only system

 * activate live configuration
 * /usr/share/jboss/bin/run.conf
 * escidoc-core.custom.properties
 * escidoc-core.properties
 * .../modules/pubman/main/cone.properties
 * .../modules/pubman/main/auth.properties
 * .../modules/pubman/main/pubman.properties
 * apache conf

auf owner jboss:jboss achten

Backups

 * fedora3 database
 * riTriples database
 * JBoss coreservice (/usr/share/jboss)
 * Wildfly PubMan (/usr/share/pubman)

Java

 * adapt start script for wildfly in /srv/web/escidoc/wildfly/bin/standalone.conf (no more PermGenSpace for Java8, -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=??/pubmanHeapdump.log)


 * install script rcwildfly

PubMan - Coreservice Wildfly

 * make a copy from qa-pubman:/srv/web/escidoc/
 * delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db)
 * copy the Fedora data/objects und data/datastreams from /opt/fedora to /srv/web/escidoc/fedora/data /dynamic links)


 * adapt properties: qa-pubman, qa-coreservice -> pubman, coreservice, best replace from backup?
 * modules/escidoc/main/gwdg.properties
 * modules/escidoc/main/escidoc-core.custom.properties, modules/escidoc/main/escidoc-core.properties
 * modules/pubman/main/auth.properties
 * modules/pubman/main/common.properties
 * modules/pubman/main/solution.properties
 * modules/pubman/main/conf.xml
 * modules/pubman/main/pubman.properties
 * modules/pubman/main/cone.properties


 * adapt sitemap
 * modules/pubman/main/sitemap/sitemap1.xml....

Fedora Database
escidoc:virrcmodel4, escidoc:virrcmodel3, escidoc:faces40, escidoc:virrcmodel1, escidoc:virrcmodel2, CREATE DATABASE "fedora3" WITH ENCODING='UTF8' OWNER="fedoraAdmin"; CREATE DATABASE "riTriples" WITH ENCODING='SQL_ASCII' OWNER="fedoraAdmin" TEMPLATE=template0;
 * remove foxml's of VIRR and Faces content-models:
 * drop database and rebuild database (fedora3 and riTriples)

cd /srv/web/escidoc/fedora/server/bin fedora-rebuild.sh (Enter 2-1; 1-1)

PubMan EAR
for w in *.war;do unzip "$w" -d "${w%.war}" && rm -f "$w" && mv "${w%.war}" "$w" && chown -R jboss:jboss "$w" ; done
 * wget http://rd.mpdl.mpg.de/nexus/service/local/repositories/releases/content/de/mpg/escidoc/pubman/wildfly/pubman_ear/8.0.1/pubman_ear-8.0.1-pure.ear
 * expolde wars:
 * logging: adapt logging section in standalone.xml corresponding the one of qa-pubman
 * remove log4j.xml in srw.war and fedoragsearch.war (now configured in standalone.xml)

PubMan Properties

 * described above

PubMan Apache

 * live adapt pubman.conf und pure.conf, port 8090 -> 8080

PubMan PidCache

 * delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db)