[Dspace-tech] PUT returned status = 500; text=Internal Server Error(LNIclient finishPut)
Hi everyone, I have one question about DSpace LNIclient with DSpace SIP, which written by Larry Stone. I am using this java file to build our Ingest Tool. Before yesterday I didn’t have any problem with it. But at yesterday night I can’t call the DSpaceLNIclient right at every time. Sometimes there was Exception with finishPut() Method, which the return status is 500. PUT returned status = 500; text=Internal Server Error The Problem is that I didn’t change any line of LNIclient and DSpaceSIP. Why causes this error anyway. I have restarted the tomcat. And sometime it’s work and can ingest the DSpaceSIP. NOT AT EVERYTIME !! I really want to know, how I should fix this Problem. I don’t want to restart at every day How should i change the code or the setting of dspace Please try to help me! Regards Robin Here is my code: DSpaceLNIclient dspaceclient = new DSpaceLNIclient( http:///lni/dav/;, XX, XXX); OutputStream os; DSpaceSIP sip; String col_id = 123456789/5848; try { String str = dspaceclient.lookupHandle(123456789/5848); System.err.println(str); sip = new DSpaceSIP(false, Deflater.BEST_SPEED); sip.setOBJID(DSpaceID); sip.addAgent(SIP, ORGANIZATION, DAFFODIL Ingest Tool); sip.addBitstream(new File(Newby_01.xml), content/ + Newby_01.xml, ORIGINAL, true); sip.addBitstream(new File(FoxmlText.xml), content/ + FoxmlText.xml, ORIGINAL, true); org.jdom.Document modsDoc = sip.transformBibMD(new File( Newby_01.xml), new File(Bib2MODS.xsl)); Namespace ns = Namespace.getNamespace(mods, http://www.loc.gov/mods/v3;); sip.addDescriptiveMD(MODS, modsDoc, ns); os = dspaceclient.startPut(col_id, METS, null); sip.write(os); os.close(); String newItemhandle = dspaceclient.finishPut(); System.out.println(newItemhandle); _ http://redirect.gimas.net/?n=M0910xHotmail2 Neu, Besser, Hotmail - Die neuen Features sind da!-- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Internal System Error by ingest a new item in demo collection
Hallo Claudia, I need your help again. I know that i have asked the same question in the mailing of dspace before. At last time you suggested me, that i chould change the dspace.cfg for mail server under /dspace/config. 1. Because i have an other instance of dspace unter my ubuntu , so i writed the programm before with my dspace instance. But now my job is almost done, so i must switch the test instance to our dspace server at safran fernuni hagen. I changed the dspace.cfg just as you and my teacher suggested and restart the tomcat. But i got the error still. # SMTP mail server mail.server=localhost # From address for mail mail.from.address = dspace-nore...@localhost # General site administration (Webmaster) e-mail mail.admin = dspace-h...@localhost We have no mail server under safran. fernuni-hagen.de. so i can just set the mail server as localhost. So i need to know , where can i watch the protocol and how can i fix it. 2. You also suggested me that i should check the permissions of the /dspace. The question is, what kind of the permission of dspace should been set, that i chould kill this error. As you get the error at an earlier stage, check your [dspace] dir permissions. The user, under which your servlet container runs, needs to write to the upload dirctory and assetstore during ingest. I have installed the dspace following the same protocol of installing the dspace 1.5 under ubuntu. Why i have the internal error by ingesting the files in our safran server. but can ingest the file in my dspace without problem. I really really need the help. thank you and regards robin _ http://redirect.gimas.net/?n=M0906xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos!-- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Converte the Bibtex into qualified DC
Hi, Thank you for your Answer. I have just one qeustion still for the bibtex.xls. Converted the bibtex into DC or into MODS through the bibtex.xls? Which one should i do? Because the DC doesn't support alle fileds of bibtex record like journal or pages. Regards Robin CC: dspace-tech@lists.sourceforge.net From: l...@mit.edu To: greenst...@live.de Subject: Re: [Dspace-general] Converte the Bibtex into qualified DC Date: Tue, 26 May 2009 20:01:01 -0400 If the bibtex metadata is already in XML, I recommend putting it right in the METS manifest in your SIP, and then add a crosswalk to DSpace to interpret it. This way you don't lose any information before getting into DSpace, and the crosswalk can translate Bibtex directly into the exact metadata fields your DSpace is using. To do this: 1. make up a different name for the MDTYPE attribute in the METS, e.g. bibtex, so the manifst looks like: dmdSec ... mdWrap ... MDTYPE=bibtex ...the Bibtex metadata 2. add line to your DSpace configuration to tell METS ingester what crosswalk to use for MDTYPE=bibtex: mets.submission.crosswalk.bibtex = bibtex2dspace 3. configure the bibtex2dspace crosswalk, the easiest way is to implement it as an XSLT stylesheet, e.g. add this to configuration: crosswalk.submission.bibtex2dspace.stylesheet = crosswalks/bibtex.xsl ...then just write the stylesheet; see the wiki and manual for examples. hope that helps, -- Larry On May 26, 2009, at 1:51 PM, Robin Wang wrote: Hi everyone, I wanna use the DSpaceSIP from Larry Stone and converte my bibtex xml file for original pdf file into qualified DC Record that i can insert the DC Record into a Mets Record for DSpace later. i know that i should use the XSLT to do it. but does anyone here know,what kind of a qualified DC should i build into METS dmdSec ID=DMD DSpaceID mdWrapQualified Dublin Core metadata /mdWrap /dmdSec dmdSec ID=dmd002 mdWrap MIMETYPE=text/xml MDTYPE=DC LABEL=Dublin Core Metadata xmlData dc:titleAlice's Adventures in Wonderland/dc:title dc:creatorLewis Carroll/ dc:creator dc:datebetween 1872 and 1890/ dc:date dc:publisherMcCloughlin Brothers/dc:publisher dc:typetext/dc:type /xmlData /mdWrap /dmdSec I do know that i should add an exetension schema for the DC, but can anyone tell me, what kind of an exetension schema for qualified DC in dspace should i give?? Or should i use the mods (http://www.loc.gov/standards/mods/v3/mods-3-1.xsd ) xsi:schemaLocation=http://www.loc.gov/mods/v3http://www.loc.gov/standards/mods/v3/mods-3-3.xsd http://www.loc.gov/standards/mods/v3/mods-userguide-examples.html#digitized_book Which one will be better for LNIClient??? Thanks Robin Posteingang immer voll? Der erste Speicher, der mitwächst: Unbegrenzter Speicher bei Windows Live Hotmail! ___ Dspace-general mailing list dspace-gene...@mit.edu http://mailman.mit.edu/mailman/listinfo/dspace-general _ http://redirect.gimas.net/?n=M0905xFTP_SpringCampaign2 -- Für Fotos hier abdrücken --- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Internal System Error by ingest a new item in demo collection
Hi Claudia, Can we just set the Mail Server as localhost. i mean all setting like dspace-nore...@myu.edu to dspace-nore...@localhost for the testing step? Thanks Robin Date: Thu, 14 May 2009 14:01:13 +0200 From: claudia.juer...@ub.uni-dortmund.de To: greenst...@live.de CC: dspace-gene...@mit.edu; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Internal System Error by ingest a new item in demo collection Hello Robin, during ingest your dspace instance will try to send email, so you got to provide valid email settings in the dspace.cfg. If your instance isn't able to send emails you will get an internal error on granting the license, because at that point either the submitter or the workflow members will be notified. As you get the error at an earlier stage, check your [dspace] dir permissions. The user, under which your servlet container runs, needs to write to the upload dirctory and assetstore during ingest. Hope that helps Claudia Jürgen Robin Wang schrieb: Hi after installing the dspace server i am trying to ingest some items to test it. So i created the demo community and demo collection. But when i gatta ingest a new item in demo collection, i get still the Internal System Error by the Step Upload in the workflow. can somebody tell me,how can i fix it? PS: i just installed the server without any setting for handle System and mail system. Regards Robin _ http://redirect.gimas.net/?n=M0905xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos! -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech _ http://redirect.gimas.net/?n=M0905xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos!-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace LNI WebDAV Error lookupHandle(request status=404, msg=Not Found)
Hi, For writing an ingest tool i have installed the dspace 1.5.2 under our Server at fernuni hagen. http://safran.fernuni-hagen.de:8280/jspui note,that i haven't registered the CRNI handle System. So l used the LNIclient from Larry und try to talk to DSpace LNI Server. Is the Page of LNI WebDAV http://safran.fernuni-hagen.de:8280/jspui/lni/dav Why do i get still the status 404 with the lookup methode?? I have just one community with 123456789/1 I can't ensure whether my DSpace LNI Server already works or is installed Is the LNI already installed in my DSpace 1.5.2? In [dspace]/webapps/lni just nothing (only META-INF and WEB-INF)? Yes, all the dspace lni files like dspace lni client jar or dspace lni war are builded under [dspace-source]/dspace What should i do to get the LNI Server start? cp the files from [dspace-source]/dspace/modules/lni/target to [dspace]/webapps/lni I really need the help,please! Regards Robin _ http://redirect.gimas.net/?n=M0905xFTP_SpringCampaign2 -- Für Fotos hier abdrücken --- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Internal System Error by ingest a new item in demo collection
Hi after installing the dspace server i am trying to ingest some items to test it. So i created the demo community and demo collection. But when i gatta ingest a new item in demo collection, i get still the Internal System Error by the Step Upload in the workflow. can somebody tell me,how can i fix it? PS: i just installed the server without any setting for handle System and mail system. Regards Robin _ http://redirect.gimas.net/?n=M0905xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos!-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] The DSpace Site for LNI WebDAV
Hi DSpacers, I wanna ask, if the Home DSpace at Tomcat is localhost:8080/jspui for DSpace 1.5; how will the DSpace Site for LNI WebDAV look like? Is localhost:8080/jspui/dav or localhost:8080/jspui/lni/dav How can i find the right DSpace Site for DAV? Rgs robin _ http://redirect.gimas.net/?n=M0905xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos!-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] About the Ingest Item through LNIclient.java and DspaceSIP.java
Hi everyone, I want to ask some questions about the ingest item process through the LNI. We know that DSpace offered the unofficial Version of JAVA Code for DSpaceSIP and LNIClient which for PUT Method are. With the Combination of the two JAVA Class we can write a minimal LNIClient for ingest function. 1.The DSpaceSIP is used to build the SIP Package with the original File and METS File. The original Files are converted to outputstream and the SIP is zipped. Question is whether DSpace accept the ZIP OS of SIP. I know this is a foolish question but really want to know. 2.What is the primaryBitstream in the DSpaceSIP? 3.Can I just ignore the workflow for the ingest process in the WebUI, if I use the SIP to ingest the item in DSpace 4. OutputStream os = lni.startPut(collection, METS, null); Is the String “collection” write the WebDAV handle number of the collection, in which I want to ingest the new item. 5. I have now 1000 PDF Files and the XML Metadaten Files in well-formated Bibtex and want to ingest the files in DSpace. Does DSpace-Server support the Bibtex Format to describe the PDF Files?? Can I just build the Bibtex instead of MODS or DC into the METS(dmdsec)? Or should I convert the Bibtex into QDC for the DSpace? Regards Robin _ http://redirect.gimas.net/?n=M0905xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos!-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] How to use the Workflow Item to building the ingest Process with LNI
Hi everyone, I am trying to write an application with the LNI in DSpace 1.5. We know that the LNI support the function of ingest an new item in the collcetion/subcollection. So I readed the LNISmokeTest in Java. And got a perspertive about the LNI. In the Web U/I we could ingest an new ingest an item through an workfolw. The LNI supports also the workfolw item. The Question is how can i ingest an item by using an workfolw item or should i use an workflow item for ingesting an new item? how can i simu the process of ingesting an item? Should i get the workfolw item at first and read the workflow to complete the ingest process for an new item? Andto ingest an item, i need to edit the dc for the new item. How can i do for this?? I really need the right workflow/suggestion about the Workflow Item and ingest process by coding such an application. thanks kevin _ http://redirect.gimas.net/?n=M0904xMSNMovies Filme.Gratis.Für alle. MSN Movies. Fehlt nur noch das Popcorn.-- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech