Re: [Dspace-tech] Problem enabling OAI data provider feature

2013-12-29 Thread otuoma peter
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 b...@atmire.com 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 otuomathegr...@yahoo.com 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=84349831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Rapidly troubleshoot problems 

Re: [Dspace-tech] Problem enabling OAI data provider feature

2013-12-29 Thread otuoma peter
-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  57K 2013-12-14 17:58 lucene-spatial-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  61K 2013-12-14 17:58 lucene-spellchecker-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 380K 2013-12-14 17:58 mail-1.4.jar
-rw-r--r-- 1 tomcat6 tomcat6 124K 2013-12-14 17:58 mets-1.5.2.jar
-rw-r--r-- 1 tomcat6 tomcat6  15K 2013-12-14 17:58 oclc-harvester2-0.1.12.jar
-rw-r--r-- 1 tomcat6 tomcat6  20K 2013-12-14 17:58 opencsv-2.3.jar
-rw-r--r-- 1 tomcat6 tomcat6  13K 2013-12-14 17:58 opensearch-0.1.jar
-rw-r--r-- 1 tomcat6 tomcat6  64K 2013-12-14 17:58 oro-2.0.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 3.7M 2013-12-14 17:58 pdfbox-1.6.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 1.5M 2013-12-14 17:58 poi-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 404K 2013-12-14 17:58 poi-ooxml-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 3.6M 2013-12-14 17:58 poi-ooxml-schemas-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 778K 2013-12-14 17:58 poi-scratchpad-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 539K 2013-12-14 17:58 
postgresql-9.1-901-1.jdbc4.jar
-rw-r--r-- 1 tomcat6 tomcat6  52K 2013-12-14 17:58 pull-parser-2.1.10.jar
-rw-r--r-- 1 tomcat6 tomcat6  19K 2013-12-14 17:58 relaxngDatatype-20030807.jar
-rw-r--r-- 1 tomcat6 tomcat6 216K 2013-12-14 17:58 rome-1.0.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 215K 2013-12-14 17:58 rome-1.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 247K 2013-12-14 17:58 rome-modules-1.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  22K 2013-12-14 17:58 slf4j-api-1.5.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 8.7K 2013-12-14 17:58 slf4j-jdk14-1.5.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 9.5K 2013-12-14 17:58 slf4j-log4j12-1.5.6.jar
-rw-r--r-- 1 tomcat6 tomcat6  27K 2013-12-14 17:58 solr-commons-csv-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 1.4M 2013-12-14 17:58 solr-core-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  22K 2013-12-14 17:58 solr-noggit-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 269K 2013-12-14 17:58 solr-solrj-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 324K 2013-12-14 17:58 spring-aop-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6  52K 2013-12-14 17:58 spring-asm-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 576K 2013-12-14 17:58 
spring-beans-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 812K 2013-12-14 17:58 
spring-context-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 105K 2013-12-14 17:58 
spring-context-support-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 439K 2013-12-14 17:58 spring-core-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 173K 2013-12-14 17:58 
spring-expression-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6  26K 2013-12-14 17:58 sslext-1.2-0.jar
-rw-r--r-- 1 tomcat6 tomcat6  26K 2013-12-14 17:58 stax-api-1.0.1.jar
-rw-r--r-- 1 tomcat6 tomcat6 322K 2013-12-14 17:58 struts-core-1.3.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 246K 2013-12-14 17:58 struts-taglib-1.3.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 117K 2013-12-14 17:58 struts-tiles-1.3.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 412K 2013-12-14 17:58 velocity-1.6.4.jar
-rw-r--r-- 1 tomcat6 tomcat6 339K 2013-12-14 17:58 velocity-tools-2.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 494K 2013-12-14 17:58 wstx-asl-3.2.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 2.7M 2013-12-14 17:58 xalan-2.7.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 1.2M 2013-12-14 17:58 xercesImpl-2.8.1.jar
-rw-r--r-- 1 tomcat6 tomcat6 190K 2013-12-14 17:58 xml-apis-1.3.02.jar
-rw-r--r-- 1 tomcat6 tomcat6 2.6M 2013-12-14 17:58 xmlbeans-2.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  77K 2013-12-14 17:58 xmlParserAPIs-2.0.2.jar
-rw-r--r-- 1 tomcat6 tomcat6  85K 2013-12-14 17:58 xmlunit-1.1.jar
-rw-r--r-- 1 tomcat6 tomcat6 238K 2013-12-14 17:58 xoai-3.0.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  92K 2013-12-14 17:58 xpp3-1.1.3.3.jar
-rw-r--r-- 1 tomcat6 tomcat6 241K 2013-12-14 17:58 xsdlib-20030807.jar
-rw-r--r-- 1 tomcat6 tomcat6 583K 2013-12-14 17:58 zookeeper-3.3.1.jar
---end-
Sorry a screenshot couldn't capture everything.
I have already upgraded to oracle's java  1.7.0_45 and I am able to 
successfully run [dspace]/bin/dspace oai import command.

