Difference between revisions of "PubMan 6 1"

From MPDLMediaWiki
Jump to navigation Jump to search
Line 1: Line 1:
'''NOTE: ALL STEPS ARE FINISHED EXCEPT ESCIDOC_ADMIN'''
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!
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!



Revision as of 08:49, 21 September 2010

NOTE: ALL STEPS ARE FINISHED EXCEPT ESCIDOC_ADMIN

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 6.1 Release[edit]

Affected Servers[edit]






PubMan EAR[edit]

Copy pid-cache-ds.xml to the JBoss deploy directory

PubMan Properties[edit]

  • new property: escidoc.cone.subjectVocab=ddc;mpipks (for the indication which controlled vocabs are displayed as browse by).
  • new property: escidoc.framework_access.login.url=http://xxx-coreservice.mpdl.mpg.de (to be used to login to escidoc-core)

Pid cache:

escidoc.pidcache.cache.size.max=1000
escidoc.pidcache.refresh.interval=120
escidoc.pidcache.dummy.url=http://pubman.mpdl.mpg.de/pubman/faces/PidNotResolved.jsp?id=
escidoc.pid.gwdg.service.url=http://handle.gwdg.de:8080/pidservice
escidoc.pid.gwdg.timeout=3000
escidoc.pid.pidcache.service.url=http://dev-pubman.mpdl.mpg.de/pidcache/handle
escidoc.pid.service.create.path=/write/create
escidoc.pid.service.view.path=/read/view
escidoc.pid.service.delete.path=/write/delete
escidoc.pid.service.update.path=/write/modify
escidoc.pid.service.search.path=/read/search
escidoc.pid.gwdg.user.login=1234
escidoc.pid.gwdg.user.password=mypwd
escidoc.pidcache.user.name=<pid_manager_login>
escidoc.pidcache.user.password=<pid_manager_password>
  • new property: escidoc.pubman.genres.configuration=Genres.xml
  • new properties block for Search&Export service
escidoc.search.and.export.default.sql.query=escidoc.metadata=test and escidoc.content-model.objid=escidoc:persistent4
escidoc.search.and.export.indexes.explain.query=/srw/search/escidoc_all?operation=explain
escidoc.search.and.export.default.sort.keys=
escidoc.search.and.export.default.sort.order=ascending
escidoc.search.and.export.start.record=1
escidoc.search.and.export.maximum.records=50
  • new properties:
# Transformation stylesheets
escidoc.transformation.edoc.stylesheet.filename=transformations/otherFormats/xslt/edoc-to-escidoc.xslt
escidoc.transformation.endnote.ice.stylesheet.filename=transformations/commonPublicationFormats/xslt/endnoteicexml2escidoc.xsl
escidoc.transformation.endnote.stylesheet.filename=transformations/commonPublicationFormats/xslt/endnotexml2escidoc.xsl
escidoc.transformation.mab.stylesheet.filename=transformations/otherFormats/xslt/mabxml2escidoc.xsl
  • new property: escidoc.pubman_presentation.viewFullItem.defaultSize=20
  • new property: escidoc.syndication.feeds.xml.path=resources/feeds.xml

Core Infrastructure[edit]

Details available at Core Migration 1.1 to 1.2

Core Properties[edit]

gsearch.fedoraUser = user42

Caution: "escidoc:" at the beginning has to be ommitted

gsearch.escidoc.indexingStylesheet=http://escidoc1.escidoc.mpg.de/resources/searchIndexDefinition/mpdlEscidocXmlToLucene_1.2.xslt

Core Database[edit]

Validation Database[edit]

DROP TABLE escidoc_validation_schema IF EXISTS;
DROP TABLE escidoc_validation_schema_snippets IF EXISTS;
  • JBoss has to be restarted afterwards to load the new validation schemas

CoNE Database (all except zim02.gwdg.de)[edit]

  • PubMan should be running
  • add "image/bmp" to mimetypes and escidocmimetypes
  • add "video/x-ms-wmv" to mimetypes and escidocmimetypes
  • run
update triples set predicate = 'http://purl.org/escidoc/metadata/terms/0.1/suffix' where predicate = 'urn:cone:suffix';
update triples set predicate = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#value' where predicate = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#/value';
update triples set predicate = 'http://www.w3.org/2001/XMLSchema-instance type' where predicate = 'http://www.w3.org/2001/XMLSchema-instance/type';
  • run [1]
  • reset ddc model:
http://xxx-pubman.mpdl.mpg.de:8080/cone/reset.jsp?model=ddc
  • run
delete from matches m1 where m1.id in ( select id from matches left join triples on id = subject where subject is null);
delete from results r1 where r1.id in ( select id from results left join triples on id = subject where subject is null);

Data Migration[edit]

  • Check if PubMan Import Task Content-Model is present (escidoc:importtask1), otherwise create one and add to properties (escidoc.import.task.content-model).
http://xxx-coreservice.mpdl.mpg.de:8080/cmm/content-model/escidoc:importtask1

eSciDoc Admin[edit]

localize escidocadmin (might be on pubman or on coreservice server, usually located at /srv/escidocadmin/escidocadmin)

  svn up
  rctgescidocadmin stop
  rctgescidocadmin start

Activate patent genre for NIMS contexts[edit]

  • see http://jira.mpdl.mpg.de/browse/ADM-56
    • metadata profiles were not published metadata.mpdl.mpg.de (done now)
    • shall not be added manually, eSciDoc Admin supports this as well after restart only
  • Add the following line to the admin-descriptors of NIMS contexts, if not supported by escidocadmin yet.
<allowed-genre>http://purl.org/eprint/type/Patent</allowed-genre>