Re: [Dspace-tech] Help with METS Ingest Import

2008-01-18 Thread Lawry Persaud

Hello Larry,

It's been a while but I need your help. I'm using the DSRUN command so 
that I can INGEST as METS file.  So far INGEST works if I'm using MODS 
having MDTYPE=MODS but when my is MDTYPE=DC I'm running into all 
sorts of problems.  One would think this (using Dublin Core DC Tags) 
would be default behavior and not MODS.  Also, I had to do magic in my 
dspace.cfg file so that I could simply get AbstractMETSIngester to 
work.  I think you might have a code section incomplete or possibly I 
might have the dspace.cfg settings incorrect when using MDTYPE=DC.  
Here's what I had to do to my config file:




Added the following:

NEW Entry
++
plugin.named.org.dspace.content.packager.PackageIngesterMETS = \
 org.dspace.content.packager.PDFPackager  = Adobe PDF, PDF, \
 org.dspace.content.packager.DSpaceMETSIngester = METS


plugin.named.org.dspace.content.crosswalk.IngestionCrosswalk = \
 org.dspace.content.crosswalk.PREMISCrosswalk = PREMIS \
 org.dspace.content.crosswalk.QDCCrosswalk = QDC \ 
+++This I had to add

 org.dspace.content.crosswalk.NullIngestionCrosswalk = NIL

Once I did the above MDTYPE=DC stop giving me an exception on DC 
Manifest is not supported.


What is happening now: I'm getting an exception in AbstractMETSIngester
// Sanity-check the resulting metadata on the Item:
   PackageUtils.checkMetadata(item);

Because the TITLE is not found in my METS.XML file and that looks like 
the following:


METS:mdWrap MIMETYPE=text/xml MDTYPE=DC LABEL=Dublin Core Metadata
   METS:xmlData
   oai_dc:dc 
xmlns:oai_dc=http://www.openarchives.org/OAI/2.0/oai_dc/; 
xmlns:dc=http://purl.org/dc/elements/1.1/;

   dc:titleTestbed #1/dc:title
   dc:creatorJack 
Rabbit/dc:creator 
  dc:subjectTest/dc:subject

   /oai_dc:dc
   /METS:xmlData
   /METS:mdWrap   



Any help is mostly appreciated.

--Lawry P.




Larry Stone wrote:

See the Application Layer page in the DSpace system documentation
(docs/application.html in the source), the section Package Importer and
Exporter.  Briefly, the [dspace]/bin/packager command ingests packages
as well, you have to give it a -c collection-handle option and can
specify -s for submit, although i believe this is the default.

In any case, run [dspace]/bin/packager --help  for help with all options.

-- Larry

  

I've been struggling trying to figure how to import METS ITEMS into
DSPACE as in SIP. There's an export utility (dsrun) for exporting DSPACE
items into METS Formats (DIP).  How would I go about doing the reverse,
importing METS Items into a Collection.



  
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help with METS Ingest Import

2007-10-25 Thread Lawry Persaud

Hi all,

I've been struggling trying to figure how to import METS ITEMS into 
DSPACE as in SIP. There's an export utility (dsrun) for exporting DSPACE 
items into METS Formats (DIP).  How would I go about doing the reverse, 
importing METS Items into a Collection.


Thanks and your response is much appreciated.

--LP
-
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


[Dspace-tech] DSpace METS INGEST

2007-10-22 Thread Lawry Persaud
I would like to import/load my items into a collection using 
METS/INGEST.  How do I go about doing that?  Any examples (METS XMLs 
with DC Tags) and dsrun commands.


--Thanks in advance
-
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] DSpace 1.42 and STANDALONE Handle Server

2007-09-10 Thread Lawry Persaud

Hi Andrea,

I got it to work thanks to your help. 

After reconfiguring everything based on your suggestion, and turning on 
Debug (Log4j.properties) log4j.rootCategory=DEBUG, A1 the Postgres 
PG_HBA.conf file needed modification to allow the IP address of the 
Handle Server Host.  Once I did that I restarted postgres and handle 
server and I can now access run the Handle Server outside of Dspace and 
being able to reach Dspace Archive Document.


Thank you.



Andrea Bollini wrote:

Hi Lawry,
I have used this strategy when I have moved a DSpace instance on a new
server. I have continued to run handle server on the previous server
then CNRI update its registry ( in a very short time :-) ) and all works
fine...
Set you log level to DEBUG and post the full trace error.
Andrea

Lawry Persaud ha scritto:
  

Hi Andrea,

I tried your suggestion as per moving the necessary DSPACE/Handle
files over to the handle-server machine.  I re-ran make-handle based
on the changes of the dspace.cfg which reflects the hostname of the
dspace instance and the database hostname, which are the same.

My handle server starts up fine using the dspace starti-handle
command.  However, whenever I access the urn
http://handle-server-hostname:8000/prefix/collection-number I'm
getting the following error:

