Re: [Dspace-tech] How to enable OAI-PMH into DSpace 3.2

2014-02-07 Thread SUZUKI Keiji
Hi Bhavesh,

I suppose the old request cache remains. Did you run
[dspace]/bin/dspace/oai clean-cache command
after edited config files? If no, run it. Or delete directly the cache
directory, [dspace]/var/oai/requests

Keiji Suzuki

2014-02-07 Bhavesh Patel bhavesh.bece...@gmail.com:
 Dear helix84/Hilton,

 Yes, I have already set dspace.url  dspace.baseUrl on dspace.cfg (see the
 screen sort : dspace_baseURL.png).

 Also for OAI-PMH I have set that URL on /dspace/config/modules/oai.cfg file
 (see the screen sort : oai_config.png)

 Let me know if anything need to correct.

 As per the document : https://wiki.duraspace.org/display/DSDOC3x/OAI

 Harvesting from another DSpace : Point no 1 : First, check to see if the
 external DSpace reports that it will support harvesting ORE via the OAI-PMH
 interface.

 Demo URL :
 http://demo.dspace.org/oai/request?verb=ListRecordsmetadataPrefix=ore
 (Working Fine - It's Fetch the results)

 Our URL :
 http://vslir.iimahd.ernet.in:8080/oai/request?verb=ListRecordsmetadataPrefix=ore
 (It's shows : No matches for the query) Can you please tell me what may be
 the issue..?

 I have just copy the oai folder from [dspace] to [tomcat-webapps]  set the
 localhost path to vslir.iimahd.ernet.in into /dspace/config/modules/oai.cfg
 (as screen sort attached).


 Please let me know what may be the problem..

 Thanks for your help..

 Bhavesh Patel


 Thanks  Regards,
 Bhavesh R. Patel
 bhavesh.bece...@gmail.com (Email)

 Websites :

 www.bhaveshpatel.info
 www.onlinequizportal.com
 www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 Please consider the environment before printing this e-mail.


 On Tue, Feb 4, 2014 at 7:43 PM, helix84 heli...@centrum.sk wrote:

 Check that both your dspace.url and dspace.baseUrl are set to
 http://vslir.iimahd.ernet.in:8080;.


 Regards,
 ~~helix84

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



 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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



-- 
鈴木敬二@江別市

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-07 Thread helix84
On Feb 7, 2014 11:20 AM, Hilton Gibson hilton.gib...@gmail.com wrote:
 ​Remember when you clean the cache, either manually or via the script,
then it needs to be rebuilt.
 $ /home/dspace/bin/dspace import -o -v -c ​

That rebuilds the index. The cache is something different - it caches whole
XML responses. Running import won't hurt but I'd be surprised if it helps.
IIRC, running import with -c also clears the cache.
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-07 Thread Hilton Gibson
Ok. So just delete and then things work.
I wonder if simply disabling the cache will work to.
Is this cache absolutely necessary?


*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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 7 February 2014 12:45, helix84 heli...@centrum.sk wrote:

 On Feb 7, 2014 11:20 AM, Hilton Gibson hilton.gib...@gmail.com wrote:
  ​Remember when you clean the cache, either manually or via the script,
 then it needs to be rebuilt.
  $ /home/dspace/bin/dspace import -o -v -c ​

 That rebuilds the index. The cache is something different - it caches
 whole XML responses. Running import won't hurt but I'd be surprised if it
 helps. IIRC, running import with -c also clears the cache.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-06 Thread Bhavesh Patel
Dear helix84/Hilton,

Yes, I have already set dspace.url  dspace.baseUrl on dspace.cfg (see the
screen sort : dspace_baseURL.png).

Also for OAI-PMH I have set that URL on /dspace/config/modules/oai.cfg file
(see the screen sort : oai_config.png)

Let me know if anything need to correct.

As per the document : https://wiki.duraspace.org/display/DSDOC3x/OAI
Harvesting from another DSpace : Point no 1 : First, check to see if the
external DSpace reports that it will support harvesting ORE via the OAI-PMH
interface.

Demo URL :
http://demo.dspace.org/oai/request?verb=ListRecordsmetadataPrefix=ore
(Working Fine - It's Fetch the results)

Our URL :
http://vslir.iimahd.ernet.in:8080/oai/request?verb=ListRecordsmetadataPrefix=ore
(It's
shows : No matches for the query) Can you please tell me what may be the
issue..?

I have just copy the oai folder from [dspace] to [tomcat-webapps]  set the
localhost path to vslir.iimahd.ernet.in into /dspace/config/modules/oai.cfg
(as screen sort attached).


Please let me know what may be the problem..

Thanks for your help..

Bhavesh Patel

Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*


On Tue, Feb 4, 2014 at 7:43 PM, helix84 heli...@centrum.sk wrote:

 Check that both your dspace.url and dspace.baseUrl are set to
 http://vslir.iimahd.ernet.in:8080;.


 Regards,
 ~~helix84

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

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-04 Thread Bhavesh Patel
Dear All,

I want to enable OAI-PMH for metadata harvesting of our IR.

Can you please let me know what I have to do for that.

http://vslir.iimahd.ernet.in:8080/oai/request

It's showing Illegal verb

also I try Identify :
http://vslir.iimahd.ernet.in:8080/oai/request?verb=Identify

also I try List of sets  :
http://vslir.iimahd.ernet.in:8080/oai/request?verb=ListSets

still it is accessible locally.. How to enable for global access ?

Thanks,
Bhavesh Patel
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-04 Thread helix84
Hi Bhavesh,

that is normal behaviour of OAI. Your OAI works correctly and I can access it.


Regards,
~~helix84

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

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-04 Thread Bhavesh Patel
Dear helix84,

data is accessible from outside also.. but on top links when I click then
it's showing the local IP..?

Can anybody harvest my metadata ? or I have to enable (require any changes)
to set the localhost to our ir url ?

Thanks,
Bhavesh

Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*


On Tue, Feb 4, 2014 at 4:22 PM, helix84 heli...@centrum.sk wrote:

 Hi Bhavesh,

 that is normal behaviour of OAI. Your OAI works correctly and I can access
 it.


 Regards,
 ~~helix84

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

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-04 Thread helix84
Check that both your dspace.url and dspace.baseUrl are set to
http://vslir.iimahd.ernet.in:8080;.


Regards,
~~helix84

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

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH into DSpace 3.2

2014-02-04 Thread Hilton Gibson
Perhaps this will also help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Harvesting/3.2

Cheers

hg

*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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 4 February 2014 16:13, helix84 heli...@centrum.sk wrote:

 Check that both your dspace.url and dspace.baseUrl are set to
 http://vslir.iimahd.ernet.in:8080;.


 Regards,
 ~~helix84

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

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/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 enable OAI-PMH?

2011-08-30 Thread Stan Orlov
Hi Alvaro,

We have a file named DSpaceOAICatalog.class in
C:\dspace-1.6.2-src-release\dspace-1.6.2-src-release\dspace-oai\dspace-oai-api\target\classes\org\dspace\app\oai.

And we have a file name dspace-oai-api-1.6.2.jar in
C:\DSpace\webapps\oai\WEB-INF\lib.

Cheers,
Stan


On Mon, Aug 29, 2011 at 6:12 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Stan:

 Do you have
 [dspace-source]/dspace-oai/dspace-oai-api/target/classes/org/dspace/app/oai/DSpaceOAICatalog.class?

 The jar that includes that class should be at:
 [dspace]/webapps/oai/WEB-INF/lib/dspace-oai-api-1.x.x.jar, where 1.x.x is
 your dspace installed version.

 Alvaro

 El 29/08/11 17:50, Stan Orlov escribió:

 Thank you, Alonso.  I have tried the url with a verb, but it gives me:

 HTTP Status 500 - type Exception report
 description The server encountered an internal error () that prevented it
 from fulfilling this request.
 exception
 javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
 ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 java.lang.Thread.run(Unknown Source)

 note The full stack trace of the root cause is available in the Apache
 Tomcat/6.0.18 logs.

 I looked at Tomcat logs and found this:

 stdout.log:
 java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at
 ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)
 at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
 at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
 at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)

 localhost.log:
 Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve
 invoke
 SEVERE: Allocate exception for servlet oai-handler
 javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
 at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
 at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)

 How should I interpret this.  Maybe I need to rebuild Dspace?  Or maybe
 there are some files missing in my oai directory?

 Cheers,
 Stan



 On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.clwrote:

  Hi Stan:

 The OAI service is expecting a verb.
 Try this url instead:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro


  El 29/08/11 12:58, Stan Orlov escribió:

 Hi Alvaro,

 

Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Stan Orlov
Hi Alvaro,

