Change By: Tim Donohue (31/Jul/13 2:40 PM)
Description: In DSpace 3.2, the Lyncode XOAI module (which is used by the DSpace OAI-PMH interface) was upgraded to version 2.2.9.

Unfortunately, this version of the XOAI module seems to require Java 7 / JDK 1.7 to run properly.
  See this commit: https://github.com/lyncode/xoai/commit/a25cf93b1861608d8ed2d52b224b243fb0aca511

The error you receive from the OAI-PMH interface looks like:

Caused by: java.lang.UnsupportedClassVersionError: com/lyncode/xoai/dataprovider/exceptions/ConfigurationException : Unsupported major.minor version 51.0 (unable to load class com.lyncode.xoai.dataprovider.exceptions.ConfigurationException)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2892)

This issue was initially reported by Sam Ottenhoff as part of this email thread:
http://dspace.2283337.n4.nabble.com/DSpace-3-2-needs-JDK-1-7-for-OAI-functionality-td4666030.html

This error seems to affect DSpace sites who are using Oracle JDK 6.  It's unclear if this affects sites using OpenJDK 6 (reports that the error doesn't appear).

Upgrading to JDK 7 (Oracle or OpenJDK) would obviously fix the issue.

We'd also like to find a way to fix the Lyncode XOAI module to continue to support JDK 6 (so that DSpace 3.x continues to support JDK 6). But a fix has not yet been determined. (If anyone has determined a way to resolve this, please feel free to send us a suggested patch)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to