Thanks for the advice, but those steps didn't make any difference in the 
outcome.

It is just really odd. This request fails with a 500 error:

http://dlynx.rhodes.edu/oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc

But this request gives a response, which is the correct Bad Argument answer 
(because there is not the required metadataPrefix part of the request):

http://dlynx.rhodes.edu/oai/request?verb=ListIdentifiers

And when I do a list of metadata formats, oai_dc is there, of course:

http://dlynx.rhodes.edu/oai/request?verb=ListMetadataFormats

When I get the 500 error, I get this entry in the dspace.log file:

2010-03-31 10:03:55,111 INFO  org.dspace.app.oai.DSpaceOAICatalog @ 
anonymous:no_context:oai_request:verb=listIdentifiers,from=0001-01-01T00\colon;00\colon;00Z,until=9999-12-31T23\colon;59\colon;59Z,set=null,metadataPrefix=oai_dc

The catalina.out log for Tomcat gives:

java.lang.NullPointerException
        at 
org.dspace.authorize.AuthorizeManager.getAuthorizedGroups(AuthorizeManager.java:718)
        at org.dspace.search.Harvest.harvest(Harvest.java:273)
        at 
org.dspace.app.oai.DSpaceOAICatalog.listIdentifiers(DSpaceOAICatalog.java:240)
        at 
ORG.oclc.oai.server.verb.ListIdentifiers.construct(ListIdentifiers.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at ORG.oclc.oai.server.OAIHandler.getResult(OAIHandler.java:383)
        at ORG.oclc.oai.server.OAIHandler.doGet(OAIHandler.java:292)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)

Any more thoughts? Is anyone else seeing this issue running 1.5.2?

--
Stacy Pennington
Rhodes College
[email protected]
(901) 843-3968




-----Original Message-----
From: Lewatle Phaladi [mailto:[email protected]] 
Sent: Wednesday, March 31, 2010 1:47 AM
To: Pennington_Stacy; [email protected]
Subject: RE: [Dspace-tech] OAI-PMH ListIdentifiers Not Working

Hi Pennington

Usually when I get error 500 like yours I immediately export java_home
variable like : 

Put the path of your jdk and the version of that jdk as well

# export JAVA_HOME=/usr/jdk/jdk1.5.0_12 

And lastly restart your tomcat 

Hope that help

Regards,
Lewatle

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: 30 March 2010 06:29 PM
To: [email protected]
Subject: [Dspace-tech] OAI-PMH ListIdentifiers Not Working

I'm using DSpace 1.5.2, and I'm trying to submit my site to
openarchives.org. Everything is going well, until I get to the step of
using OAI-PMH to check the ListIdentifiers response. This request fails
with a 500 Internal Server Error, which suspends the entire submission:

http://dlynx.rhodes.edu/oai/request?verb=ListIdentifiers&metadataPrefix=
oai_dc

However, OAI-PMH does appear to working normally on this DSpace system
with an internal OAI-PMH harvester, and it does respond properly to
these commands:

http://dlynx.rhodes.edu/oai/request?verb=ListSets

http://dlynx.rhodes.edu/oai/request?verb=Identify

We have a Fedora repository that does respond properly to the
ListIdentifiers verb, and I don't see anything out of sorts with this
request of the DSpace system, according to the OAI-PMH specs at the Open
Archives Initiative:

http://www.openarchives.org/OAI/openarchivesprotocol.html#ListIdentifier
s

Has anyone seen anything like this before? Any ideas for solutions?

Thanks in advance for the help...

--
Stacy Pennington
Rhodes College
[email protected]
(901) 843-3968


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to