Thank you for your instructions.  I followed them and added the following
line:

Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted Tomcat.
However, when I go to http://localhost:8080/oai, I get error 404 - The
requested resource (/oai/) is not available.  There is a folder oai in
[dspace]\webapps, containing META-INF and WEB-INF directories.  Is there
something else I could try?

Thanks and cheers,
Stan


On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Stan:

 Try this url in your server, after following below instructions:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro

 El 26/08/11 17:16, Alvaro Sandoval escribió:

 Hi Stan:

 You can just copy [dspace]/webapps/oai  directory under [tomcat]/webapps
 directory.
 I prefer to include that directory into [tomcat]/conf/server.xml, under
 Host tag. Here is an example of how to define it in server.xml:

 Context path=/oai docBase=/dspace/webapps/oai/ debug=0
 reloadable=true cachingAllowed=false allowLinking=true/

 You should replace /dspace/webapps/oai/ with your oai directory.

 Then, restart tomcat and you should be able to ask:
 http://localhost:8080/oai, assuming tomcat is running on 8080 port.

 Cheers,
 Alvaro Sandoval


 El 26/08/11 16:35, Stan Orlov escribió:

 Greetings!

 We have an instance of DSpace that works fine: http://dc.msvu.ca.  It is
 version 1.6.2, running on Windows 2003.  I would like to enable OAI-PMH, but
 can't figure out what exactly to do.  I looked at
 https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface, but
 the instructions didn't seem to work for me.  If you could point me in the
 right direction, I would be most grateful.

  Cheers,
 Stan
 
 Stanislav Orlov, MEd, MISt
 Systems Librarian
 Mount Saint Vincent University
 166 Bedford Hwy
 Halifax, NS, B3M 2J6
 - Tel:  902-457-6212
 - Fax: 902-457-6445
 stan.or...@msvu.ca


 --
 EMC VNX: the world's simplest storage, starting under $10K
 The only unified storage solution that offers unified management
 Up to 160% more powerful than alternatives and 25% more efficient.
 Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev


 ___
 DSpace-tech mailing 
 listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech



 --
 Álvaro Sandoval Pizarro

 BCN, Biblioteca del Congreso Nacional de Chile
 Ingeniería y Desarrollo
 Fono (5632) 226 3981
 http://www.bcn.cl/



 --
 Álvaro Sandoval Pizarro

 BCN, Biblioteca del Congreso Nacional de Chile
 Ingeniería y Desarrollo
 Fono (5632) 226 3981
 http://www.bcn.cl/