THANKS



On Sunday, December 29, 2013 2:27 AM, helix84 [via DSpace] 
ml-node+s2283337n4670008...@n4.nabble.com wrote:
 
On Sun, Dec 29, 2013 at 10:55 AM, otuoma peter [hidden email] wrote: 
 
 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 


No, manifest and maven are in META-INF. There should be a WEB-INF 
directory next to META-INF and it should contain the lib directory. 

Bram is right and this is a Java version problem. The easiest thing 
you can do is upgrade to Java 7 (you'll need Java 7 for DSpace 4 
anyway). 


Regards, 
~~helix84 

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
Rapidly troubleshoot

Re: [Dspace-tech] Problem enabling OAI data provider feature

2013-12-29 Thread otuoma peter
 tomcat6 tomcat6  30K 2013-12-14 17:58 lucene-memory-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  68K 2013-12-14 17:58 lucene-misc-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  46K 2013-12-14 17:58 lucene-queries-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  57K 2013-12-14 17:58 lucene-spatial-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  61K 2013-12-14 17:58 lucene-spellchecker-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 380K 2013-12-14 17:58 mail-1.4.jar
-rw-r--r-- 1 tomcat6 tomcat6 124K 2013-12-14 17:58 mets-1.5.2.jar
-rw-r--r-- 1 tomcat6 tomcat6  15K 2013-12-14 17:58 oclc-harvester2-0.1.12.jar
-rw-r--r-- 1 tomcat6 tomcat6  20K 2013-12-14 17:58 opencsv-2.3.jar
-rw-r--r-- 1 tomcat6 tomcat6  13K 2013-12-14 17:58 opensearch-0.1.jar
-rw-r--r-- 1 tomcat6 tomcat6  64K 2013-12-14 17:58 oro-2.0.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 3.7M 2013-12-14 17:58 pdfbox-1.6.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 1.5M 2013-12-14 17:58 poi-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 404K 2013-12-14 17:58 poi-ooxml-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 3.6M 2013-12-14 17:58 poi-ooxml-schemas-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 778K 2013-12-14 17:58 poi-scratchpad-3.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 539K 2013-12-14 17:58 
postgresql-9.1-901-1.jdbc4.jar
-rw-r--r-- 1 tomcat6 tomcat6  52K 2013-12-14 17:58 pull-parser-2.1.10.jar
-rw-r--r-- 1 tomcat6 tomcat6  19K 2013-12-14 17:58 relaxngDatatype-20030807.jar
-rw-r--r-- 1 tomcat6 tomcat6 216K 2013-12-14 17:58 rome-1.0.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 215K 2013-12-14 17:58 rome-1.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 247K 2013-12-14 17:58 rome-modules-1.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  22K 2013-12-14 17:58 slf4j-api-1.5.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 8.7K 2013-12-14 17:58 slf4j-jdk14-1.5.6.jar
-rw-r--r-- 1 tomcat6 tomcat6 9.5K 2013-12-14 17:58 slf4j-log4j12-1.5.6.jar
-rw-r--r-- 1 tomcat6 tomcat6  27K 2013-12-14 17:58 solr-commons-csv-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 1.4M 2013-12-14 17:58 solr-core-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  22K 2013-12-14 17:58 solr-noggit-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 269K 2013-12-14 17:58 solr-solrj-3.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 324K 2013-12-14 17:58 spring-aop-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6  52K 2013-12-14 17:58 spring-asm-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 576K 2013-12-14 17:58 
spring-beans-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 812K 2013-12-14 17:58 
spring-context-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 105K 2013-12-14 17:58 
spring-context-support-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 439K 2013-12-14 17:58 spring-core-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6 173K 2013-12-14 17:58 
spring-expression-3.1.1.RELEASE.jar
-rw-r--r-- 1 tomcat6 tomcat6  26K 2013-12-14 17:58 sslext-1.2-0.jar
-rw-r--r-- 1 tomcat6 tomcat6  26K 2013-12-14 17:58 stax-api-1.0.1.jar
-rw-r--r-- 1 tomcat6 tomcat6 322K 2013-12-14 17:58 struts-core-1.3.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 246K 2013-12-14 17:58 struts-taglib-1.3.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 117K 2013-12-14 17:58 struts-tiles-1.3.8.jar
-rw-r--r-- 1 tomcat6 tomcat6 412K 2013-12-14 17:58 velocity-1.6.4.jar
-rw-r--r-- 1 tomcat6 tomcat6 339K 2013-12-14 17:58 velocity-tools-2.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 494K 2013-12-14 17:58 wstx-asl-3.2.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 2.7M 2013-12-14 17:58 xalan-2.7.0.jar
-rw-r--r-- 1 tomcat6 tomcat6 1.2M 2013-12-14 17:58 xercesImpl-2.8.1.jar
-rw-r--r-- 1 tomcat6 tomcat6 190K 2013-12-14 17:58 xml-apis-1.3.02.jar
-rw-r--r-- 1 tomcat6 tomcat6 2.6M 2013-12-14 17:58 xmlbeans-2.3.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  77K 2013-12-14 17:58 xmlParserAPIs-2.0.2.jar
-rw-r--r-- 1 tomcat6 tomcat6  85K 2013-12-14 17:58 xmlunit-1.1.jar
-rw-r--r-- 1 tomcat6 tomcat6 238K 2013-12-14 17:58 xoai-3.0.0.jar
-rw-r--r-- 1 tomcat6 tomcat6  92K 2013-12-14 17:58 xpp3-1.1.3.3.jar
-rw-r--r-- 1 tomcat6 tomcat6 241K 2013-12-14 17:58 xsdlib-20030807.jar
-rw-r--r-- 1 tomcat6 tomcat6 583K 2013-12-14 17:58 zookeeper-3.3.1.jar
---end-
Sorry a screenshot couldn't capture everything.
I have already upgraded to oracle's java  1.7.0_45 and I am able to 
successfully run [dspace]/bin/dspace oai import command.

