Hi RalphPlease find attached the SRWU install and configuration documentation I have put together. The installation is very much targeted at my current system so the path naming is in no way generic.
Cheers Hayden LeVan,Ralph wrote:
I'd be happy to see it! Thanks to both of you! Ralph-----Original Message----- From: Mr Havercamp [mailto:[email protected]] Sent: Wednesday, October 28, 2009 11:32 PM To: SUZUKI Keiji Cc: LeVan,Ralph; [email protected] Subject: Re: [Dspace-tech] SRWU Setup failing Hi Keiji Thanks for your help. Yep worked a treat. Just to confirm; - I patched the SRWLuceneDatabase java src, - I then compiled SRWU and copied over the SRW.jar to SRWDspace - I compiled SRWDSpace then copied the SRWDSpace jar back to the SRWU, - I compiled SRWU again and deployed it Ralph, I have created an ODT of the steps to building and deploying the SRWU. Would you mind if I sent it through for you to proof? I think I may be carrying out a few too many steps. Cheers Hayden SUZUKI Keiji wrote:Hi Hayden, Though you might already have solved, I got the same error today. I could work around this with the following patch. Also I had tocopycommons-dbcp.jar, commons-pool.jar and postgres.jar from DSpace to SRW's WEB-INF/lib. I used DSpace 1.5.2 and SRW/U checked out from svn/trunk. Regards, Keiji Suzuki Ebetsu, Japan Index: SRWLuceneDatabase.java============================================================== =====--- SRWLuceneDatabase.java (revision 36) +++ SRWLuceneDatabase.java (working copy) @@ -312,7 +312,7 @@ public void init(String dbname, String srwHome, String dbHome, - String dbPropertiesFileName, Properties dbProperties) { + String dbPropertiesFileName, Properties dbProperties, HttpServletRequest request) { if(log.isDebugEnabled())log.debug("entering SRWLuceneDatabase.init, dbname="+dbname); super.initDB(dbname, srwHome, dbHome, dbPropertiesFileName, dbProperties); System.setProperty("dspace.configuration",dbHome+"config/dspace.cfg");2009/10/3 Mr Havercamp <[email protected]>:Thanks for responding. I exported trunk HEAD from both subversion repositories. Am Iexportingfrom the right location? Should I be exporting from a branchperhaps?Would you like me to report any issues on the googlecode issuetrackeror is here okay? Cheers Hayden LeVan,Ralph wrote:Sorry for the tardy response! It looks to me like you have the SRWDspaceLucene jar out of synchwiththe SRW jar. Have you switched to the 1.5.1 jar? There is a newSRWjar to go with that. Ralph -----Original Message----- From: Mr Havercamp [mailto:[email protected]] Sent: Friday, September 25, 2009 3:36 PM To: [email protected] Subject: [Dspace-tech] SRWU Setup failing Hi I am attempting to set up SRW/U for a second time, and, while I amableto get the test working, I have been completely unsuccessful thistimeround in getting it to work with DSpace. I continue to get the following error, which I thought was relatedto amissing axis jar file but I've installed and configured it andstill Iget nowhere; java.lang.AbstractMethodError:ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/http/HttpServletRequest;)V ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327) 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:689)org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) My SRWServer.props configure looks like the following (everythingelseis commented out); default.database=DSpace resultSetIdleTime=300 makeIndex.html=truedb.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabasedb.DSpace.home=/home/dspace/i/testing/ db.DSpace.configuration=config/DSpace.SRWDatabase.props The DSpace.SRWDatabase.props file is in my DSpace instance'sconfigdirectory. Could I be missing something? Any help much appreciated. Cheers Hayden------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference inSF, CAis the only developer event you need to attend this year.Jumpstart yourdeveloping skills, take BlackBerry mobile applications to marketandstay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech------------------------------------------------------------------------ ------Come build with us! The BlackBerry® Developer Conference in SF,CAis the only developer event you need to attend this year. Jumpstartyourdeveloping skills, take BlackBerry mobile applications to marketand stayahead of the curve. Join us from November 9-12, 2009. Registernow!http://p.sf.net/sfu/devconf _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech
INSTALLING SRWU.odt
Description: application/vnd.oasis.opendocument.text
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

