Difference between revisions of "PubMan 6 1"
Jump to navigation
Jump to search
(71 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
'''FINISHED''' | |||
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! | ||
Line 31: | Line 30: | ||
== PubMan EAR == | == PubMan EAR == | ||
Copy [https://subversion.mpdl.mpg.de/repos/pubman/tags/pubman-6.1.9/pubman_ear/src/main/resources/pid-cache-ds.xml pid-cache-ds.xml] to the JBoss deploy directory | |||
== PubMan Properties == | == PubMan Properties == | ||
* 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: | ||
<!-- 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 == | |||
Details available at [[Escidoc-core_Migration_v1.1_to_v1.2|Core Migration 1.1 to 1.2]] | |||
== Core Properties == | == Core Properties == | ||
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 == | == Core Database == | ||
== Validation Database == | == Validation Database == | ||
== CoNE Database == | * Call http://xxx-pubman.mpdl.mpg.de:8080/validation/db.jsp | ||
* Log in as eSciDoc system administrator | |||
* execute: | |||
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 subversion.mpdl.mpg.de) == | |||
* 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'; | |||
* import these RDFs into CoNE: | |||
** http://colab.mpdl.mpg.de/mediawiki/Image:Office2007-mimetype.rdf | |||
** http://colab.mpdl.mpg.de/mediawiki/Image:Office2007-escidocmimetype.rdf | |||
* run [http://colab.mpdl.mpg.de/mediawiki/Image:Ddc.sql] | |||
* 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 == | == Data Migration == | ||
* 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== | ==eSciDoc Admin== | ||
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== | |||
*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. | |||
<source lang="xml"> | |||
<allowed-genre>http://purl.org/eprint/type/Patent</allowed-genre> | |||
</source> | |||
[[Category:Release Log]] | [[Category:Release Log]] |
Latest revision as of 14:46, 25 April 2012
FINISHED
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]
- Call http://xxx-pubman.mpdl.mpg.de:8080/validation/db.jsp
- Log in as eSciDoc system administrator
- execute:
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 subversion.mpdl.mpg.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';
- import these RDFs into CoNE:
- 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>