THANKS



On Sunday, December 29, 2013 2:27 AM, helix84 [via DSpace] [hidden email] 
wrote:
 
On Sun, Dec 29, 2013 at 10:55 AM, otuoma peter [hidden email] wrote: 
 
 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 


No, manifest and maven are in META-INF. There should be a WEB-INF 
directory next to META-INF and it should contain the lib directory. 

Bram is right and this is a Java version problem. The easiest thing 
you can do is upgrade to Java 7 (you'll need Java 7 for DSpace 4 
anyway). 


Regards, 
~~helix84 

Compulsory reading: DSpace Mailing List Etiquette

[Dspace-tech] Caused by: java.lang.ClassNotFoundException: org.dspace.app.xmlui.aspect.submission.submit.UploadStep

2013-10-09 Thread otuoma peter
We have this error when submitting an item during the upload step.
java.lang.ClassNotFoundException: 
org.dspace.app.xmlui.aspect.submission.submit.UploadStep at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
 at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
 at 
org.dspace.app.xmlui.aspect.submission.StepTransformer.setup(StepTransformer.java:107)
 at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
 at $Proxy51.setup(Unknown Source) at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:356)
 at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipel
Any assistance will be appreciated
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-15 Thread otuoma peter


Just inspected by eperson table and everything under can_log_in is set to 
t. Is this what it should be?


 From: Jozef Misutka misu...@ufal.mff.cuni.cz
To: Otuoma otuomathegr...@yahoo.com 
Sent: Thursday, August 15, 2013 4:07 AM
Subject: Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2
 


Hey Otuoma, 
this is very likely not your cause, 
but in 1.8.2, we had as similar issue when a user was created automaticlly 
(e.g., by Shibboleth) and the appropariate flag 
can_log_in in eperson database table
was not set.

Jozef




On 15 August 2013 12:48, Otuoma otuomathegr...@yahoo.com wrote:

I have not yet been able to resolve this issue. However, I am able to reset
the password using the Forgot password option on the login page which
sends a reset link via email. When I do this, I can see that I am logged in.
However when open another page, I am logged-out again or if its a page that
requires admin privileges, I am sent back to the login page. I am not sure
if there are login configurations in dspace, its my first installation.
Any further assistance will be great.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Login-does-not-work-after-upgrading-from-1-7-to-3-2-tp4666377p4666597.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-15 Thread otuoma peter
Well it still doesnt work. Thanks for the effort. Any further help will be 
appreciated.




 From: Jozef Misutka misu...@ufal.mff.cuni.cz
