I'd hazard a guess that the cause of your error is related to SRW not being able to a) find a particular DSpace method, or b) call the particular DSpace method with the correct parameters.
If I remember correctly, I had to copy a number of jars from DSpace and the Java lib dir to the SRW directory in order to get everything to work correctly. Therefore, if the documentation for SRW is incomplete, I would recommend contacting the developer; he is very helpful and responds to issues in a timely manner. If I can get my demo server running, I will try and document the steps I took to build it and post it over to you (it took me about 8 hours straight to get the thing to work so hopefully it will save you a bit of time!). Cheers Hayden Joan Caparros wrote: > Hi I'm just wondering if anyone can help me, I'm trying to install the > SRW server into my current Dspace. > Using: > Tomcat6 > postgresql-8.2.13 > DSpace 1.4.2 > Java jdk1.6.0_14 > Apache Ant version 1.7.1 > > I followed that steps : > - First of course I have my DSpace running correctly > - Checked that the database appears and all Dspace is running. > - I have downloaded the SRW Server source from the OCLC's svn (svn > checkout */http/*://oclcsrw.googlecode.com/svn/trunk/ oclcsrw-read-only) > - I have downloaded the SRW/SRU interface for DSpace from the OCLC's > svn (svn checkout > http://oclcsrwdspacelucene.googlecode.com/svn/tags/DSpace-1.4.2 > oclcsrwdspacelucene-1.4.2) > - Compiled the SRW Server with ant > - Copied the SRW.war inside tomcat/webapps/ > - Rebooted tomcat, just to see that the webserver test was running > fine. (http://localhost:8080/SRW/search/test) > - Compiled the SRW/SRU interface for DSpace copied the > SRWDSpaceLucene-1.4.2.jar inside tomcat/webapps/SRW/WEB-INF/lib/ > - Copied the DSpace.SRWDatabase.props inside my dspace/config/ folder > - Edited the /WEB-INF/classes/SRWServer.props : > > default.database=DSpace > resultSetIdleTime=300 > makeIndex.html=true > # parameters for the test database > db.test.class=ORG.oclc.os.SRW.SRWTestDatabase > db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase > db.DSpace.home=/dades/dspace/ > db.DSpace.configuration=config/DSpace.SRWDatabase.props > * > -** Rebooted tomcat > - Identifying a problem in the* > http://localhost:8080/SRW/search/dspace *'s* *call* > > *type* Exception report > *message* > *description* _The server encountered an internal error () that > prevented it from fulfilling this request._ > *exception* > javax.servlet.ServletException: Servlet execution threw an exception > *root cause* > > java.lang.NoClassDefFoundError: org/dspace/browse/BrowseScope > java.lang.Class.forName0(Native Method) > java.lang.Class.forName(Class.java:169) > ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:291) > > ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000) > ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228) > ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320) > javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > > > org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > *root cause* > > java.lang.ClassNotFoundException: org.dspace.browse.BrowseScope > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > java.lang.Class.forName0(Native Method) > java.lang.Class.forName(Class.java:169) > ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:291) > ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000) > > ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228) > ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320) > javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > > org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > > *- Copied the */dades/dspace/lib/dspace.jar* in > *tomcat/webapps/SRW/WEB-INF/lib/* > - And Identifying a new problem that I can't solve.* > > java.lang.AbstractMethodError > ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:430) > ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000) > ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228) > ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320) > javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > > org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > - *I've tryed to change my current version of Java with the jdk1.5.0_19 with > the same result > > Joan > * > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech