Re: [Dspace-tech] SRWU Setup failing

2009-10-30 Thread Mr Havercamp

Hi Ralph

Please 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:mrhaverc...@gmail.com]
Sent: Wednesday, October 28, 2009 11:32 PM
To: SUZUKI Keiji
Cc: LeVan,Ralph; dspace-tech@lists.sourceforge.net
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 mrhaverc...@gmail.com:

  

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:mrhaverc...@gmail.com]
Sent: Friday, September 25, 2009 3:36 PM
To: dspace-tech@lists.sourceforge.net
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 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

Re: [Dspace-tech] SRWU Setup failing

2009-10-29 Thread LeVan,Ralph
I'd be happy to see it!

Thanks to both of you!

Ralph

 -Original Message-
 From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
 Sent: Wednesday, October 28, 2009 11:32 PM
 To: SUZUKI Keiji
 Cc: LeVan,Ralph; dspace-tech@lists.sourceforge.net
 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 mrhaverc...@gmail.com:
 
  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:mrhaverc...@gmail.com]
  Sent: Friday, September 25, 2009 3:36 PM
  To: dspace-tech@lists.sourceforge.net
  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 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
 
 
 
 
 

--
  Come build with us! The BlackBerryreg

Re: [Dspace-tech] SRWU Setup failing

2009-10-28 Thread Mr Havercamp
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 mrhaverc...@gmail.com:
   
 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:mrhaverc...@gmail.com]
 Sent: Friday, September 25, 2009 3:36 PM
 To: dspace-tech@lists.sourceforge.net
 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 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



   
 --
 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

Re: [Dspace-tech] SRWU Setup failing

2009-10-25 Thread SUZUKI Keiji
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 mrhaverc...@gmail.com:
 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:mrhaverc...@gmail.com]
 Sent: Friday, September 25, 2009 3:36 PM
 To: dspace-tech@lists.sourceforge.net
 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 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





 --
 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



--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net

Re: [Dspace-tech] SRWU Setup failing

2009-10-03 Thread Mr Havercamp
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:mrhaverc...@gmail.com] 
 Sent: Friday, September 25, 2009 3:36 PM
 To: dspace-tech@lists.sourceforge.net
 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 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


   


--
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


Re: [Dspace-tech] SRWU Setup failing

2009-10-02 Thread LeVan,Ralph
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:mrhaverc...@gmail.com] 
Sent: Friday, September 25, 2009 3:36 PM
To: dspace-tech@lists.sourceforge.net
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 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



--
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


Re: [Dspace-tech] SRWU Setup failing

2009-09-26 Thread Mr Havercamp
More information about the error is included below (was able to track 
down my logs);



Sep 26 12:59:55 r19972 jsvc.exec[13062]: 4925 *[TP-Processor10]* INFO  
ORG.oclc.os.SRW.SRWDatabase  - No databases created yet for database 
testing 4926 *[TP-Processor10]* INFO  ORG.oclc.os.SRW.SRWDatabase  - 
creating a database for testing 4927 *[TP-Processor10]* ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/srwu/testing2].[SRWServlet]
  
- Servlet.service() for servlet SRWServlet threw exception 
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
 
^Iat ORG.oclc.os.SRW.SRWDatabase.createDB(SRWDatabase.java:327) ^Iat 
ORG.oclc.os.SRW.SRWDatabase.getDB(SRWDatabase.java:1000) ^Iat 
ORG.oclc.os.SRW.SRWServletInfo.handleExplain(SRWServletInfo.java:228) 
^Iat ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:320) ^Iat 
javax.servlet.http.HttpServlet.service(HttpServlet.java:689) ^Iat 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.jav
Sep 26 12:59:55 r19972 jsvc.exec[13062]: service(HttpServlet.java:802) 
^Iat 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 
^Iat 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 
^Iat 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 
^Iat 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
 
^Iat 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
^Iat 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
^Iat 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 
^Iat 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) 
^Iat 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) 
^Iat org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) 
^Iat org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) 
^Iat org.apache.jk.common.Ch
Sep 26 12:59:55 r19972 jsvc.exec[13062]: :703) ^Iat 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
 
^Iat 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 
^Iat java.lang.Thread.run(Thread.java:619)




I've copied my previous SRW installation over and it is working 
flawlessly so it appears that the issue arose around revision 105 in 
subversion.

Mr Havercamp wrote:
 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;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 (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 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] SRWU Setup failing

2009-09-25 Thread Mr Havercamp
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;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 (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 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