I had already done a rebuild and I also do not have the lib folder under 
/oai/WEB-INF/ 
There is MANIFEST.INF file and maven folder which in turn contains 
org.dspace.modules file.
Could it be that my oai servlet is incomplete?
Thanks for the help



On Sunday, December 29, 2013 1:07 AM, Bram Luyten <[email protected]> wrote:
 
Hi Otuoma,

this problem has been reported here:
https://jira.duraspace.org/browse/DS-1609


The root cause was an incompatibility with OAI and Java 6. The original 
workaround was to use Java 7, however, the log of the problem shows that it was 
eventually fixed for Java 6 as well in DSpace 3.2.

In this context, it is very strange that you are experiencing this problem in 
DSpace 3.2.

Can you try the following:
- rebuild DSpace with mvn clean package to ensure that you get the latest 
libraries for OAI
- Switch between Java 6 and 7 to see if this makes a difference

If this still doesn't resolve your problem, please report back with the list of 
JARs in your deployed OAI Webapp. You should be able to find them in
/oai/WEB-INF/lib in the folder where your deployed Tomcat webapps live.

best regards,

Bram Luyten



-- 

 
 Bram Luyten @mire
2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com 


On Sun, Dec 29, 2013 at 9:53 AM, Otuoma <[email protected]> wrote:

I have a problem enabling oai feature on my dspace version 3.2. The error i
>get when i access http://my-dspace-url/oai/request?verb=Identify is :
>-------------------------begin-------------------------------
>javax.servlet.ServletException: Error instantiating servlet class
>org.dspace.xoai.DSpaceOAIDataProvider
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>        
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>        java.lang.Thread.run(Thread.java:679)
>
>root cause
>
>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)
>
>org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2726)
>
>org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1124)
>
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
>
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
>        java.lang.Class.getDeclaredConstructors0(Native Method)
>        java.lang.Class.privateGetDeclaredConstructors(Class.java:2406)
>        java.lang.Class.getConstructor0(Class.java:2716)
>        java.lang.Class.newInstance0(Class.java:343)
>        java.lang.Class.newInstance(Class.java:325)
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>        
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>        java.lang.Thread.run(Thread.java:679)
>-----------------------------end--------------------
>I have upgraded my java version from openjdk1.6 to oracle's 1.7.0_45 as
>suggested in several places I have searching while troubleshooting this
>issue.
>I am also able to successfully run [dspace]/bin/dspace oai import -c
>command.
>Am not sure if its supposed to be there but I have also checked and realised
>that I do not have "xoai-3.0.0.jar" file in  /dspace/lib folder.
>
>Any help is greatly appreciated. My dspace is version 3.2
>
>
>
>
>
>--
>View this message in context: 
>http://dspace.2283337.n4.nabble.com/Problem-enabling-OAI-data-provider-feature-tp4670004.html
>Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>------------------------------------------------------------------------------
>Rapidly troubleshoot problems before they affect your business. Most IT
>organizations don't have a clear picture of how application performance
>affects their revenue. With AppDynamics, you get 100% visibility into your
>Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
>http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>_______________________________________________
>DSpace-tech mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>List Etiquette: 
>https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to