To: otuoma peter otuomathegr...@yahoo.com 
Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net 
Sent: Thursday, August 15, 2013 5:24 AM
Subject: Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2
 


That is correct.

Jozef



On 15 August 2013 13:18, otuoma peter otuomathegr...@yahoo.com wrote:

Just inspected by eperson table and everything under can_log_in is set to 
t. Is this what it should be?



From: Jozef Misutka misu...@ufal.mff.cuni.cz
To: Otuoma otuomathegr...@yahoo.com 
Sent: Thursday, August 15, 2013 4:07 AM
Subject: Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2
 


Hey Otuoma, 
this is very likely not your cause, 
but in 1.8.2, we had as similar issue when a user was created automaticlly 
(e.g., by Shibboleth) and the appropariate flag 
can_log_in in eperson database table
was not set.


Jozef





On 15 August 2013 12:48, Otuoma otuomathegr...@yahoo.com wrote:

I have not yet been able to resolve this issue. However, I am able to reset
the password using the Forgot password option on the login page which
sends a reset link via email. When I do this, I can see that I am logged in.
However when open another page, I am logged-out again or if its a page that
requires admin privileges, I am sent back to the login page. I am not sure
if there are login configurations in dspace, its my first installation.
Any further assistance will be great.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Login-does-not-work-after-upgrading-from-1-7-to-3-2-tp4666377p4666597.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] How to replace the word dspace with repository

2013-08-07 Thread otuoma peter
NOT WORKING YET.
When I reset the password as you previously suggested, both the digest_algorith 
and salt fields get cleared. Then they are repopulated after attempting to 
login just as you said. This does not however solve the login problem. Am not 
actually getting an error when i attempt to login. The login just doesnt happen 
and i am redirected to the home page. Still pondering on the next possible 
solution.
Thanks in advance.




 From: helix84 heli...@centrum.sk
To: otuoma peter otuomathegr...@yahoo.com 
Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net 
Sent: Tuesday, August 6, 2013 1:44 PM
Subject: Re: [Dspace-tech] How to replace the word dspace with repository
 

On Tue, Aug 6, 2013 at 10:33 PM, otuoma peter otuomathegr...@yahoo.com wrote:
 Well, I have both salt and digest_algorithm columns. However when i
 remove LIMIT 1 I can see that the password field is abnomally longer for
 the administrator account that am trying to login with. Previously i had
 replaced this password using UPDATE eperson SET password =
 md5('somepassword') WHERE email = 'some-email';

 This was to enable me to recover the password used by the previous system
 admin. It was also before doing the upgrade.
 Am thinking replacing this password again might work though am not sure how
 this will work with the salt combination.

That is normal. The default hash function changed from MD5 to SHA-512
in DSpace 3.

There is a migration mechanism in DSpace 3, so the MD5 hash will still
work (if salt=NULL and digest_algorithm=NULL, which tells DSpace this
is the legacy MD5 password) and on your next login will be replaced
with the SHA-512 hash. Therefore you can still do this to recover your
password:

UPDATE eperson SET password=md5('yourpassword'), salt=NULL,
digest_algorithm=NULL where email='ad...@example.com';

even if Postgres doesn't have a built-in function for SHA-512. DSpace
will re-hash it the next time you log in.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-07 Thread otuoma peter
I have almost succeeded upgrading our dspace repository from version 1.7 to 
3.2. I followed the upgrade procedures for both versions. However, the login 
including the administrator's account can not be logged-in. It does not give an 
error message. The login does not just happen and one is redirected to the home 
page.

I have tried to clear the password, digest_algorithm and salt fields in the 
eperson table using:
UPDATE eperson SET password=md5('mypassword'), salt=NULL,digest_algorithm=NULL 
WHERE email='example@example.email;

This clears the salt and digest algorithm fields and populates password field 
with the md5 hash as expected. However when I attempt to login again, the 
password field is filled with SHA-512 hash string, the salt field with a salt 
string and the digest_algorithm field with SHA-512. The login does not still 
happen and the person is redirected to the home page.

Its like am stuck, any help will be much appreciated.
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] How to replace the word dspace with repository

2013-08-06 Thread otuoma peter


I was actually upgrading from 1.7 to 3.2. So i upgraded the db to 1.8, then to 
3.2. But now when i try to login, the login does not occure instead i am 
redirected to the home page. Again, THANK YOU FOR YOUR CONTINUED SUPPORT!


--
On Mon, Aug 5, 2013 7:38 AM PDT helix84 wrote:

