dspace pubmed/docid lookup is working fine with dspace5 and jspui

I built dspace 6 xmlui + mirage2 to test out pubmed/docid lookup with 
xmlui, but so far have no success in getting it to work. It simply returns 
nothing when I hit the "search" button whether I enter a 
pubmed/docid/author, such as "10.1002/ldr.2317" or "27252203". I've tried 
this with both the dspace release and src build, same results either way.

Following directions at 

https://wiki.duraspace.org/display/DSDOC6x/2016+Framework+for+live+import+from+external+sources

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Log errors:

*dspace.log:*

Caused by: org.apache.axiom.om.OMException: 
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' 
(code 34) in DOCTYPE declaration; expected a space between public and 
system identifiers
 at [row,col {unknown-source}]: [1,50]
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:276)
        at 
org.apache.axiom.om.impl.llom.OMContainerHelper.buildNext(OMContainerHelper.java:164)
        at 
org.apache.axiom.om.impl.llom.OMContainerHelper.getFirstOMChild(OMContainerHelper.java:182)
        at 
org.apache.axiom.om.impl.llom.OMDocumentImpl.getFirstOMChild(OMDocumentImpl.java:201)
        at 
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:98)
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:544)
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:540)
        at 
org.dspace.importer.external.pubmed.service.PubmedImportMetadataSourceServiceImpl.getSingleElementValue(PubmedImportMetadataSourceServiceImpl.java:202)
        at 
org.dspace.importer.external.pubmed.service.PubmedImportMetadataSourc

...

2017-07-11 23:48:14,152 ERROR 
org.dspace.app.xmlui.aspect.submission.submit.JSONLookupSearcher @ 
org.dspace.importer.external.exception.MetadataSourceException: At retry of 
operation 8d67cebd-5545-4feb-9a1f-e0c3e4b5aac2 0
org.dspace.importer.external.exception.MetadataSourceException: 
org.dspace.importer.external.exception.MetadataSourceException: At retry of 
operation 8d67cebd-5545-4feb-9a1f-e0c3e4b5aac2 0
        at 
org.dspace.importer.external.service.ImportService.getNbRecords(ImportService.java:136)
        at 
org.dspace.app.xmlui.aspect.submission.submit.JSONLookupSearcher.generate(JSONLookupSearcher.java:85)
        at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)


*cocoon.log:*

        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
read.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 
org.dspace.importer.external.exception.Me
tadataSourceException: 
org.dspace.importer.external.exception.MetadataSourceExce
ption: At retry of operation 8d67cebd-5545-4feb-9a1f-e0c3e4b5aac2 0
        at 
org.dspace.app.xmlui.aspect.submission.submit.JSONLookupSearcher.gene
rate(JSONLookupSearcher.java:156)
        at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.i
nvoke(PoolableProxyHandler.java:71)
        at com.sun.proxy.$Proxy211.generate(Unknown Source)
        at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.proc
essXMLPipeline(AbstractProcessingPipeline.java:544)
        ... 79 more
Caused by: org.dspace.importer.external.exception.MetadataSourceException: 
org.d
space.importer.external.exception.MetadataSourceException: At retry of 
operation
 8d67cebd-5545-4feb-9a1f-e0c3e4b5aac2 0
        at 
org.dspace.importer.external.service.ImportService.getNbRecords(Impor
tService.java:136)
        at 
org.dspace.app.xmlui.aspect.submission.submit.JSONLookupSearcher.gene
rate(JSONLookupSearcher.java:85)
        ... 85 more
Caused by: org.dspace.importer.external.exception.MetadataSourceException: 
At re
try of operation 8d67cebd-5545-4feb-9a1f-e0c3e4b5aac2 0
        at 
org.dspace.importer.external.service.components.AbstractRemoteMetadat
aSource.throwSourceException(AbstractRemoteMetadataSource.java:229)
        at 
org.dspace.importer.external.service.components.AbstractRemoteMetadat
aSource.handleException(AbstractRemoteMetadataSource.java:203)
        at 
org.dspace.importer.external.service.components.AbstractRemoteMetadat
aSource.retry(AbstractRemoteMetadataSource.java:168)
        at 
org.dspace.importer.external.pubmed.service.PubmedImportMetadataSourc
eServiceImpl.getNbRecords(PubmedImportMetadataSourceServiceImpl.java:52)
        at 
org.dspace.importer.external.service.ImportService.getNbRecords(Impor
tService.java:132)
        ... 86 more
Caused by: org.apache.axiom.om.OMException: 
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' 
(code 34) in DOCTYPE declaration; expected a space between public and 
system identifiers
 at [row,col {unknown-source}]: [1,50]
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:276)
        at 
org.apache.axiom.om.impl.llom.OMContainerHelper.buildNext(OMContainerHelper.java:164)


-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to