--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread emilio lorenzo

Stan
You must query OAI with an OAI-admisible syntax.  Try  with

 localhost:8080/oai/request?verb=Identify   or    
/oai/request?verb=ListMetadataFormats   or...


(OAI is case-sensitive.)

best luck
Emilio






El 29/08/2011 17:58, Stan Orlov escribió:

Hi Alvaro,

Thank you for your instructions.  I followed them and added the 
following line:


Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted 
Tomcat.  However, when I go to http://localhost:8080/oai, I get error 
404 - The requested resource (/oai/) is not available.  There is a 
folder oai in [dspace]\webapps, containing META-INF and WEB-INF 
directories.  Is there something else I could try?


Thanks and cheers,
Stan


On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.cl 
mailto:alsando...@bcn.cl wrote:


Stan:

Try this url in your server, after following below instructions:

http://localhost:8080/oai/request?verb=ListMetadataFormats

Regards,
Alvaro

El 26/08/11 17:16, Alvaro Sandoval escribió:

Hi Stan:

You can just copy [dspace]/webapps/oai  directory under
[tomcat]/webapps directory.
I prefer to include that directory into [tomcat]/conf/server.xml,
under Host tag. Here is an example of how to define it in
server.xml:

Context path=/oai docBase=/dspace/webapps/oai/ debug=0
reloadable=true cachingAllowed=false
allowLinking=true/

You should replace /dspace/webapps/oai/ with your oai directory.

Then, restart tomcat and you should be able to ask:
http://localhost:8080/oai, assuming tomcat is running on 8080 port.

Cheers,
Alvaro Sandoval


El 26/08/11 16:35, Stan Orlov escribió:

Greetings!

We have an instance of DSpace that works fine:
http://dc.msvu.ca.  It is version 1.6.2, running on Windows
2003.  I would like to enable OAI-PMH, but can't figure out what
exactly to do.  I looked at
https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface,
but the instructions didn't seem to work for me.  If you could
point me in the right direction, I would be most grateful.

 Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
166 Bedford Hwy
Halifax, NS, B3M 2J6
- Tel: 902-457-6212 tel:902-457-6212
- Fax: 902-457-6445 tel:902-457-6445
stan.or...@msvu.ca mailto:stan.or...@msvu.ca



--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed.http://p.sf.net/sfu/emc-vnx-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net  
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



