From: <M...@rc...> - 2009-02-06 16:48:40
|
Hi Stuart, thanks for the reply, but I have problem with the first step, because when you open http://tegra.lasalle.edu.co/sword/servicedocument comes the error: HTTP Status 500 -- type Exception report Message description The server encountered an internal error () that he could not fill this requirement. exception javax.servlet.ServletException: Servlet implementation launched an emergency root cause java.lang.NoClassDefFoundError org.dspace.sword.SWORDAuthentication.authenticates (SWORDAuthentication.java: 65) org.dspace.sword.DSpaceSWORDServer.authenticate (DSpaceSWORDServer.java: 266) org.dspace.sword.DSpaceSWORDServer.authenticate (DSpaceSWORDServer.java: 216) org.dspace.sword.DSpaceSWORDServer.doServiceDocument (DSpaceSWORDServer.java: 91) org.purl.sword.server.ServiceDocumentServlet.doGet (ServiceDocumentServlet.java: 80) javax.servlet.http.HttpServlet.service (HttpServlet.java: 689) javax.servlet.http.HttpServlet.service (HttpServlet.java: 802) Note The trace of the cause of this error is in the log files of Apache Tomcat/5.5.17. Recently updated version of DSpace 1.4.2 to 1.5, which is not another file missing configure, thank you very much. marce > From: swo...@li... > Subject: sword-app-tech Digest, Vol 14, Issue 1 > To: swo...@li... > Date: Mon, 2 Feb 2009 16:23:54 +0000 > > Send sword-app-tech mailing list submissions to > swo...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > or, via email, send a message with subject or body 'help' to > swo...@li... > > You can reach the person managing the list at > swo...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sword-app-tech digest..." > > > Today's Topics: > > 1. Sword dspace (Marcela Rodr?guez Ortiz) > 2. Re: Sword dspace (Stuart Lewis) > 3. Problem with SWORD Servlet Client (Debashree Pati) > 4. Re: Problem with SWORD Servlet Client (Stuart Lewis) > 5. Re: Problem with SWORD Servlet Client (Debashree Pati) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 28 Jan 2009 13:57:49 -0500 > From: Marcela Rodr?guez Ortiz <mro...@la...> > Subject: [sword-app-tech] Sword dspace > To: "'swo...@li...'" > <swo...@li...> > Message-ID: > <6CB...@sv....loc> > > Content-Type: text/plain; charset="iso-8859-1" > > hello, I have already installed DSpace 1.5 but now I do not know how to use sword, which I modify in dspace.cfg? we need an interface? thanks for your help > > Ing. Marcela Rodr?guez Ortiz > Soporte Biblioteca > Universidad de La Salle > Tel: 348 8000 Ext. 1268 > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Thu, 29 Jan 2009 10:00:43 +0000 > From: Stuart Lewis <sd...@ab...> > Subject: Re: [sword-app-tech] Sword dspace > To: <swo...@li...> > Message-ID: <C5A72ECB.1F792%sd...@ab...> > Content-Type: text/plain; charset="US-ASCII" > > Hi Marcela, > > > hello, I have already installed DSpace 1.5 but now I do not know how to use > > sword, which I modify in dspace.cfg? we need an interface? thanks for your > > help > > First you have to deploy the sword web application. You have probably > already deployed either the jspui or the xmlui web application, and maybe > the oai web application. Do the same for sword, so that you can visit > http://your-repository.com/sword/ > > Make sure that in dspace.cfg the key 'sword.deposit.url' is set to your > server (e.g. http://your-repository.com/sword/deposit) > > That will mean SWORD is ready to be used. > > Next, test it works. You can do this by visiting > http://your-repository.com/sword/servicedocument where your browser should > prompt you for a username and password. Enter your DSpace username and > password. You should then find your browser downloads an XML file which says > which collections you can deposit to. > > >From now on it'll be easier for you to use a client. You could either try > using the Java client > (https://sourceforge.net/project/showfiles.php?group_id=208296&package_id=25 > 1139), the php client (http://php.swordapp.org/ - use version0.4 as version > 0.5 is for SWORD version 1.3 which isn't implemented in DSpace yet), or the > Facebook client (http://fb.swordapp.org/). > > You can then use these tools to view the servicedocument, and then deposit a > file. > > Hope this helps, > > > Stuart > _________________________________________________________________ > > Gwasanaethau Gwybodaeth Information Services > Prifysgol Aberystwyth Aberystwyth University > > E-bost / E-mail: Stu...@ab... > Ffon / Tel: (01970) 622860 > _________________________________________________________________ > > > > > ------------------------------ > > Message: 3 > Date: Thu, 29 Jan 2009 10:59:11 -0500 > From: "Debashree Pati" <dp...@ol...> > Subject: [sword-app-tech] Problem with SWORD Servlet Client > To: <swo...@li...> > Message-ID: <004f01c9822a$87222910$95667b30$@org> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > > > I am running dspace-sword. I could successfully test the SWORD command-line > and gui clients. Next I wanted to run the web client. > > I followed the instructions for "Installing the SWORD Servlet Client": > > 1. edited SWORDJavaLibrary-1.0/SWORD_1/web/etc/sword-web.xml and > entered in http://localhost:8080/sword/servicedocument in client-urls. > > > > 2. built the WAR file by typing 'ant war' at SWORD > SWORDJavaLibrary-1.0/SWORD_1 > > > > > > 3. copied sword.war to [dspace-installed-directory]/webapps (I have > added to Tomcat's conf/server.xml - > > <!-- > > DEFINE A CONTEXT PATH FOR DSpace SWORD User Interface > > --> > > < Context path="/sword" > docBase="C:\DSpace\webapps\sword" debug="0" reloadable="true" > cachingAllowed="false" allowLinking="true" /> > > ) > > 4. in dspace.cfg I set 'sword.deposit.url' to > http://localhost:8080/sword/deposit > > > > When I access http://localhost:8080/sword/ I get "HTTP status 404 - /sword/ > - requested resource (/sword/) is not available. > > > > But, when I visit http://localhost:8080/sword/servicedocument I get prompt > for username/password. After I enter Dspace uname/passwd the browser doesn't > open the file in the browser window - with message: can't recognize file > type. I could save and open it using MS Wordpad. > > > > Can someone please help? > > > > Thanks, > > Deb > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 4 > Date: Fri, 30 Jan 2009 07:22:50 +0000 > From: Stuart Lewis <sd...@ab...> > Subject: Re: [sword-app-tech] Problem with SWORD Servlet Client > To: Debashree Pati <dp...@ol...>, > "swo...@li..." > <swo...@li...> > Message-ID: <C5A85B4A.1F81F%sd...@ab...> > Content-Type: text/plain; charset="ISO-8859-1" > > Hi Deb, > > > I followed the instructions for ?Installing the SWORD Servlet Client?: > > 1. edited SWORDJavaLibrary-1.0/SWORD_1/web/etc/sword-web.xml and > > entered in http://localhost:8080/sword/servicedocument in client-urls. > > > > 2. built the WAR file by typing ?ant war? at SWORD > > SWORDJavaLibrary-1.0/SWORD_1 > > > > 3. copied sword.war to [dspace-installed-directory]/webapps (I have added > > to Tomcat?s conf/server.xml ? > > <!-- > > DEFINE A CONTEXT PATH FOR DSpace SWORD User Interface > > --> > > < Context path="/sword" docBase="C:\DSpace\webapps\sword" > > debug="0" reloadable="true" cachingAllowed="false" allowLinking="true" /> > > ) > > It sounds like you have two copies of a web application that Tomcat wants to > reference at http://localhost:8080/sword/ (sword.war in /webapps, and /sword > as defined in server.xml). > > I think the one defined in server.xml is taking precedence (the dspace-sword > implementation). > > Maybe try deploying the client with a different name, e.g. client.war > > Hope this helps, > > > Stuart > _________________________________________________________________ > > Gwasanaethau Gwybodaeth Information Services > Prifysgol Aberystwyth Aberystwyth University > > E-bost / E-mail: Stu...@ab... > Ffon / Tel: (01970) 622860 > _________________________________________________________________ > > > > > ------------------------------ > > Message: 5 > Date: Mon, 2 Feb 2009 11:23:17 -0500 > From: "Debashree Pati" <dp...@ol...> > Subject: Re: [sword-app-tech] Problem with SWORD Servlet Client > To: "'Stuart Lewis'" <sd...@ab...>, > <swo...@li...> > Message-ID: <002001c98552$8e285470$aa78fd50$@org> > Content-Type: text/plain; charset="windows-1256" > > Hi Stuart, > > Thanks for your reply. I tried your suggestion but it did not help. My first > objective is to be able to pull up an interface when I enter > http://localhost:8080/sword in my browser url. Right now it just displays > the 404 message (/sword/ not found). I am able to bring up interfaces when I > do the same for http://localhost:8080/jspui and similarly xmlui. The Tomcat > Manager shows a single session of jspui and xmlui but 0 sessions of sword. > > What exactly should I do to get the sword app to work? Can you please > outline the required steps? I am completely stuck here. If you need any > information about my configuration please let me know. > > Thanks, > Debashree > > > -----Original Message----- > From: Stuart Lewis [mailto:sd...@ab...] > Sent: Friday, January 30, 2009 2:23 AM > To: Debashree Pati; swo...@li... > Subject: Re: [sword-app-tech] Problem with SWORD Servlet Client > > Hi Deb, > > > I followed the instructions for ?Installing the SWORD Servlet Client?: > > 1. edited SWORDJavaLibrary-1.0/SWORD_1/web/etc/sword-web.xml and > > entered in http://localhost:8080/sword/servicedocument in client-urls. > > > > 2. built the WAR file by typing ?ant war? at SWORD > > SWORDJavaLibrary-1.0/SWORD_1 > > > > 3. copied sword.war to [dspace-installed-directory]/webapps (I have > added > > to Tomcat?s conf/server.xml ? > > <!-- > > DEFINE A CONTEXT PATH FOR DSpace SWORD User Interface > > --> > > < Context path="/sword" > docBase="C:\DSpace\webapps\sword" > > debug="0" reloadable="true" cachingAllowed="false" allowLinking="true" /> > > ) > > It sounds like you have two copies of a web application that Tomcat wants to > reference at http://localhost:8080/sword/ (sword.war in /webapps, and /sword > as defined in server.xml). > > I think the one defined in server.xml is taking precedence (the dspace-sword > implementation). > > Maybe try deploying the client with a different name, e.g. client.war > > Hope this helps, > > > Stuart > _________________________________________________________________ > > Gwasanaethau Gwybodaeth Information Services > Prifysgol Aberystwyth Aberystwyth University > > E-bost / E-mail: Stu...@ab... > Ffon / Tel: (01970) 622860 > _________________________________________________________________ > > > > > ------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > > ------------------------------ > > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > End of sword-app-tech Digest, Vol 14, Issue 1 > ********************************************* _________________________________________________________________ Prueba los prototipos de los últimos en MSN Motor http://motor.es.msn.com/ |