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[edit]
Affected Servers[edit]
Prepare read only system[edit]
- 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[edit]
- fedora3 database
- riTriples database
- JBoss coreservice (/usr/share/jboss)
- Wildfly PubMan (/usr/share/pubman)
Java[edit]
- 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[edit]
- 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[edit]
- remove foxml's of VIRR and Faces content-models:
escidoc:virrcmodel4, escidoc:virrcmodel3, escidoc:faces40, escidoc:virrcmodel1, escidoc:virrcmodel2,
- drop database and rebuild database (fedora3 and riTriples)
CREATE DATABASE "fedora3" WITH ENCODING='UTF8' OWNER="fedoraAdmin"; CREATE DATABASE "riTriples" WITH ENCODING='SQL_ASCII' OWNER="fedoraAdmin" TEMPLATE=template0;
cd /srv/web/escidoc/fedora/server/bin fedora-rebuild.sh (Enter 2-1; 1-1)
PubMan EAR[edit]
- 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:
for w in *.war;do unzip "$w" -d "${w%.war}" && rm -f "$w" && mv "${w%.war}" "$w" && chown -R jboss:jboss "$w" ; done
- 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[edit]
- described above
PubMan Apache[edit]
- live adapt pubman.conf und pure.conf, port 8090 -> 8080
PubMan PidCache[edit]
- delete pidcache database (copied from qa-pubman). Replace with pidcache database from backup (formerly in /usr/share/pubman/standalone/data/pubman_db)