2007/09/09 05:51:17 EDT 75 class net.handle.server.HandleServer:
error getting values: HandleExcept
ion (INTERNAL_ERROR)
HandleException (INTERNAL_ERROR)
   at
org.dspace.handle.HandlePlugin.getRawHandleValues(HandlePlugin.java:307)
   at
net.handle.server.HandleServer.doResolution(HandleServer.java:2601)
   at
net.handle.server.HandleServer.processRequest(HandleServer.java:1229)
   at
net.handle.server.HandleServer.processRequest(HandleServer.java:1188)
   at
net.handle.server.HdlHttpRequestHandler.doResolution(HdlHttpRequestHandler.java:896)

   at
net.handle.server.HdlHttpRequestHandler.handleHtmlRequest(HdlHttpRequestHandler.java:589)

   at
net.handle.server.HdlHttpRequestHandler.run(HdlHttpRequestHandler.java:537)

   at java.lang.Thread.run(Thread.java:595)


Andrea Bollini wrote:


It's not really different then run from the same machine
you need only to keep a copy of part of dspace-installation  (lib, bin,
handle-server and config dir). Modify the dspace.cfg copy on Handle
machine to access at the DSpace DB (normally on the same server that
DSpace webapp but don't required)
Finally you can start and stop the handle server normally.
Hope this help,
Andrea

Lawry Persaud ha scritto:
 
  

Does anyone know how to run the Handle Server on a different machine
other than the primary DSPace Server?




-

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/



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

  
  



  
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.42 and STANDALONE Handle Server

2007-09-09 Thread Lawry Persaud

Hi Andrea,

I tried your suggestion as per moving the necessary DSPACE/Handle files 
over to the handle-server machine.  I re-ran make-handle based on the 
changes of the dspace.cfg which reflects the hostname of the dspace 
instance and the database hostname, which are the same.


My handle server starts up fine using the dspace starti-handle command.  
However, whenever I access the urn 
http://handle-server-hostname:8000/prefix/collection-number I'm getting 
the following error:


2007/09/09 05:51:17 EDT 75 class net.handle.server.HandleServer: error 
getting values: HandleExcept

ion (INTERNAL_ERROR)
HandleException (INTERNAL_ERROR)
   at 
org.dspace.handle.HandlePlugin.getRawHandleValues(HandlePlugin.java:307)
   at 
net.handle.server.HandleServer.doResolution(HandleServer.java:2601)
   at 
net.handle.server.HandleServer.processRequest(HandleServer.java:1229)
   at 
net.handle.server.HandleServer.processRequest(HandleServer.java:1188)
   at 
net.handle.server.HdlHttpRequestHandler.doResolution(HdlHttpRequestHandler.java:896)
   at 
net.handle.server.HdlHttpRequestHandler.handleHtmlRequest(HdlHttpRequestHandler.java:589)
   at 
net.handle.server.HdlHttpRequestHandler.run(HdlHttpRequestHandler.java:537)

   at java.lang.Thread.run(Thread.java:595)


Andrea Bollini wrote:

It's not really different then run from the same machine
you need only to keep a copy of part of dspace-installation  (lib, bin,
handle-server and config dir). Modify the dspace.cfg copy on Handle
machine to access at the DSpace DB (normally on the same server that
DSpace webapp but don't required)
Finally you can start and stop the handle server normally.
Hope this help,
Andrea

Lawry Persaud ha scritto:
  

Does anyone know how to run the Handle Server on a different machine
other than the primary DSPace Server?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


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




  
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.42 and STANDALONE Handle Server

2007-09-08 Thread Lawry Persaud
Does anyone know how to run the Handle Server on a different machine 
other than the primary DSPace Server?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Running Handle Server on a different machine DSpace 1.4.2

2007-09-05 Thread Lawry Persaud
We have just recently received our CNRI Handle Number and we are running 
DSPACE 1.42.  Our setup is such were our handle server is sitting 
outside our Firewall (FW) and our Dspace Server is within the Firewall.  
We have opened the ports 8000 and 2641 on the FW and between the Handle 
Server and our DSpace server.

We would like to have the handle server pass request to the local 
instance of the handle server running on our DSpace server OR simply NOT 
run the local instance of DSpance Handle Server (sorta of redundant).  
However, DSpace has a handle plugin it runs as a dependency.

Our first course of action is to first install the Handle Server from 
CRNI on the same server as DSpace.  First get that to work and then 
separate the two.  If you run the Handle Server that's packaged with 
DSpace it works, however when we separate yours from DSpace it stops 
working.

Has anyone requested this behavior before or at least have DSpace 
clients who would like to run the CNRI Handle Server outside of Dspace 
and have it talk to the DSpace server.

Thanks in advance.

Lawry Persaud

-
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