On Mon, Aug 5, 2013 at 4:28 PM, otuoma peter otuomathegr...@yahoo.com wrote:
 java.lang.IllegalArgumentException: No such column 'digest_algorithm'

 This is after trying out this
 https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforXMLUI

No, that's after upgrading from DSpace 1.8 to 3. You didn't run the
SQL script to upgrade schema. To do the upgrade correctly, follow the
upgrading steps:
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+1.8.x+to+3.x


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
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=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] How to replace the word dspace with repository

2013-08-06 Thread otuoma peter
I have reviewed again the upgrade steps for both 1.7 to 1.8 and 1.8 to 3.2. I 
have also tried changing the hashing algorithm in
[dspace-dir]/config/modules/authentication-password.cfg to MD5 because thats 
what I saw in pg config but that still doesn't work. Am wondering if I missed 
out something else.





 From: helix84 heli...@centrum.sk
To: otuoma peter otuomathegr...@yahoo.com 
Cc: dspace-tech@lists.sourceforge.net 
Sent: Tuesday, August 6, 2013 6:53 PM
Subject: Re: [Dspace-tech] How to replace the word dspace with repository
 

On Tue, Aug 6, 2013 at 5:50 PM, otuoma peter otuomathegr...@yahoo.com wrote:
 I was actually upgrading from 1.7 to 3.2. So i upgraded the db to 1.8, then 
 to 3.2. But now when i try to login, the login does not occure instead i am 
 redirected to the home page. Again, THANK YOU FOR YOUR CONTINUED SUPPORT!

Is it still occurring after doing the upgrade steps (both 1.7-1.8 and
1.8-3)? I already wrote which particular step almost surely causes
this problem.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] How to replace the word dspace with repository

2013-08-05 Thread otuoma peter


Thanks for that quick response. My advance search feature now works fine, 
however, the login still gives this error: 

java.lang.IllegalArgumentException: No such column 'digest_algorithm'

This is after trying out this  
https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforXMLUI

Am now trying to limit the changes to the [dspace-dir]/webapps directory as 
rebuilding deleted all my customisations. Am also suspecting

aspect name=E-Person path=resource://aspects/EPerson/ / in 
[dspace-dir]/config/xmlui.xconf is not commented out.

Further will be great.



 From: Hilton Gibson hilton.gib...@gmail.com
To: otuoma peter otuomathegr...@yahoo.com 
Sent: Saturday, August 3, 2013 2:55 AM
Subject: Re: [Dspace-tech] How to replace the word dspace with repository
 


Hi Peter

Did you try to enable: 
https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforXMLUI

Also send these emails to the tech list as well.

Cheers

hg



On 3 August 2013 10:49, otuoma peter otuomathegr...@yahoo.com wrote:

Thanks a lot. This seems to have worked. However, when I try to login to my 
admin account, I get the error: 

java.lang.IllegalArgumentException: No such column 'digest_algorithm'

And when i try the advanced search link, i get the error: 


org.postgresql.util.PSQLException: ERROR: current transaction is aborted, 
commands ignored until end of transaction block

I am not sure if I broke something somewhere. Any help will be greatly 
appreciated.

http://ir-library.ku.ac.ke/ir+/advanced-search







 From: Hilton Gibson hilton.gib...@gmail.com
To: otuoma peter otuomathegr...@yahoo.com 
Cc: dspace-tech dspace-tech@lists.sourceforge.net 
Sent: Saturday, August 3, 2013 1:11 AM
Subject: Re: [Dspace-tech] How to replace the word dspace with repository
 


Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Language



On 2 August 2013 21:44, otuoma peter otuomathegr...@yahoo.com wrote:


Please assist me on how i can replace word DSpace with repository such that 
i have Repository Home and not DSpace Home, Communities in Repository and not 
Communities in DSpace, Search Repository and not Search DSpace etc.

Am using dspace 3.2 with mirage theme.

Its my first dspace installation and am doing a lot of copy-pasting.  Am 
comfortable with html, css, javascript, xml and some basic java.

Any assistance will be great.

--
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=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa


Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson





-- 

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson--
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=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] How to replace the word dspace with repository

2013-08-02 Thread otuoma peter

Please assist me on how i can replace word DSpace with repository such that i 
have Repository Home and not DSpace Home, Communities in Repository and not 
Communities in DSpace, Search Repository and not Search DSpace etc.

Am using dspace 3.2 with mirage theme.

Its my first dspace installation and am doing a lot of copy-pasting.  Am 
comfortable with html, css, javascript, xml and some basic java.

Any assistance will be great.

--
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=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette