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 to copy > > commons-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 I exporting > >> from the right location? Should I be exporting from a branch perhaps? > >> > >> Would you like me to report any issues on the googlecode issue tracker > >> or 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 synch with > >>> the SRW jar. Have you switched to the 1.5.1 jar? There is a new SRW > >>> jar 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 am able > >>> to get the test working, I have been completely unsuccessful this time > >>> round in getting it to work with DSpace. > >>> > >>> I continue to get the following error, which I thought was related to a > >>> missing axis jar file but I've installed and configured it and still I > >>> get nowhere; > >>> > >>> java.lang.AbstractMethodError: > >>> ORG.oclc.os.SRW.SRWDatabase.init(Ljava/lang/String;Ljava/lang/String;Lja > >>> va/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljavax/servlet/ht > >>> tp/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.j > >>> ava:327) > >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >>> > >>> My SRWServer.props configure looks like the following (everything else > >>> is commented out); > >>> > >>> default.database=DSpace > >>> resultSetIdleTime=300 > >>> makeIndex.html=true > >>> > >>> > db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase > >>> db.DSpace.home=/home/dspace/i/testing/ > >>> db.DSpace.configuration=config/DSpace.SRWDatabase.props > >>> > >>> The DSpace.SRWDatabase.props file is in my DSpace instance's config > >>> directory. > >>> > >>> Could I be missing something? > >>> > >>> Any help much appreciated. > >>> > >>> Cheers > >>> > >>> > >>> Hayden > >>> > >>> ------------------------------------------------------------------------ > >>> ------ > >>> Come build with us! The BlackBerry® 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/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, 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/devconf > >> _______________________________________________ > >> DSpace-tech mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > >> > >> > >> > ------------------------------------------------------------------------------ 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