-- 
Álvaro Sandoval Pizarro


BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/



-- 
Álvaro Sandoval Pizarro


BCN, Biblioteca del Congreso Nacional de Chile
Ingeniería y Desarrollo
Fono (5632) 226 3981

http://www.bcn.cl/



--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


smime.p7s
Description: S/MIME Cryptographic Signature
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Stan Orlov
Thank you, Alonso.  I have tried the url with a verb, but it gives me:

HTTP Status 500 - type Exception report
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.

I looked at Tomcat logs and found this:

stdout.log:
java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)
at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

localhost.log:
Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet oai-handler
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

How should I interpret this.  Maybe I need to rebuild Dspace?  Or maybe
there are some files missing in my oai directory?

Cheers,
Stan



On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Hi Stan:

 The OAI service is expecting a verb.
 Try this url instead:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro


 El 29/08/11 12:58, Stan Orlov escribió:

 Hi Alvaro,

 Thank you for your instructions.  I followed them and added the following
 line:

 Context path=/oai docBase=C:\dspace\webapps\oai debug=0
 reloadable=true cachingAllowed=false allowLinking=true/

 right after the context path for xmlui in server.xml.   Restarted Tomcat.
 However, when I go to http://localhost:8080/oai, I get error 404 - The
 requested resource (/oai/) is not available.  There is a folder oai in
 [dspace]\webapps, containing META-INF and WEB-INF directories.  Is there
 something else I could try?

 Thanks and cheers,
 Stan


 On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.clwrote:

  Stan:

 Try this url in your server, after following below instructions:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 

Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Alvaro Sandoval

Stan:

Do you have 
[dspace-source]/dspace-oai/dspace-oai-api/target/classes/org/dspace/app/oai/DSpaceOAICatalog.class? 


The jar that includes that class should be at:
[dspace]/webapps/oai/WEB-INF/lib/dspace-oai-api-1.x.x.jar, where 1.x.x 
is your dspace installed version.


Alvaro

El 29/08/11 17:50, Stan Orlov escribió:

Thank you, Alonso.  I have tried the url with a verb, but it gives me:

HTTP Status 500 - type Exception report
description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

java.lang.Thread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.18 logs.


I looked at Tomcat logs and found this:

stdout.log:
java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)

at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)

localhost.log:
Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve 
invoke

SEVERE: Allocate exception for servlet oai-handler
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Unknown Source)

How should I interpret this.  Maybe I need to rebuild Dspace?  Or 
maybe there are some files missing in my oai directory?


Cheers,
Stan



On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.cl 
mailto:alsando...@bcn.cl wrote:


Hi Stan:

The OAI service is expecting a verb.
Try this url instead:

http://localhost:8080/oai/request?verb=ListMetadataFormats

Regards,
Alvaro


El 29/08/11 12:58, Stan Orlov escribió:

Hi Alvaro,

Thank you for your instructions.  I followed them and added the
following line:

Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false
allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted
Tomcat.  However, when I go to 

[Dspace-tech] How to enable OAI-PMH?

2011-08-26 Thread Stan Orlov
Greetings!

We have an instance of DSpace that works fine: http://dc.msvu.ca.  It is
version 1.6.2, running on Windows 2003.  I would like to enable OAI-PMH, but
can't figure out what exactly to do.  I looked at
https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface, but the
instructions didn't seem to work for me.  If you could point me in the right
direction, I would be most grateful.

 Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
166 Bedford Hwy
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.or...@msvu.ca
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] how to enable OAI-PMH

2007-10-10 Thread asim naseem
Hi
   
  I am trying to enable the OAI-PMH interface but not successful,any idea how 
to enable OAI-PMH interface in dspace 1.4?
   
  Thanks
  Regards
   
  ASIM

   
-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] how to enable OAI-PMH

2007-10-10 Thread James Rutherford
On Wed, Oct 10, 2007 at 09:25:37AM -0700, asim naseem wrote:
   I am trying to enable the OAI-PMH interface but not successful,any
   idea how to enable OAI-PMH interface in dspace 1.4?

When you run the build_wars target with ant, it will give you two WAR
files, one for the JSP UI, and one for the OAI-PMH interface. Deploying
it is as simple as it is for the JSP UI: just give the WAR file to
tomcat. You will then (by default) be able to access the interface from
this URL:

http://hostname+port/dspace-oai?request

Also, see http://wiki.dspace.org/index.php/Use_the_OAI-PMH_interface,
and I'm pretty sure there are docs included in the release that tell you
how to do this.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech