Re: [Dspace-tech] dspace.baseUrl

2012-09-13 Thread LeVan,Ralph
It must be a sad life I lead, but that's the best laugh I've had today!

Ralph

-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: Thursday, September 13, 2012 9:24 AM
To: dspace-tech; Steve Swinsburg; Mark Wood
Subject: [Dspace-tech] dspace.baseUrl

OK guys, what is this? Is this intentional?

dspace.baseUrl = ${dspace.baseUrl}

https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L3
3

It came from here:

https://github.com/DSpace/DSpace/commit/fb69ec7ce26670f346a4e3e1fe35f8a8
15d80e56#L6R28

Regards,
~~helix84


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace+Worldcat

2012-04-20 Thread LeVan,Ralph
I'm trying to find someone here at OCLC that could help.

Ralph

-Original Message-
From: Bodnar Robert [mailto:bodnar_rob...@bcucluj.ro] 
Sent: Friday, April 20, 2012 6:48 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace+Worldcat

Hi.

I would like to kindly ask for  your help regarding a couple of problems 
importing metadata from Dspace in Worldcat.

We organized our collection of periodicals in the following way:
the titles are sub-communities, the years are collections and the issues 
are items.

This way issues can be easily found in our digital library page but when 
we tried to import the metadata through OAI-PHM in Worldcat, all the 
sub-communities, collections became collections there... Every year is a 
separate collection and we can not recognize which year-collection to 
which periodical belongs...
And every issue is a separate item in Worldcat...

Does anyone have experience with Worldcat? We would be very grateful if 
you could share some ideas how to arrange our periodical collection so 
that we could get a better view in Worldcat and not to destroy our 
DSpace collections...

I hope that you could understand my problem :) Sorry for my English!

Thank you for your help!

-- 

With best regards,
Bodnár Róbert

--
BIBLIOTECA CENTRALA UNIVERSITARA “LUCIAN BLAGA”
INTERNATIONAL EXCHANGES/ DIGITAL LIBRARY
Str. Clinicilor Nr. 2
46 Cluj-Napoca
Romania
e-mail: bodnar_rob...@bcucluj.ro
web: www.bcucluj.ro


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace SRW/SRU search problem

2011-06-15 Thread LeVan,Ralph
Hi Mariana!

 

You need to get the latest code from that location.  This bug has been seen 
before and fixed and was caused by the update.  The problem was that we were 
freeing the DSpace Context object early and didn't have it for retrieving the 
records, something that somehow caused no problem in the earlier version of 
DSpace 1.7.

 

Ralph

 

From: Kocisky [mailto:koci...@autistici.org] 
Sent: Wednesday, June 15, 2011 1:01 PM
To: Marianna Mühlhölzer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dspace SRW/SRU search problem

 

i mean here: http://code.google.com/p/oclcsrwdspacelucene/issues/list

2011/6/15 Kocisky 

Hi, i would suggest you to post the issue at 
http://code.google.com/p/oclcsrw/issues/list.

 

K

2011/6/2 Marianna Mühlhölzer 

Dear all, 

several month ego I installed the Dspace SRW/SRU Service for DSpace 
1.6.2 and it worked without any problems. But after an update to DSpace 
1.7.2 I get the following error message: 

2011-06-02 19:07:36,365 DEBUG ORG.oclc.os.SRW.SRWDatabase @ query: 
 64 63 2e 74 69 74 6c 65 20 3d 20 22 74 65 73 74  dc.title = "test 
 22   " 


2011-06-02 19:07:37,091 INFO  ORG.oclc.os.SRW.SRWDatabase @ 'dc.title = 
"test"'==> 9 
2011-06-02 19:07:37,092 DEBUG ORG.oclc.os.SRW.SRWDatabase @ keeping 
resultSet 'i28ewp' for 300 seconds 
2011-06-02 19:07:37,092 DEBUG ORG.oclc.os.SRW.SRWDatabase @ 
schemaName=info:srw/schema/1/dc-v1.1, 
schemaID=info:srw/schema/1/dc-v1.1, 
sortKeys= 
2011-06-02 19:07:37,092 DEBUG ORG.oclc.os.SRW.SRWDatabase @ making 
RecordIterator, startPoint=1, schemaID=info:srw/schema/1/dc-v1.1 
2011-06-02 19:07:37,113 INFO 
ORG.oclc.os.SRW.DSpaceLucene.LuceneRecordIterator @ 
lqr=ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult@1 
f001f, startPoint=1, numRecs=9 
2011-06-02 19:07:37,113 DEBUG ORG.oclc.os.SRW.SRWDatabase @ trying to 
get 9 records starting with record 1 from a set of 9 records 
2011-06-02 19:07:37,114 INFO 
ORG.oclc.os.SRW.DSpaceLucene.LuceneRecordIterator @ in hasNext: 
whichRecord=0, numRecs=9, resultItems.le 
ngth=9 
2011-06-02 19:07:37,114 INFO 
ORG.oclc.os.SRW.DSpaceLucene.LuceneRecordIterator @ in nextRecord: 
lqr=ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult@1f001f, 
startPoint=1, 
whichRecord=0 
2011-06-02 19:07:37,116 ERROR 
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl @ 
java.lang.NullPointerException 
java.lang.NullPointerException 
at 

org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:220) 
at org.dspace.content.Item 
$MetadataCache.retrieveMetadata(Item.java:2710) 
at org.dspace.content.Item$MetadataCache.get(Item.java:2643) 
at org.dspace.content.Item.getMetadata(Item.java:2616) 
at org.dspace.content.Item.getMetadata(Item.java:457) 


It looks as if the number of the query results is retrieved and the 
records cannot be fetched.   

Can anybody help me with this problem? 

Thanks with regards, 
Marianna Mühlhölzer 



View this message in context: Dspace SRW/SRU search problem 

 
Sent from the DSpace - Tech mailing list archive 
  at Nabble.com.


--
Simplify data backup and recovery for your virtual environment with 
vRanger.
Installation's a snap, and flexible recovery options mean your data is 
safe,
secure and there when you need it. Discover what all the cheering's 
about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

 

 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1

2011-04-28 Thread LeVan,Ralph
You are using an old version of Java; older than the version that the
code was compiled under.

 

Ralph

 

From: George Stanley Kozak [mailto:g...@cornell.edu] 
Sent: Thursday, April 28, 2011 9:50 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to
DSpace1.7.1

 

Hi...

 

I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1.  Everything
has worked perfectly until I came to the step:

/dspace/bin/dspace index-init

 

When I try to execute that, I get:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

 

I can't figure this out.  All of the Class paths seem fine.  Anyone have
any suggestions?  

 

George Kozak

Digital Library Specialist

Cornell University Library Information Technologies (CUL-IT)

501 Olin Library

Cornell University

Ithaca, NY 14853

607-255-8924

 

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-29 Thread LeVan,Ralph
Have you been able to make any progress on this?

 

Ralph

 

From: LeVan,Ralph 
Sent: Thursday, March 24, 2011 4:42 PM
To: Kocisky
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
pool(resultSetTTL)

 

With the resultSetTTL set to zero, how many requests can you make before
you get an error?  How long do you have to wait until you can continue
searching?

 

Everyone else using the SRW interface has the same issues and you're the
first to report a problem.  You might try increasing the size of your
connection pool.

 

Ralph

 

From: Kocisky [mailto:koci...@autistici.org] 
Sent: Thursday, March 24, 2011 4:33 PM
To: LeVan,Ralph
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
pool(resultSetTTL)

 

Ralph,

the problem reported in my last email was generated by this URL:

http://10.0.102.11:8280/SRW/search/DSpace?query=dc.creator+%3D+%22smith%
22&version=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema
%2F1%2Fdc-v1.1&maximumRecords=10&startRecord=1&resultSetTTL=0&recordPack
ing=xml&recordXPath=&sortKeys=

this is another example:

Links:<< Back to Search <http://10.0.102.11:8280/SRW/search/DSpace?> 


Results for Search: dc.creator = "smith"


Records found: 3


Record: 1 of 3


Schema: Dublin Core 



Record: 2 of 3


Schema: Dublin Core 



Record: 3 of 3


Schema: Dublin Core

I have to say that with resultSetTTL=0 it happens less frequently, but
if you make a request each second i think you will definitely experience
the problem.
I was thinking to use SRW for making the queries from a client web
application to a dspace instance.

I guess that you aren't experiencing this issue, can i ask you what is
your environment?
thank you!

Kociscky



 

On 22 March 2011 14:17, LeVan,Ralph  wrote:

The more I think about this, the more I am convinced that the problem is
confusion at your end.  The fact that the searching problem clears up
after 3 minutes is pretty much proof that the cache is being cleared
appropriately.  The issue is how to get it cleared out more quickly.

I think the root problem is the resultSetTTL parameter in your request.
Through it, you are explicitly asking the server to keep the result set
for 300 seconds.  No matter what you set the default value to, your
explicit request will override that.  You need to omit that parameter
for the default to take effect.  Better yet, you should explicitly
specify a resultSetTTL=0 to let the server know you do not want any
caching of results.

Let me know if this helps.

Ralph


> -Original Message-
> From: LeVan,Ralph
> Sent: Tuesday, March 22, 2011 11:42 AM
> To: 'Kocisky'; dspace-tech@lists.sourceforge.net
> Subject: RE: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> pool(resultSetTTL)
>
> Kocisky, does that search actually return records when it doesn't
return the 404
> response?
>
> The root problem is that the search opens a connection to the DSpace
database
> and SRU caches that connection for the life of the search result.
Typically,
> those result sets are cleared from the cache after a configurable
period of
> idleness.  That configuration happen through the specification of a
default value
> in the database configuration file, but can be overridden in the
request through
> the resultSetTTL parameter (which I note you still have set to 300
seconds in the
> request you have shared.)
>
> I have spotted a path in my code where the result set would not be
freed if no
> records had be found as the result of the query.
>
> So, does that search for creator=smith actually find documents?
>
> Ralph
>
> > -Original Message-
> > From: Kocisky [mailto:koci...@autistici.org]
> > Sent: Monday, March 21, 2011 4:04 PM
> > To: dspace-tech@lists.sourceforge.net

> > Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> > pool(resultSetTTL)
> >
> > Hi all,
> >
> > I've been trying the SRW module
> > (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
> > i've being facing a problem when I repetitively make the same query:
> >
> >
> http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22&ve
> >
> rsion=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema
> > %2F1%2Fdc-
> >
> v1.1&maximumRecords=10&startRecord=1&resultSetTTL=300&recordPacking=
> > xml&recordXPath=&sortKeys=
> >
> > i will get:
> >
> > 404: Document not found (No searchRetrieveResponse)
> > OCLC SRW/SRU Server
> >
> > after 3 minutes or so it will restart working. With some extra
> > debugging (than

Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-24 Thread LeVan,Ralph
With the resultSetTTL set to zero, how many requests can you make before
you get an error?  How long do you have to wait until you can continue
searching?

 

Everyone else using the SRW interface has the same issues and you're the
first to report a problem.  You might try increasing the size of your
connection pool.

 

Ralph

 

From: Kocisky [mailto:koci...@autistici.org] 
Sent: Thursday, March 24, 2011 4:33 PM
To: LeVan,Ralph
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
pool(resultSetTTL)

 

Ralph,

the problem reported in my last email was generated by this URL:

http://10.0.102.11:8280/SRW/search/DSpace?query=dc.creator+%3D+%22smith%
22&version=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema
%2F1%2Fdc-v1.1&maximumRecords=10&startRecord=1&resultSetTTL=0&recordPack
ing=xml&recordXPath=&sortKeys=

this is another example:

Links:<< Back to Search <http://10.0.102.11:8280/SRW/search/DSpace?> 


Results for Search: dc.creator = "smith"


Records found: 3


Record: 1 of 3


Schema: Dublin Core 



Record: 2 of 3


Schema: Dublin Core 



Record: 3 of 3


Schema: Dublin Core

I have to say that with resultSetTTL=0 it happens less frequently, but
if you make a request each second i think you will definitely experience
the problem.
I was thinking to use SRW for making the queries from a client web
application to a dspace instance.

I guess that you aren't experiencing this issue, can i ask you what is
your environment?
thank you!

Kociscky



 

On 22 March 2011 14:17, LeVan,Ralph  wrote:

The more I think about this, the more I am convinced that the problem is
confusion at your end.  The fact that the searching problem clears up
after 3 minutes is pretty much proof that the cache is being cleared
appropriately.  The issue is how to get it cleared out more quickly.

I think the root problem is the resultSetTTL parameter in your request.
Through it, you are explicitly asking the server to keep the result set
for 300 seconds.  No matter what you set the default value to, your
explicit request will override that.  You need to omit that parameter
for the default to take effect.  Better yet, you should explicitly
specify a resultSetTTL=0 to let the server know you do not want any
caching of results.

Let me know if this helps.

Ralph


> -Original Message-
> From: LeVan,Ralph
> Sent: Tuesday, March 22, 2011 11:42 AM
> To: 'Kocisky'; dspace-tech@lists.sourceforge.net
> Subject: RE: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> pool(resultSetTTL)
>
> Kocisky, does that search actually return records when it doesn't
return the 404
> response?
>
> The root problem is that the search opens a connection to the DSpace
database
> and SRU caches that connection for the life of the search result.
Typically,
> those result sets are cleared from the cache after a configurable
period of
> idleness.  That configuration happen through the specification of a
default value
> in the database configuration file, but can be overridden in the
request through
> the resultSetTTL parameter (which I note you still have set to 300
seconds in the
> request you have shared.)
>
> I have spotted a path in my code where the result set would not be
freed if no
> records had be found as the result of the query.
>
> So, does that search for creator=smith actually find documents?
>
> Ralph
>
> > -Original Message-
> > From: Kocisky [mailto:koci...@autistici.org]
> > Sent: Monday, March 21, 2011 4:04 PM
> > To: dspace-tech@lists.sourceforge.net

> > Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> > pool(resultSetTTL)
> >
> > Hi all,
> >
> > I've been trying the SRW module
> > (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
> > i've being facing a problem when I repetitively make the same query:
> >
> >
> http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22&ve
> >
> rsion=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema
> > %2F1%2Fdc-
> >
> v1.1&maximumRecords=10&startRecord=1&resultSetTTL=300&recordPacking=
> > xml&recordXPath=&sortKeys=
> >
> > i will get:
> >
> > 404: Document not found (No searchRetrieveResponse)
> > OCLC SRW/SRU Server
> >
> > after 3 minutes or so it will restart working. With some extra
> > debugging (thanks to Ralph):
> >
> > ORG.oclc.os.SRW.HouseKeeping=DEBUG
> > ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
> >
> > log4j.logger.ORG.oclc.os.SRW.HouseKeeping=DEBUG
> > log4j.logger.ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
>

Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-22 Thread LeVan,Ralph
The more I think about this, the more I am convinced that the problem is
confusion at your end.  The fact that the searching problem clears up
after 3 minutes is pretty much proof that the cache is being cleared
appropriately.  The issue is how to get it cleared out more quickly.

I think the root problem is the resultSetTTL parameter in your request.
Through it, you are explicitly asking the server to keep the result set
for 300 seconds.  No matter what you set the default value to, your
explicit request will override that.  You need to omit that parameter
for the default to take effect.  Better yet, you should explicitly
specify a resultSetTTL=0 to let the server know you do not want any
caching of results.

Let me know if this helps.

Ralph

> -Original Message-
> From: LeVan,Ralph
> Sent: Tuesday, March 22, 2011 11:42 AM
> To: 'Kocisky'; dspace-tech@lists.sourceforge.net
> Subject: RE: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> pool(resultSetTTL)
> 
> Kocisky, does that search actually return records when it doesn't
return the 404
> response?
> 
> The root problem is that the search opens a connection to the DSpace
database
> and SRU caches that connection for the life of the search result.
Typically,
> those result sets are cleared from the cache after a configurable
period of
> idleness.  That configuration happen through the specification of a
default value
> in the database configuration file, but can be overridden in the
request through
> the resultSetTTL parameter (which I note you still have set to 300
seconds in the
> request you have shared.)
> 
> I have spotted a path in my code where the result set would not be
freed if no
> records had be found as the result of the query.
> 
> So, does that search for creator=smith actually find documents?
> 
> Ralph
> 
> > -Original Message-
> > From: Kocisky [mailto:koci...@autistici.org]
> > Sent: Monday, March 21, 2011 4:04 PM
> > To: dspace-tech@lists.sourceforge.net
> > Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> > pool(resultSetTTL)
> >
> > Hi all,
> >
> > I've been trying the SRW module
> > (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
> > i've being facing a problem when I repetitively make the same query:
> >
> >
> http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22&ve
> >
> rsion=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema
> > %2F1%2Fdc-
> >
> v1.1&maximumRecords=10&startRecord=1&resultSetTTL=300&recordPacking=
> > xml&recordXPath=&sortKeys=
> >
> > i will get:
> >
> > 404: Document not found (No searchRetrieveResponse)
> > OCLC SRW/SRU Server
> >
> > after 3 minutes or so it will restart working. With some extra
> > debugging (thanks to Ralph):
> >
> > ORG.oclc.os.SRW.HouseKeeping=DEBUG
> > ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
> >
> > log4j.logger.ORG.oclc.os.SRW.HouseKeeping=DEBUG
> > log4j.logger.ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
> >
> > i will get the following exception in dspace.cfg:
> >
> > 2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ exit
> > processMethodRequest
> > 2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ Exit:
> > doGet()
> > 2011-03-10 16:15:34,318 ERROR
> > ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
> > java.lang.InstantiationException: Cannot get a connection, pool
error
> > Timeout waiting for idle object
> > java.lang.InstantiationException: Cannot get a connection, pool
error
> > Timeout waiting for idle object
> > at
> >
> ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.(LuceneQueryRes
> > ult.java:113)
> > at
> >
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getQueryResult(SRW
> > LuceneDatabase.java:209)
> > at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:598)
> > at
> >
>
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.searchRetrieveOpera
> > tion(SRWSoapBindingImpl.java:138)
> > at
> >
>
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.searchRetrieveO
> > peration(SRWSoapBindingSkeleton.java:68)
> > at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
I
> > mpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
>
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java
:3
> > 97)
> > at
> >

Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-22 Thread LeVan,Ralph
Kocisky, does that search actually return records when it doesn't return
the 404 response?

The root problem is that the search opens a connection to the DSpace
database and SRU caches that connection for the life of the search
result.  Typically, those result sets are cleared from the cache after a
configurable period of idleness.  That configuration happen through the
specification of a default value in the database configuration file, but
can be overridden in the request through the resultSetTTL parameter
(which I note you still have set to 300 seconds in the request you have
shared.)

I have spotted a path in my code where the result set would not be freed
if no records had be found as the result of the query.

So, does that search for creator=smith actually find documents?

Ralph

> -Original Message-
> From: Kocisky [mailto:koci...@autistici.org]
> Sent: Monday, March 21, 2011 4:04 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
> pool(resultSetTTL)
> 
> Hi all,
> 
> I've been trying the SRW module
> (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
> i've being facing a problem when I repetitively make the same query:
> 
> http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22&ve
> rsion=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema
> %2F1%2Fdc-
> v1.1&maximumRecords=10&startRecord=1&resultSetTTL=300&recordPacking=
> xml&recordXPath=&sortKeys=
> 
> i will get:
> 
> 404: Document not found (No searchRetrieveResponse)
> OCLC SRW/SRU Server
> 
> after 3 minutes or so it will restart working. With some extra
> debugging (thanks to Ralph):
> 
> ORG.oclc.os.SRW.HouseKeeping=DEBUG
> ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
> 
> log4j.logger.ORG.oclc.os.SRW.HouseKeeping=DEBUG
> log4j.logger.ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
> 
> i will get the following exception in dspace.cfg:
> 
> 2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ exit
> processMethodRequest
> 2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ Exit:
> doGet()
> 2011-03-10 16:15:34,318 ERROR
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
> java.lang.InstantiationException: Cannot get a connection, pool error
> Timeout waiting for idle object
> java.lang.InstantiationException: Cannot get a connection, pool error
> Timeout waiting for idle object
> at
> ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.(LuceneQueryRes
> ult.java:113)
> at
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getQueryResult(SRW
> LuceneDatabase.java:209)
> at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:598)
> at
>
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.searchRetrieveOpera
> tion(SRWSoapBindingImpl.java:138)
> at
>
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.searchRetrieveO
> peration(SRWSoapBindingSkeleton.java:68)
> at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
I
> mpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java
:3
> 97)
> at
>
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.ja
v
> a:186)
> at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323
)
> 
> i've been suggested to try with resultSetTTL=0 in the URL and the
> configuration, but i didn't see any improvements, does anybody
> faced/resolved the same issue?
> thanks
> 
> Kocisky
> 
>

--
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ERROR ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @ java.lang.InstantiationException: Unknown format version: -9

2011-02-16 Thread LeVan,Ralph
That error is because you need to copy your latest Lucene jar into the
/webapps/SRW/WEB-INF/lib directory.  The message is Lucene
telling you that the database was built with a newer version of Lucene
than the version trying to search that database.

But, fixing that will only get you to a new error.  I've just committed
a fix to the SRWDSpaceLucene code that addresses that issue.  If you
check out and build the latest code from the trunk, you should be good
for Dspace 1.7.  That new code has also been tested against Dspace 1.6
and still works there.

Thanks to Jose Blanco for spotting and reporting the error and to Hayden
Young of wijiti.com for the DSpace resources that allowed me to find and
fix the problem!

Ralph

> -Original Message-
> From: Haman Abel [mailto:fha...@online.de]
> Sent: Wednesday, February 16, 2011 4:46 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] ERROR
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
> java.lang.InstantiationException: Unknown format version: -9
> 
> Hello,
> 
> i am new to Dspace. I search the list and google for my issue, but
found
> not aids, so i am posting it here.
> I install it successfully on my pc (dspace 1.7.0, Ubuntu 64bit, tomcat
> 6.0.29, java 1.6.0_22).
> But while trying to search via my sru-interface i get the bellow
error.
> I try to reindex the data by calling: dspace index -r
> I then restart tomcat, but no change.
> Thank you for your help.
> 
> 
>   ERROR ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
> java.lang.InstantiationException: Unknown format version: -9
> java.lang.InstantiationException: Unknown format version: -9
>  at
> ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.(LuceneQueryRes
> ult.java:113)
>  at
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getQueryResult(SRW
> LuceneDatabase.java:209)
>  at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:598)
>  at
>
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.searchRetrieveOpera
> tion(SRWSoapBindingImpl.java:138)
>  at
>
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.searchRetrieveO
> peration(SRWSoapBindingSkeleton.java:68)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:
> 39)
>  at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
I
> mpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
>  at
>
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java
:3
> 97)
>  at
>
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.ja
v
> a:186)
>  at
>
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323
)
>  at
>
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
>  at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>  at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>  at
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
>  at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
>  at
> ORG.oclc.os.SRW.SRWServlet.processMethodRequest(SRWServlet.java:1501)
>  at ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:375)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>  at
>
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
ava:32
> 7)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilter
> Chain.java:290)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.ja
> va:206)
>  at
>
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java
:164)
>  at
>
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
>  at
>
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter
.java:90)
>  at
>
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFi
lter.java:407)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilter
> Chain.java:235)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.ja
> va:206)
>  at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e
> .java:233)
>  at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.j
> ava:191)
>  at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:12
> 7)
>  at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
>  at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
> va:109)
>  at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98)
>  at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:8

Re: [Dspace-tech] SRU/W Server Browse Error

2010-09-20 Thread LeVan,Ralph
Your SRW jars are out of sync with your cql-java jar.  That’s not the 
configuration I left running on your computer.

 

Ralph

 

From: Hardik Mishra [mailto:har...@webinito.com] 
Sent: Monday, September 20, 2010 8:59 AM
To: LeVan,Ralph; Stuart Lewis; Tech List
Subject: SRU/W Server Browse Error

 

Hello Geeks

I want to create browseable database using SRW Server.

I have implemented SRW Server on my local host to work with Dspace.

When, i type : http://localhost:8080/SRW/search/DSpace,

I am getting Search &Browse options with various metadata fields

But when i enter any value to field and click on Browse button it is giving 
some error.


−

−

soapenv:Server.userException
java.lang.reflect.InvocationTargetException
−

−

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at 
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at ORG.oclc.os.SRW.SRWServlet.processMethodRequest(SRWServlet.java:1696)
at ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: 
org.z3950.zing.cql.CQLTermNode.getQualifier()Ljava/lang/String;
at 
ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getTermList(SRWLuceneDatabase.java:255)
at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:536)
at 
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.scanOperation(SRWSoapBindingImpl.java:230)
at 
gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.scanOperation(SRWSoapBindingSkeleton.java:74)
... 29 more

webinito-2






And when i enter any value to search field and click on Search button it is 
giving 404: Document not found error.

I have checked http://localhost:8080/SRW/search/test, in this

When i write any value e.g. dog and click on Browse , I am getting output.

Please Help... :)

Thanks &  Regards
Hardik Mishra
Software Engineer
Webinito Networks

Give a man a fish, and you feed him for a day. Teach a man to catch fish and 
you feed him for a lifetime.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRU/W Server

2010-08-25 Thread LeVan,Ralph
Hardik, I've updated my SRW/U server at Google Code and tested the new
installation instructions on two different sites.  Give them a try and
let me know if you have any problems.

 

http://code.google.com/p/oclcsrwdspacelucene/

The installation instructions are here:
http://code.google.com/p/oclcsrwdspacelucene/wiki/InstallationInstructio
ns

 

Ralph

 

From: Hardik Mishra [mailto:har...@webinito.com] 
Sent: Wednesday, August 25, 2010 3:25 AM
To: Tech List
Subject: [Dspace-tech] SRU/W Server

 

Hello Geeks

We have want to implement SRU/W server for live instance.

Is there anyone have implemented SRU/W server for database building ?

Any help would be appreciated.


Thanks &  Regards
Hardik Mishra
Software Engineer

Give a man a fish, and you feed him for a day. Teach a man to catch fish
and you feed him for a lifetime.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [dspace-tech] DRIVER & OAI Extended Addon

2010-07-23 Thread LeVan,Ralph
Hopefully, when I get a place to test my new releases against your new 
releases, it won't take a manual to do a build! :-)

Ralph

> -Original Message-
> From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
> helix84
> Sent: Friday, July 23, 2010 4:50 PM
> To: Mark Diggory
> Cc: Domingo Iglesias; dspace-tech@lists.sourceforge.net; LeVan,Ralph
> Subject: Re: [Dspace-tech] [dspace-tech] DRIVER & OAI Extended Addon
> 
> Hello Mark,
> 
> I'm only a user of DSpace and I don't know the details of how Maven
> works. I can only say it would be great if we can build all add-ons
> from one repository. I understand Ant and Maven are tools created to
> enable this but it needs some integration work first. I'm sure you can
> figure this out together with Ralph. If you require some user
> feedback, I'll be glad to help.
> 
> I'll try to help out with the manual, too - there were many issues I
> ran into and I compiled a list of problems and solutions which should
> be helpful to other users. As soon as I get a working SRW instance I
> can do a short installation manual. Hopefully when SRW will be built
> from the DSpace source eventually, it can become a part of the DSpace
> manual.
> 
> Regards,
> ~~helix84

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U server problems

2010-07-23 Thread LeVan,Ralph
Way cool!  I'm working with Ivan now on his server and should have something 
useful (and committed!) early next week.

Ralph

> -Original Message-
> From: mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark
> Diggory
> Sent: Friday, July 23, 2010 2:52 PM
> To: LeVan,Ralph
> Cc: heli...@centrum.sk; dspace-tech
> Subject: Re: [Dspace-tech] SRW/U server problems
> 
> If we can get a reference to the oclc release svn or jar/war we can
> begin to publish it into our maven repository and I can drop retaining
> the code locally in the dspace repo... We could then use our maven
> overlay process to build in any necessary dspace customizations on our
> end and we would manage the deployment to maven central repo for you.
> 
> This would likewise, work well for the Discovery customizations we
> have talked about doing.
> 
> Cheers,
> Mark
> 
> On Thu, Jul 22, 2010 at 10:51 AM, LeVan,Ralph  wrote:
> > My preference is to work on the oclcsrw version and find a mechanism to
> synchronize that with a DSpace copy.
> >
> > Ralph
> >
> >> -Original Message-
> >> From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
> >> helix84
> >> Sent: Thursday, July 22, 2010 11:23 AM
> >> To: LeVan,Ralph
> >> Cc: dspace-tech
> >> Subject: Re: [Dspace-tech] SRW/U server problems
> >>
> >> On Thu, Jul 22, 2010 at 17:14, LeVan,Ralph  wrote:
> >> > Please include me in that conversation.
> >> >
> >> > I'd really like to get you guys running on my latest code.  I've made
> >> > significant enhancements to support Linked Data and think you'd like to
> >> > have them.
> >> >
> >> > But, I have a problem.  I don't run a DSpace instance myself and
> >> > installing one just for testing purposes had gotten way too complicated.
> >> > Is there someone out there that runs a test DSpace that would be willing
> >> > to give me a logon to their server so I could test new SRW releases?
> >>
> >> Yes, I could do that. I'll look into it tomorrow. Installing DSpace is
> >> not a problem for me, installing SRW is, so you would have to play
> >> with that.
> >>
> >> Which SRW server are you developing? The OCLC one? Or the dspace-srw
> >> module?
> >>
> >> Regards,
> >> ~~helix84
> >
> > --
> > This SF.net email is sponsored by Sprint
> > What will you do first with EVO, the first 4G phone?
> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> 
> 
> 
> --
> Mark R. Diggory
> Head of U.S. Operations - @mire
> 
> http://www.atmire.com - Institutional Repository Solutions
> http://www.togather.eu - Before getting together, get t...@ther

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U server problems

2010-07-22 Thread LeVan,Ralph
My preference is to work on the oclcsrw version and find a mechanism to 
synchronize that with a DSpace copy.

Ralph

> -Original Message-
> From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
> helix84
> Sent: Thursday, July 22, 2010 11:23 AM
> To: LeVan,Ralph
> Cc: dspace-tech
> Subject: Re: [Dspace-tech] SRW/U server problems
> 
> On Thu, Jul 22, 2010 at 17:14, LeVan,Ralph  wrote:
> > Please include me in that conversation.
> >
> > I'd really like to get you guys running on my latest code.  I've made
> > significant enhancements to support Linked Data and think you'd like to
> > have them.
> >
> > But, I have a problem.  I don't run a DSpace instance myself and
> > installing one just for testing purposes had gotten way too complicated.
> > Is there someone out there that runs a test DSpace that would be willing
> > to give me a logon to their server so I could test new SRW releases?
> 
> Yes, I could do that. I'll look into it tomorrow. Installing DSpace is
> not a problem for me, installing SRW is, so you would have to play
> with that.
> 
> Which SRW server are you developing? The OCLC one? Or the dspace-srw
> module?
> 
> Regards,
> ~~helix84

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U server problems

2010-07-22 Thread LeVan,Ralph
Please include me in that conversation.

I'd really like to get you guys running on my latest code.  I've made
significant enhancements to support Linked Data and think you'd like to
have them.

But, I have a problem.  I don't run a DSpace instance myself and
installing one just for testing purposes had gotten way too complicated.
Is there someone out there that runs a test DSpace that would be willing
to give me a logon to their server so I could test new SRW releases?

Thanks!

Ralph

> -Original Message-
> From: helix84 [mailto:heli...@centrum.sk]
> Sent: Thursday, July 22, 2010 10:44 AM
> To: dspace-tech
> Subject: [Dspace-tech] SRW/U server problems
> 
> Hello,
> I was trying to build a SRW/U interface to DSpace but I wasn't
> successful. I tried several approaches with both the
> oclcsrw+oclcsrwdspacelucene (oclcsrw test interface works fine) and
> the dspace-srw module and I encountered and overcome a dozen problems
> but always ended in a dead-end. I don't mention a specific issue here
> because there have been many. It seems to me the codebase is a bit
> outdated. I tried to run it with 1.6.2.
> 
> Somewhere on the lists I noticed someone wanted to write documentation
> for dspace SRW after 1.6.0 but they didn't start. I'd like to ask you
> to try to build it and describe the necessary steps to get it to work.
> We can then work on the docs together. I will be trying to build SRW
> again a week from now.
> 
> Mark, you are the committer of the dspace-srw module, perhaps you can
help?
> 
> Regards,
> ~~helix84
> 
>

--
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSPace 1.6.2 with SRU/W

2010-06-30 Thread LeVan,Ralph
Where are you getting your code from?

I've not tried to build with 1.6.2 yet, but it was working for 1.6.1, so
I wouldn't expect any surprises.

Ralph

> -Original Message-
> From: mikan.d.dspace listmail [mailto:mikan.dsp...@gmail.com]
> Sent: Wednesday, June 30, 2010 7:44 AM
> To: Dspace Tech
> Subject: [Dspace-tech] DSPace 1.6.2 with SRU/W
> 
> I've been running SRW application (OCLC Research SRW Server 2.0) with
> DSpace 1.5.x for quite some time now. After I upgraded to DSpace 1.6.2
> I cannot seem to make it work. When I compile the code i get 7 errors
> with deprecated classes (below). Any ideas whats wrong and how can I
> fix it?
> 
> thanks,
> Mika
> 
> 
> ---
> compileSRW:
> 
> jarSRW:
> 
> compileSRWDSpaceLucene:
> [javac] Compiling 3 source files to
> /home/neuroportti/dikk/SRU_DSpace asennuspaketti/SRW/SRW-2.0/build
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/LuceneRecordIterator.java:31:
> warning: [deprecation] org.dspace.content.DCValue in
> org.dspace.content has been deprecated
> [javac] import org.dspace.content.DCValue;
> [javac]   ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/LuceneRecordIterator.java:70:
> warning: [deprecation] org.dspace.content.DCValue in
> org.dspace.content has been deprecated
> [javac]  private String makeDCRecord(DCValue[] values) {
> [javac]  ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/SRWLuceneDatabase.java:50:
> cannot find symbol
> [javac] symbol  : class Browse
> [javac] location: package org.dspace.browse
> [javac] import org.dspace.browse.Browse;
> [javac]  ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/SRWLuceneDatabase.java:52:
> cannot find symbol
> [javac] symbol  : class BrowseScope
> [javac] location: package org.dspace.browse
> [javac] import org.dspace.browse.BrowseScope;
> [javac]  ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/LuceneRecordIterator.java:71:
> warning: [deprecation] org.dspace.content.DCValue in
> org.dspace.content has been deprecated
> [javac] DCValue  value;
> [javac] ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/LuceneRecordIterator.java:96:
> warning: [deprecation] org.dspace.content.DCValue in
> org.dspace.content has been deprecated
> [javac] DCValue[]
> values=lqr.resultItems[(int)whichRecord].getDC(Item.ANY, Item.ANY,
> Item.ANY);
> [javac] ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/LuceneRecordIterator.java:96:
> warning: [deprecation]
> getDC(java.lang.String,java.lang.String,java.lang.String) in
> org.dspace.content.Item has been deprecated
> [javac] DCValue[]
> values=lqr.resultItems[(int)whichRecord].getDC(Item.ANY, Item.ANY,
> Item.ANY);
> [javac]^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/SRWLuceneDatabase.java:242:
> cannot find symbol
> [javac] symbol  : class BrowseScope
> [javac] location: class
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
> [javac] BrowseScope scope = new
BrowseScope(dspaceContext);
> [javac] ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/SRWLuceneDatabase.java:242:
> cannot find symbol
> [javac] symbol  : class BrowseScope
> [javac] location: class
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
> [javac] BrowseScope scope = new
BrowseScope(dspaceContext);
> [javac] ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/SRWLuceneDatabase.java:275:
> cannot find symbol
> [javac] symbol  : variable Browse
> [javac] location: class
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase
> [javac] bi=Browse.getAuthors(scope);
> [javac]^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/DSpaceLucene/SRWLuceneDatabase.java:276:
> incompatible types
> [javac] found   : java.lang.String[][]
> [javac] required: java.lang.String[]
> [javac] result=bi.getStringResults();
> [javac]   ^
> [javac] /home/neuroportti/dikk/SRU_DSpace
> asennuspaketti/SRW/SRW-
> 2.0/src/ORG/oclc/os/SRW/D

Re: [Dspace-tech] How to use my SRW as Authority control

2010-04-21 Thread LeVan,Ralph
Joan, I'm afraid I don't know how the Authority Control software works
to be very helpful.  The error you're getting may be because you've not
correctly pointed the Authority Control software at your server.  It
could be that the software is expecting a particular index to be
available and you haven't provided it.  Do you know what index it is
expecting to search?

Ralph

> -Original Message-
> From: Joan Caparros [mailto:jcapar...@cesca.es]
> Sent: Wednesday, April 21, 2010 11:06 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] How to use my SRW as Authority control
> 
> I have tried to use one of my SRW servers instead of the "oficial lc
> name Authority author" from Library of Congress,
> has anyone configured correctly the DSpace.SRWDatabase.props to made
it
> work?
> 
> Actually I have modified the file, and I'm getting some results, but
I'm
> not sure if I'm in the right way, because the lookup select input is
> still saying that non of my authors are in the Naming Authority.
> 
> indexSynonym.dc.description.statementofresponsibility=author
> indexSynonym.dc.title=title
> indexSynonym.dc.subject=keyword
> indexSynonym.dc.description.abstract=abstract
> indexSynonym.dc.description.tableofcontents=abstract
> indexSynonym.dc.relation.ispartofseries=series
> indexSynonym.dc.format.mimetype=mime
> indexSynonym.dc.description.sponsorship=sponsor
> indexSynonym.dc.identifier=id
> indexSynonym.cql.serverChoice=default
> 
> 
> xmlSchemas= dc, marcxml
> marcxml=/dades/dspace/SRW/DC2MARC21slim.xsl
> marcxml.identifier=info:srw/schema/1/marcxml-v1.1
>
marcxml.location=http://www.loc.gov/standards/marcxml/schema/MARC21slim.
x
> sd
> marcxml.namespace=http://www.loc.gov/MARC21/slim
> marcxml.title=marcxml
> dc.identifier=info:srw/schema/1/dc-v1.1
> dc.location=http://www.loc.gov/zing/srw/dc-schema.xsd
> dc.namespace=http://www.oclc.org/DC
> dc.title=dc: Dublin Core Elements
> 
> databaseInfo.title=DSpace Database
> databaseInfo.description=Records stored in our local DSpace Repository
> databaseInfo.contact=joancaparros
> 
> #configInfo.maximumRecords=20
> 
> #explainStyleSheet=/dades/dspace/SRW/explainResponse.xsl
> #scanStyleSheet=/dades/dspace/SRW/scanResponse.xsl
> #searchStyleSheet=/dades/dspace/SRW/searchRetrieveResponse.xsl
> 
> contextSet.cql=info:srw/cql-context-set/1/cql-v1.1
> contextSet.dc=info:srw/cql-context-set/1/dc-v1.1
> 
> # The default access point and result-set references
> qualifier.cql.serverChoice  = 1=1016
> qualifier.cql.resultSetId   = @set
> 
> # Dublin Core access points
> qualifier.dc.creator   = 1=1003
> qualifier.dc.contributor   = 1=1003
> qualifier.dc.description.statementofresponsibility = 1=1003
> qualifier.dc.title = 1=4
> qualifier.dc.subject   = 1=21
> qualifier.dc.description.abstract  = 1=62
> qualifier.dc.description.tableofcontents   = 1=62
> qualifier.dc.relation.ispartofseries   = 1=234
> qualifier.dc.format.mimetype   = 1=1034
> qualifier.dc.description.sponsorship   = 1=123
> qualifier.dc.identifier= 1=12
> 
>

--
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW scan-operation problems in DSpace 1.5.2

2010-02-23 Thread LeVan,Ralph
Sorry, but this is a known problem.  The internal index browse API for DSpace 
changed from 1.4 to 1.5 and I've not been able to figure out how to make it 
work.  Jose Blanco has expressed some interest in helping me fix that code.

Ralph

> -Original Message-
> From: Joan Caparros [mailto:jcapar...@cesca.es]
> Sent: Tuesday, February 23, 2010 11:44 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] SRW scan-operation problems in DSpace 1.5.2
> 
> 
> I'm DSpace 1.5.2 and SRW is working but not 100%, I have problems using
> the scan-operation, in some scanClause it returns the right result but
> in most of them I recieve the following message:
> 
> 
> 
> −
> 
> 
> 
> soapenv:Server.userException
> 
> 
> java.rmi.RemoteException: null; nested exception is:
> java.lang.NullPointerException
> 
> 
> 
> 
> 
> java.rmi.RemoteException: null; nested exception is:
> java.lang.NullPointerException
> at
> gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.scanOperation(SRW
> SoapBindingImpl.java:264)
> at
> gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.scanOperation(S
> RWSoapBindingSkeleton.java:74)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:3
> 97)
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.jav
> a:186)
> at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> 
> Anyone knows what's happening... is strange that only one operation
> isn't working (sometimes)
> 
> Joan
> 
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help with SRW/U installation

2010-02-01 Thread LeVan,Ralph
What error are you getting?

 

Have you looked in the tomcat log for error messages?

 

Ralph

 

From: Alexis Lorca [mailto:alo...@thinkchile.com] 
Sent: Sunday, January 31, 2010 8:52 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Help with SRW/U installation

 

Hi there,

I have try step by step the installation of SRW on dSpace 1.5 and have
no luck at all.

I can make the test database works, but no success with dSpace.

I have find a lot on the list and the web and as I see the only success
stories are related the the SRW.zip installation method. But the link on
http://dspace-sandbox.googlecode.com/svn/modules/dspace-srw/trunk/docs/I
nstallation.html is just a 404.

Can anybody help me?

Thanks,

Alexis Lorca

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW's response in XML

2009-12-09 Thread LeVan,Ralph
The HTML is being generated dynamically on your browser.  Is it
sufficient to simply view the source of the response?  You'll see the
XML there.  If you always want to see the XML and never let the browser
render it into HTML, then we can probably find a way to suppress the
stylesheet reference that comes back with the XML.

As an experiment, try simply adding "&stylesheet=" to the end of your
URL.  That might make the server return an empty stylesheet reference.

Ralph

> -Original Message-
> From: Joan Caparros [mailto:jcapar...@cesca.es]
> Sent: Wednesday, December 09, 2009 12:28 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] SRW's response in XML
> 
> Is it possible to show the results of SRW-operations without the xsl
> parsing? only showing the xml file?
> I mean... I just want to recieve
> 
> 1.1
> 47
> sppfif
> 300
> 
> 
> info:srw/schema/1/dc-v1.1
> xml
> 
> 
> ...
> instead of the xml converted to html. Is it possible?
> 
> Thank you
> Joan
> 
>

--
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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-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 :
> >
> >> 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(HttpSer

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


Re: [Dspace-tech] SRW/U search within a collection or collections

2009-09-16 Thread LeVan,Ralph
> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
> I was wondering if anyone has had success searching DSpace using SRW/U
> whilst limiting their searches to specific collections?

This seems more like a hack now than it did at the time I wrote it.  You
add the collection or community ID to the path of the URL.  For
instance, if your normal SRU URL looked like this:
me.edu/dspace/search?query=dog, you'd turn it into
me.edu/dspace/search/collection123?query=dog.

Ralph


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


Re: [Dspace-tech] SRW/U search within a collection or collections

2009-09-16 Thread LeVan,Ralph
> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
> 
> Does SRW/U respect DSpace's authorization settings? For example, I set
> DEFAULT_BITSTREAM_READ, DEFAULT_ITEM_READ and READ on a
> collection to be
> authorized to the Administrator group only. However, when I execute a
> search via SRW/U on an item in this collection, it still shows up.

The SRU server knows nothing about the source of the query, so I don't
see how any authorization based logic could work.  Internally, I create
a DSpace Context object and I assume that I get whatever default
authorization comes with that.

If this seems to be a glaring hole and someone has ideas on how to patch
it, I'd be glad to work on it.

Ralph


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


Re: [Dspace-tech] Need information on Z.39 and SRU/W

2009-08-06 Thread LeVan,Ralph
I've been maintaining my SRU interface to DSpace here:
http://code.google.com/p/oclcsrwdspacelucene/

 

I see signs that it also available as part of the DSpace Maven stuff,
but I have no idea how current that is or how you access it.

 

Ralph

 

From: sanjib mondal [mailto:sanjib.sa...@gmail.com] 
Sent: Thursday, August 06, 2009 8:11 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Need information on Z.39 and SRU/W

 

Hi community members,

 

I was trying to explore the support of  Z.39 and SRU/W in DSpace.

 

Could any of you please provide me some information on the same?

 

I appreciate any response from your side.

 

Thanks,

Sanjeev

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Federating a number of DSpace instances

2009-02-11 Thread LeVan,Ralph
The federated search engine searches other SRW/SRU databases.  So, each
of those DSpace instances would need to expose an SRW/SRU interface.
Then, a simple configuration file lists the URLs of the databases to be
searched.

Ralph

> -Original Message-
> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
> Sent: Wednesday, February 11, 2009 9:39 AM
> To: LeVan,Ralph
> Cc: Mark H. Wood; dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Federating a number of DSpace instances
> 
> I'd be very interested in trying this out. How would one search
> multiple
> DSpace databases on multiple machines. Would this involve exposing the
> Postgresql databases to the internet?
> 
> Btw, I will get the SRW/U documentation I put together to you as soon
> as
> possible.
> 
> Cheers
> 
> 
> Hayden
> 
> LeVan,Ralph wrote:
> > I have an SRU database implementation that does federated searching.
> It
> > is very simple.  It exposes a single SRU database and a
configuration
> > file lists the other SRU databases to be searched.  The results are
> > returned in the order of the databases listed in the configuration
> file
> > (as I said, very simple).
> >
> > I use the federated search engine in production here at OCLC for our
> > Identities database
> (http://worldcat.org/identities/search/Identities).
> > Under the covers, that database searches 4 other databases.
> >
> > The code is available as Open Source, but I haven't had time to get
> it
> > up on my Google Code site (http://code.google.com/p/oclcsrw/).  I
> > believe I can find my documentation from my old CVS site and would
be
> > glad to share source and binary jars if anyone is interested in
> trying
> > them.  I'd be glad to work with someone on improving the code if
they
> > wanted to add something like ranking to it.
> >
> > Ralph
> >
> >
> >> -Original Message-
> >> From: Mark H. Wood [mailto:mw...@iupui.edu]
> >> Sent: Wednesday, February 11, 2009 8:29 AM
> >> To: dspace-tech@lists.sourceforge.net
> >> Subject: Re: [Dspace-tech] Federating a number of DSpace instances
> >>
> >> On Wed, Feb 11, 2009 at 07:19:06AM -0500, John Preston wrote:
> >>
> >>> The federation that I'm thinking of is for searching.
> >>>
> >> Note that this is a special case of the more general problem:  my
> >> institution or consortium operates a number of different digital
> >> document repositories of various types, and I need to make it
> possible
> >> to search across them all with (from the user's POV) one query.
> >> Sounds like what SRU was made for.  I hope so, because that's what
> >>
> > I've
> >
> >> been considering to meet a similar requirement.  There's not even a
> >> plan yet, though, let alone code.
> >>
> >>
> >>> It would be nice for any of the DSpace instances to auto magically
> >>> discover who belongs to the federation and should be searched.
> >>>
> >> Have each register itself in some sort of directory service.  The
> >> search front-end can then first search the directory to discover
> >> participating repositories, or just walk the membership of a group
> or
> >> the content of a single container if you want to have multiple
> >> repository 'cliques'.
> >>
> >> --
> >> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> >> Friends don't let friends publish revisable-form documents.
> >>
> >
> >
> >
-
> -
> > Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> > software. With Adobe AIR, Ajax developers can use existing skills
and
> code to
> > build responsive, highly engaging applications that combine the
power
> of local
> > resources and data with the reach of the web. Download the Adobe AIR
> SDK and
> > Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> 



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Federating a number of DSpace instances

2009-02-11 Thread LeVan,Ralph
I have an SRU database implementation that does federated searching.  It
is very simple.  It exposes a single SRU database and a configuration
file lists the other SRU databases to be searched.  The results are
returned in the order of the databases listed in the configuration file
(as I said, very simple).

I use the federated search engine in production here at OCLC for our
Identities database (http://worldcat.org/identities/search/Identities).
Under the covers, that database searches 4 other databases.

The code is available as Open Source, but I haven't had time to get it
up on my Google Code site (http://code.google.com/p/oclcsrw/).  I
believe I can find my documentation from my old CVS site and would be
glad to share source and binary jars if anyone is interested in trying
them.  I'd be glad to work with someone on improving the code if they
wanted to add something like ranking to it.

Ralph

> -Original Message-
> From: Mark H. Wood [mailto:mw...@iupui.edu]
> Sent: Wednesday, February 11, 2009 8:29 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Federating a number of DSpace instances
> 
> On Wed, Feb 11, 2009 at 07:19:06AM -0500, John Preston wrote:
> > The federation that I'm thinking of is for searching.
> 
> Note that this is a special case of the more general problem:  my
> institution or consortium operates a number of different digital
> document repositories of various types, and I need to make it possible
> to search across them all with (from the user's POV) one query.
> Sounds like what SRU was made for.  I hope so, because that's what
I've
> been considering to meet a similar requirement.  There's not even a
> plan yet, though, let alone code.
> 
> > It would be nice for any of the DSpace instances to auto magically
> > discover who belongs to the federation and should be searched.
> 
> Have each register itself in some sort of directory service.  The
> search front-end can then first search the directory to discover
> participating repositories, or just walk the membership of a group or
> the content of a single container if you want to have multiple
> repository 'cliques'.
> 
> --
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Friends don't let friends publish revisable-form documents.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace and SRW

2009-02-05 Thread LeVan,Ralph
I've sent Mr. Havercamp the file separately.

I've just recently gotten that googlecode site running and appreciate
the feedback.

Ralph

> -Original Message-
> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
> Sent: Wednesday, February 04, 2009 11:22 PM
> To: dspace-t...@lists.sourceforge.net.
> Subject: [Dspace-tech] DSpace and SRW
> 
> I was wondering if anyone has successfully installed the Search and
> Retrieve Web/URL (SRW/U) service for DSpace.
> 
> I've managed to get it to successfully run by installing thew SRW
> server
> and SRW/DSpace interface from http://code.google.com/p/oclcsrw/ and
> http://code.google.com/p/oclcsrwdspacelucene/ but the configuration
> requires a file called DSpace.SRWDatabase.props which I cannot find
> anywhere.
> 
> If anyone has successfully installed it and has it querying their
> DSpace
> instance, I was wondering if;
> 
> 1. I am retrieving the SRW source files from the correct location
> 
> 2. Where I obtain a copy of the DSpace.SRWDatabase.props file
> 
> 3. Whether the configuration details on the googlecode site
> (http://code.google.com/p/oclcsrw/wiki/ConfigurationFiles) are
correct,
> and if not where the correct configuration details can be found.
> 
> Any help would be much appreciated.
> 
> Cheers
> 
> 
> Hayden
> 
>
---
> ---
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and
> code to
> build responsive, highly engaging applications that combine the power
> of local
> resources and data with the reach of the web. Download the Adobe AIR
> SDK and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] subject hierachy using Dewey Decimal would allow moreuser friendly browsing

2008-12-18 Thread LeVan,Ralph
I'm from OCLC and I've asked the folks who are supposed to know.

 

There are absolutely no restrictions on using the Dewey numbers.  You
can assign those numbers to your works and then use them to organize
your works.  It would be nice if you said something on your site about
Dewey being copyrighted.  But otherwise, numbers are numbers and you can
use them to your heart's content.

 

The problem comes when you try to assign meaning to those numbers; then
you're using the work of the Dewey Editors.  The text associated with
those numbers IS copyright.  But, if you can restrict the usage to just
browsing up and down the numbers, you're good.

 

Ralph

 

From: Andrew Marlow [mailto:marlow.and...@googlemail.com] 
Sent: Tuesday, December 16, 2008 3:55 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] subject hierachy using Dewey Decimal would allow
moreuser friendly browsing

 

Hello DSpacers,

I would like to be able to browse the subjects hierachically. I am not
sure if DSpace can do that. What I mean is that assuming I have
categorized all my journal articles with multiple db.subject values I
want to start at science (let's say) then drill down to chemistry, then
crystallography. At the moment all these subjects are peers. How do I
arrange them in a hierachy please?

I know that Dewey Decimal (DD) is not the be-all-and-end-all but IMO it
would be useful for this. Are there any plans for DSpace to provide
better support for DD? What I would like is for DSpace to know the DD
hierachy. Then when I file an article with a very specific DD number it
would generate all the subjects that lead to it. That would be much more
user-friendly that having to file multiple dc.subject values. Do people
think this would be useful? Maybe it is over the top or impractical. I
thought I would raise it here first before putting it in as a feature
request.

-- 
Regards,

Andrew M.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How do we sort in SRW? (dspace 1.5.1)

2008-11-05 Thread LeVan,Ralph
Sigh.  I wish I had a really good answer for you, but I don't.

Sorting is tricky, in a lot of senses.  I've implemented it a couple of
ways already in my SRW server and taken them back out.  The problem is
partly that I've not come up with a good abstraction for sort and partly
that the SRW community hasn't come to any agreement on how sort should
be done.

The solution that I was happiest with caused the SRW server to do all
the sorting.  You would pass an XPath to a field to be sorted on from
the records in the result set.  I'd use the content of that field as the
sort key.  That's clean and useful, but not very efficient.  The
efficient implementation would be to use the underlying database to do
the sorting of the result set.

To support that, I pass the sort request to the result set objects so
they can do what they need to when the query is executed.  But, I've got
no code in place in either my DSpace or Lucene database interfaces to
take advantage of it.  I've not even looked into how I might do a sort
in either of those environments.

If someone out there can point me to a good example of getting those
databases to do a sort, I'll see if I can't get some sort of sort
support implemented.  At the very least, I should be returning a
diagnostic right now saying that I don't support it.

Ralph

> -Original Message-
> From: Klaus Hessellund [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2008 3:15 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] How do we sort in SRW? (dspace 1.5.1)
> 
> Hi list,
> 
> We are using SRW with dspace. Things works fine. We are able to search
> for things using lucene indexes.
> 
> However, we are not able to do sorting.
> 
> We tried to add sortKeys to the url, but no matter what we try, there
> seems to be no sorting at all.
> 
> Example url :
> 
>
http://ourhost/srw/search/DSpace?query=dc.creator+%3D+%22hans%22&versio
>
n=1.1&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema%2F1%2Fd
> c-
>
v1.1&maximumRecords=10&startRecord=1&resultSetTTL=300&recordPacking=xml
> &recordXPath=&sortKeys=year
> 
> Here we search for author "Hans" and try to sort on year. We also
tried
> to sort using other fields, like dc.title and so on, but no change.
> 
> 
> Regards,
> 
> Klaus
> 
>
---
> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Search for date in srw/u

2008-09-15 Thread LeVan,Ralph
SRW Index Browse does not work in DSpace 1.5.  Mark Diggory has a programmer 
working on that now.

The example URL that you attached does not look like a search to me.  It looks 
like a browse with qualifiers.  Your comment that it doesn't actually return 
only documents with those dates reinforces that impression.

Are you really sure there are year and month date indexes in Lucene?  Anyone 
closer to the application have an opinion?

Ralph

> -Original Message-
> From: Klaus Hessellund [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 15, 2008 4:05 AM
> To: LeVan,Ralph
> Cc: Mika Stenberg; dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Search for date in srw/u
> 
> Hi Ralph,
> 
> I've tried all searches indexes and they all come with an exception.
> 
> I've just installed 1.5.1 release instead of svn version and get same
> result.
> 
> Is there any way, where I can search for year and month as I can in
> dspace ?
> 
> f.ex if I want all post from 2005-08, i can use :
>  http://hostname/xmlui/browse?rpp=20&etal=-
> 1&type=dateissued&sort_by=2&order=ASC&month=12&year=2005
> 
> So year and month are some how indexed, and the question is if I can do
> something simelar in srw ?
> 
> Unfortnately I can't specify day in month and dspace gives me posts
> that
> is newer than the specified date. That is, I get posts from the
> specified date and later. It is better that nothing and I can strip
> newer posts in another script. That would be a workaround for me ;-)
> 
> 
> /Klaus
> 
> 
> 
> 
> 
> 
> LeVan,Ralph wrote:
> > I'm not denying responsibility for this problem, but it looks like a
> DSpace issue.  If you walk down that stack trace far enough, you run
> into this:
> > Caused by: java.lang.NoClassDefFoundError:
> com/ibm/icu/text/Normalizer
> > at
> >
> org.dspace.text.filter.DecomposeDiactritics.filter(DecomposeDiactritics
> .java:54)
> > at
> >
> org.dspace.sort.AbstractTextFilterOFD.makeSortString(AbstractTextFilter
> OFD.java:116)
> > at
> org.dspace.sort.OrderFormat.makeSortString(OrderFormat.java:125)
> > at
> >
> org.dspace.browse.BrowseEngine.normalizeJumpToValue(BrowseEngine.java:7
> 20)
> > at
> org.dspace.browse.BrowseEngine.browseByValue(BrowseEngine.java:487)
> > at org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:128)
> > at
> >
> ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getTermList(SRWLuceneDat
> abase.java:276)
> >
> > In other words, I've asked DSpace to return a list of terms to me and
> in doing that it's invoked its DecomposeDiacritics filter and that
> filter tried to call com.ibm.icu.text.Normalizer, which it couldn't
> find.
> >
> > Now, as it happens, I believe that names are handled internally by
> DSpace and not left to Lucene to handle.  You might want to try
> browsing on yet another index and see what happens.
> >
> > Ralph
> >
> >
> >
> >> -Original Message-
> >> From: Klaus Hessellund [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, September 12, 2008 10:12 AM
> >> To: LeVan,Ralph
> >> Cc: Mika Stenberg; dspace-tech@lists.sourceforge.net
> >> Subject: Re: [Dspace-tech] Search for date in srw/u
> >>
> >> I can't browse any indexes.  If I search dc.creator for "Hansen" and
> >> set
> >> Response position" to 1, I get this exception :
> >>
> >> 
> >> −
> >> 
> >> −
> >> 
> >> soapenv:Server.userException
> >>
> java.lang.reflect.InvocationTargetException
> >> −
> >> 
> >> −
> >> 
> >> java.lang.reflect.InvocationTargetException
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> >> va:39)
> >> at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> >> rImpl.java:25)
> >> at java.lang.reflect.Method.invoke(Method.java:585)
> >> at
> >>
> org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.jav
> >> a:397)
> >> at
> >>
> org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.j
> >> ava:186)
> >> at
> >>
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:32
> >> 3)
> >> at
> >>
> org.apache.axis.strateg

Re: [Dspace-tech] Search for date in srw/u

2008-09-12 Thread LeVan,Ralph
I'm not denying responsibility for this problem, but it looks like a DSpace 
issue.  If you walk down that stack trace far enough, you run into this:
Caused by: java.lang.NoClassDefFoundError: com/ibm/icu/text/Normalizer
at
org.dspace.text.filter.DecomposeDiactritics.filter(DecomposeDiactritics.java:54)
at
org.dspace.sort.AbstractTextFilterOFD.makeSortString(AbstractTextFilterOFD.java:116)
at org.dspace.sort.OrderFormat.makeSortString(OrderFormat.java:125)
at
org.dspace.browse.BrowseEngine.normalizeJumpToValue(BrowseEngine.java:720)
at org.dspace.browse.BrowseEngine.browseByValue(BrowseEngine.java:487)
at org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:128)
at
ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getTermList(SRWLuceneDatabase.java:276)

In other words, I've asked DSpace to return a list of terms to me and in doing 
that it's invoked its DecomposeDiacritics filter and that filter tried to call 
com.ibm.icu.text.Normalizer, which it couldn't find.

Now, as it happens, I believe that names are handled internally by DSpace and 
not left to Lucene to handle.  You might want to try browsing on yet another 
index and see what happens.

Ralph


> -Original Message-
> From: Klaus Hessellund [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 10:12 AM
> To: LeVan,Ralph
> Cc: Mika Stenberg; dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Search for date in srw/u
> 
> I can't browse any indexes.  If I search dc.creator for "Hansen" and
> set
> Response position" to 1, I get this exception :
> 
> 
> −
> 
> −
> 
> soapenv:Server.userException
> java.lang.reflect.InvocationTargetException
> −
> 
> −
> 
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.jav
> a:397)
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.j
> ava:186)
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:32
> 3)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.
> java:32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
> at
> ORG.oclc.os.SRW.SRWServlet.processMethodRequest(SRWServlet.java:1397)
> at ORG.oclc.os.SRW.SRWServlet.doGet(SRWServlet.java:296)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.
> java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> ationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> terChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> ve.java:210)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.java:174)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> a:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> a:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
> .java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 151)
> at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
> at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> at
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java
> :703)
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket
> .java:895)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
> l.java:685)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NoClassDefFoundError: com/ibm/icu/text/Normalizer
> at
> org.dspace.text.filter.DecomposeDiactritics.filter(DecomposeDiactritics
> .java:54)
> at
> org.dspace.sort.AbstractTextFi

Re: [Dspace-tech] Upgrade 1.5 browse issue...

2008-05-29 Thread LeVan,Ralph
Bill, I believe your compiler is telling you that it can't compile the
code using java version 1.3 rules.  You are either running an old java
1.3 for your DSpace or there's a "-source 1.3" rule somewhere.

 

Ralph

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Kelm
Sent: Wednesday, May 28, 2008 6:25 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Upgrade 1.5 browse issue...

 


  Just curios if anyone else has run into this problem. We upgraded from
1.41 to 1.5.0, and I knew the browse indexing was going to change so we
did the inidex-init, and index-update, but for some reason in the jspui
(which we will soon not be using) on the browse by title and date they
generate an internal error.

org.apache.jasper.JasperException: Unable to compile class for JSP 

An error occurred at line: 335 in the jsp file: /browse/full.jsp 
Generated servlet error: 
/usr/share/tomcat5/work/Catalina/localhost/jspui/org/apache/jsp/browse/f
ull_jsp.j 
ava:510: generics are not supported in -source 1.3 
(try -source 1.5 to enable generics) 
Set sortOptions = SortOption.getSortOptions(); 
   ^ 


An error occurred at line: 342 in the jsp file: /browse/full.jsp 
Generated servlet error: 
/usr/share/tomcat5/work/Catalina/localhost/jspui/org/apache/jsp/browse/f
ull_jsp.j 
ava:522: for-each loops are not supported in -source 1.3 
(try -source 1.5 to enable for-each loops) 
for (SortOption sortBy : sortOptions) 
   ^ 
2 errors 

The java on the machine is 1.5, so I'm not sure where the 1.3 is coming
from?

Thanks,
Bill




-- 
Bill G. Kelm - Systems Librarian
Willamette University Library
900 State Street - Salem, OR 97301
Phone: 503-375-5332   Fax: 503-370-6141
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U and DSpace

2008-05-19 Thread LeVan,Ralph
Great news!

Ralph

> -Original Message-
> From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 19, 2008 4:29 AM
> To: LeVan,Ralph
> Subject: Re: SRW/U and DSpace
> 
> Hi Ralph,
> 
> just tried it on our test instance (1.4.1) and it works. The error with
> any result set >10 is gone now. Gonna test it on our productive
> instance
> with some more (~18k items) and then we can be integrated in the
> federated search again.
> Maybe we should put some more detailed info in the wiki and the dspace
> docs. If SRW/U becomes a module for 1.5.x you might have more hands to
> test and keep the info uptodate.
> 
> thank you
> 
> Claudia
> 
> 
> LeVan,Ralph schrieb:
> > Well, I've finally gotten an DSpace 1.4.2 installation running on my
> machine and a database of 15 items created.  My SRW server worked
> correctly on the first try.
> >
> > So, I've made a .war file for you and put it on my server:
> http://pubserv.oclc.org/srw/SRW.war.  I noticed that when I tested
> downloading it that the file got renamed SRW.zip for some reason.  The
> contents were correct, so you may want to rename it.
> >
> > I've changed my practice of where I put the SRWServer.props file so
> that delivering new war files doesn't step on it.  If you move your
> SRWServer.props file from the SRW/WEB_INF/classes directory to
> /shared/classes, I'll be able to find it and you won't have to
> worry about it being accidently stomped on.
> >
> > Let me know how it goes!
> >
> > Ralph
> >
> >> -Original Message-
> >> From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, May 09, 2008 10:48 AM
> >> To: LeVan,Ralph
> >> Subject: Re: SRW/U and DSpace
> >>
> >> Hi Ralph,
> >>
> >> not much "luck" til now, the changes you suggested had no effect.
> >> With which DSpace version did you run SRW?
> >>
> >> Mark supplied me with his module for 1.5 but it will not work until
> the
> >> browse code changes are adopted.
> >>
> >> sunny greetings
> >>
> >> Claudia
> >>
> >>
> >> LeVan,Ralph schrieb:
> >>> Mark Diggory keep talking about it, but have done nothing.
> >>>
> >>> It's my intention to keep it working.  But, I don't run a DSpace
> >> instance here and end up having to rediscover how to do a fresh
> install
> >> every time I need to test.  I haven't had the time to do the 1.5
> >> install yet, so I have no idea if it even works.
> >>> Let me know how your testing goes!
> >>>
> >>> Ralph
> >>>
> >>>> -Original Message-
> >>>> From: Claudia Jürgen [mailto:[EMAIL PROTECTED]
> >>>> Sent: Friday, May 09, 2008 3:19 AM
> >>>> To: LeVan,Ralph
> >>>> Subject: Re: SRW/U and DSpace
> >>>>
> >>>> Hi Ralph,
> >>>>
> >>>> thanx for your response. Gonna try this.
> >>>> My problems weren't with DSpace 1.5 as SRW/U due to the browse
> >> changes
> >>>> won't work with 1.5, but with a vanilla install of 1.4.1 and
> 1.4.2.
> >>>>
> >>>> Are there any plans to maintain SRW/U for DSpace or even better
> >>>> integrate it, make it a module like OAI-PMH data provider?
> >>>>
> >>>> Claudia
> >>>>
> >>>>
> >>>> LeVan,Ralph schrieb:
> >>>>> Hi Claudia!
> >>>>>
> >>>>> My web site is sooo out of date.  Fortunately, my code isn't.
> >>>>>
> >>>>> I've not run my code on 1.5 yet, but I have run it on everything
> >>>> else.  The main issue I remember with one of the later versions
> was
> >> the
> >>>> switch from Lucene1.x to 2.0.  The fix might be as simple as
> copying
> >>>> the Lucene jar from the DSpace library to the SRW library.
> >>>>> Just to be on the safe side, I am attaching my very latest source
> >> and
> >>>> binary jars.
> >>>>> Let me know if you have any problems with this.  I don't have a
> >>>> DSpace on my machine, so it might take me a day or two to recreate
> >> any
> >>>> problems you have.
> >>>>> Ralph
> >>>>>
> >>>>>> -Original Message-
> >>>>>> From: 

[Dspace-tech] Quick SRU Survey

2008-05-16 Thread LeVan,Ralph
I have no sense of how much my SRW/U code is being used by the DSpace
community.  I just spent most of the last week working on Claudia's
problem and my management is grumbling.  It would greatly help if I
could provide a list of real users.  And if none of you (except Claudia)
are using it, then we'll make some other sort of support arrangements.

 

Send some sort of information (glowing testimonials always help!) to
[EMAIL PROTECTED]

 

Thanks!

 

Ralph

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW/U

2008-05-16 Thread LeVan,Ralph
Just to let you know I've not been ignoring this:

Claudia and I have exchanged some emails.  I tried just sending her an updated 
jar but with no success.  I've installed a DSpace-1.4.2 on my machine and 
tested it with my copy of my SRU server.  It seems to work just fine.  I've 
created a war file with all my latest code 
(http://pubserv.oclc.org/srw/SRW.war) and asked her to try it out.  I'll report 
back when I hear something from her.

I've also installed DSpace-1.5 on my machine and noticed what look to be 
gratuitous class name changes (e.g. BrowseScope changed to BrowserScope), so 
I'm going to have to fork a branch in my code for 1.4.2 and make changes to 
support 1.5 on my trunk.  I'll let you know when I have SRU running for 1.5.

Ralph


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:dspace-tech-
> [EMAIL PROTECTED] On Behalf Of Karthik Dathathri
> Sent: Friday, May 16, 2008 9:48 AM
> To: Claudia "Jürgen
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] SRW/U
> 
> Hi Claudia,
> 
> Sometime back we did a test setup of SRW-2.0 on a Linux box.
> That time, we tried it with dspace 1.4.2. I believe dspace 1.4.2
> should work fine with SRW 2.0.
> 
> Thanks & Regards,
> 
> Karthik
> 
> 
> --- Claudia Jürgen <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> >
> > can anyone tell me with which DSpace Version the SRW/U 2.0 see
> >
> > http://www.oclc.org/research/software/srw/default.htm
> > is supposed to work?
> > Just set up a test on a DSpace 1.4.1 test instance
> > http://eldorado2.uni-dortmund.de:8080/SRW/search/DSpace which
> > only
> > partially works and does not pass the
> > http://alcme.oclc.org/srw/test/SRUServerTester test.
> >
> > cheers
> >
> > Claudia
> >
> >
> ---
> --
> > This SF.net email is sponsored by the 2008 JavaOne(SM)
> > Conference
> > Don't miss this year's exciting event. There's still time to
> > save $100.
> > Use priority code J8TL2D2.
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/
> javaone
> > ___
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> 
> 
> 
> 
> 
> ---
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread LeVan,Ralph
The difference is which user owns the process, which controls the
permissions on the files.  It is generally a bad idea to start the
process as yourself, which is what happens with the latter form, as it
will be pretty much uncontrollable by anyone else.

Ralph

-Original Message-
From: Peter Urban [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 11:47 AM
To: LeVan,Ralph; 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Completed install but page cannot be
displayed

Thanks again Ralph! I've mande some progress. Found this article -
http://cefn.com/blog/ubuntutomcat.html - that mentions a problem with
Tomcat
installation using Ununtu's tomcat5.5 package. Looks like Tomcat was not
starting after all. Once I went through the recommended fix, I'm now
getting
a blank page when going to http://:8080/dspace. At least
there's
no error message. I see catalina.sh in the list of processes, so I guess
Tomcat is good now. Just have to figure out why I'm getting blank and
not
Dspace.

P.S. What's the difference between using...

sudo /etc/init.d/tomcat5.5 start

...and...

sh /usr/share/tomcat5.5/bin/startup.sh

...to start Tomcat? I was using the former at first and wasn't seeing
any
errors for startup.



-Original Message-
From: LeVan,Ralph [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 10:32 AM
To: Peter Urban; Stuart Lewis [sdl]
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Completed install but page cannot be
displayed

There are a couple of ways to tell if tomcat is running.

ps -eaf|grep tomcat

The first part gets you a list of everything that is running on your
machine.  (Plain ps as you entered it just gets you the stuff running in
your session.)  The second part filters that long list down to things
that
have tomcat in them.  If that returns nothing except the grep itself,
try:

Ps-eaf|grep catalina

"catalina" is tomcats real name internally.

Those two things will tell you about processes.

The other trick is to go to the tomcat logs directory and see if you can
see
tomcat starting up in its logs.  Typically, there is either a file named
catalina.out or catalina..log.  Inside them you
will
either see a line like "Starting service Catalina" or you'll see some
sort
of explanation for why tomcat didn't start.

If you don't see any logs in the /logs directory, you probably
never
correctly issued the startup.sh script.

Ralph



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Urban
Sent: Tuesday, October 16, 2007 10:38 AM
To: 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY  TIME CMD
 6367 pts/100:00:00 sh
 6369 pts/100:00:00 bash
 6399 pts/100:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is
running?



 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds
like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would
show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from
your
computer running the browser. I don't know what a default Ubuntu
firewall
config looks like, but assuming they give you one, it is possible
(likely)
that a non-standard port such as 8080 is blocked by default, and you'll
need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> 

Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread LeVan,Ralph
There are a couple of ways to tell if tomcat is running.

ps -eaf|grep tomcat

The first part gets you a list of everything that is running on your
machine.  (Plain ps as you entered it just gets you the stuff running in
your session.)  The second part filters that long list down to things
that have tomcat in them.  If that returns nothing except the grep
itself, try:

Ps-eaf|grep catalina

"catalina" is tomcats real name internally.

Those two things will tell you about processes.

The other trick is to go to the tomcat logs directory and see if you can
see tomcat starting up in its logs.  Typically, there is either a file
named catalina.out or catalina..log.  Inside them
you will either see a line like "Starting service Catalina" or you'll
see some sort of explanation for why tomcat didn't start.

If you don't see any logs in the /logs directory, you probably
never correctly issued the startup.sh script.

Ralph



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Urban
Sent: Tuesday, October 16, 2007 10:38 AM
To: 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY  TIME CMD
 6367 pts/100:00:00 sh
 6369 pts/100:00:00 bash
 6399 pts/100:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is
running?



 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds
like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would
show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from
your
computer running the browser. I don't know what a default Ubuntu
firewall
config looks like, but assuming they give you one, it is possible
(likely)
that a non-standard port such as 8080 is blocked by default, and you'll
need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> know much more about Tomcat to be able to troubleshoot further on my 
> own. I get no errors when I start it using
> 
> sudo /etc/init.d/tomcat5.5 start
> 
> I installed Tomcat using Ubuntu's tomcat5.5 package. Initially, I had 
> an error during installation
> 
> * no JDK found - please set JAVA_HOME
> invoke-rc.d: initscript tomcat5.5, action "start" failed.
> dpkg: error processing tomcat5.5 (--configure):
>  subprocess post-installation script returned error exit status 1 
> Errors were encountered while processing:
>  tomcat5.5
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Then, I realized that I had JRE (j2re1.4), not JDK, so I installed 
> sun-java5-jdk package and reinstalled Tomcat. That seemed to work 
> fine. I don't see a catalina.sh. I looked for it in /usr/local/tomcat,

> but I have no tomcat folder in local. Did I do the Tomcat installation
wrong?
> 
> On to your other questions...
> 
> Yes ant-optional package is installed.
> 
> When I copy the dspace*.war files to the webapps directory, they do 
> not unpack. All I see are 2 war files, no dspace directory.
> 
> Thanks for your help so far.
> 
> -Peter
> 
> 
> 
> -Original Message-
> From: Christian Voelker [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 5:01 PM
> To: Peter Urban
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Completed install but page cannot be 
> displayed
> 
> 
> Am 15.10.2007 um 21:39 schrieb Peter Urban:
> 
>> when we launch a browser and try to access the site usinng http:// 
>> :8080/dspace, we get a 'page cannot be displayed' message.
> 
> What do you get under http://:8080 ?
> The Tomcat Homepage? So, is Tomcat actually running?
> If not, stick with this pro

Re: [Dspace-tech] DSpace and Z39.50

2007-08-17 Thread LeVan,Ralph
Probably old code.

I have my latest code controlled in Subversion behind the company firewall now. 
 The only thing I'm lacking is an idea for how to organize the various 
subprojects to build a working deployment.

Let me describe my setup and see if someone out there can help me organize it.

I have a main project named SRW with all the protocol handling logic and 
interfaces for database logic.

I have a number of other projects with implementations for databases including 
straight Lucene and Lucene/DSpace.

The problem is that some project, either the SRW project or a database project, 
needs to be able to generate a .war file that includes the product of the other 
project(s).  I can't come up with an auto-magic way of making that happen.  If 
one of you can suggest how to do that, I'd be very grateful and deploy it 
immediately.

In the meantime, I'll send my latest SRW and SRWDSpace jars to Mika.

Thanks!

Ralph

-Original Message-
From: Mika Stenberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 17, 2007 3:57 AM
To: LeVan,Ralph
Cc: dspace-tech@lists.sourceforge.net; Peter Cliff
Subject: Re: [Dspace-tech] DSpace and Z39.50

I tried to see the URL you sent but the site was down this morning?

In my server.xml I have already set URIencoding as follows:

   


What else might be wrong?

-Mika



> I tried a search for the author "Siikamäki" and got a bad result back.  My 
> guess is that you haven't set the URIEncoding in your tomcat.  See this page 
> for information on how to do that:
> http://confluence.atlassian.com/display/DOC/Configuring+Tomcat's+URI+encoding
> 
> Ralph
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LeVan,Ralph
> Sent: Thursday, August 16, 2007 9:30 AM
> To: Mika Stenberg
> Cc: dspace-tech@lists.sourceforge.net; Peter Cliff
> Subject: Re: [Dspace-tech] DSpace and Z39.50
> 
> The word "test" in that URL is in the position where the database name 
> occurs.  If you want to search DSpace, replace "test" with "DSpace".
> 
> Here's a search in your database:
> http://otto.terkko.helsinki.fi:8080/SRW/search/DSpace?query=dc.creator%20=%20"Aalto,%20Anu"&maximumRecords=1
> 
> 
> Ralph
> 
> -Original Message-
> From: Mika Stenberg [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 15, 2007 3:36 AM
> To: LeVan,Ralph
> Cc: Peter Cliff; dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] DSpace and Z39.50
> 
> I tried this one but have hard time making it work. The installation 
> seems to be succesful, but I cant figure out how to make queries to my 
> own Dspace database?
> 
> The test query is built like this:
> http://otto.terkko.helsinki.fi:8080/SRW/search/test?query=cancer&maximumRecords=1
> 
> So how should I change it to search my Dspace instance? Removing the 
> "test" part results to error.
> 
> Thanks,
> Mika
> 
> 
>> OCLC provides an SRW/U interface to DSpace.  See
>> http://www.oclc.org/research/software/srw/
>>
>> Ralph
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
>> Cliff
>> Sent: Tuesday, August 14, 2007 10:47 AM
>> To: dspace-tech@lists.sourceforge.net
>> Subject: [Dspace-tech] DSpace and Z39.50
>>
>> Hello!
>>
>> I've been trawling through the DSpace mailing list archives and also the
>>
>> documentation, and while I've found a few references - notably an email 
>> stating that there was a task to add Z39.50 and SRU to DSpace in 2003 - 
>> I've not found any concrete evidence that would suggest DSpace supports 
>> either protocol.
>>
>> Am I right in thinking that DSpace does not ship with a Z39.50 and/or 
>> SRU (or even SRW) interface?
>>
>> I realise adding one would be pretty straight forward for an 
>> implementor, either by indexing the output of an OAI-PMH request for 
>> everything (using, say, IndexData's Zebra) or using the DSpace search 
>> API and something like JZKit 
>> (http://developer.k-int.com/projects.php?page=dspace for example).
>>
>> Thanks,
>>
>> Pete Cliff
>> Research Officer, Repositories Support Project,
>> UKOLN, University of Bath
>>
>>
>>
>>
>> 
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >

Re: [Dspace-tech] DSpace and Z39.50

2007-08-16 Thread LeVan,Ralph
I tried a search for the author "Siikamäki" and got a bad result back.  My 
guess is that you haven't set the URIEncoding in your tomcat.  See this page 
for information on how to do that:
http://confluence.atlassian.com/display/DOC/Configuring+Tomcat's+URI+encoding

Ralph

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LeVan,Ralph
Sent: Thursday, August 16, 2007 9:30 AM
To: Mika Stenberg
Cc: dspace-tech@lists.sourceforge.net; Peter Cliff
Subject: Re: [Dspace-tech] DSpace and Z39.50

The word "test" in that URL is in the position where the database name occurs.  
If you want to search DSpace, replace "test" with "DSpace".

Here's a search in your database:
http://otto.terkko.helsinki.fi:8080/SRW/search/DSpace?query=dc.creator%20=%20"Aalto,%20Anu"&maximumRecords=1


Ralph

-Original Message-
From: Mika Stenberg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 15, 2007 3:36 AM
To: LeVan,Ralph
Cc: Peter Cliff; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace and Z39.50

I tried this one but have hard time making it work. The installation 
seems to be succesful, but I cant figure out how to make queries to my 
own Dspace database?

The test query is built like this:
http://otto.terkko.helsinki.fi:8080/SRW/search/test?query=cancer&maximumRecords=1

So how should I change it to search my Dspace instance? Removing the 
"test" part results to error.

Thanks,
Mika


> OCLC provides an SRW/U interface to DSpace.  See
> http://www.oclc.org/research/software/srw/
> 
> Ralph
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Cliff
> Sent: Tuesday, August 14, 2007 10:47 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] DSpace and Z39.50
> 
> Hello!
> 
> I've been trawling through the DSpace mailing list archives and also the
> 
> documentation, and while I've found a few references - notably an email 
> stating that there was a task to add Z39.50 and SRU to DSpace in 2003 - 
> I've not found any concrete evidence that would suggest DSpace supports 
> either protocol.
> 
> Am I right in thinking that DSpace does not ship with a Z39.50 and/or 
> SRU (or even SRW) interface?
> 
> I realise adding one would be pretty straight forward for an 
> implementor, either by indexing the output of an OAI-PMH request for 
> everything (using, say, IndexData's Zebra) or using the DSpace search 
> API and something like JZKit 
> (http://developer.k-int.com/projects.php?page=dspace for example).
> 
> Thanks,
> 
> Pete Cliff
> Research Officer, Repositories Support Project,
> UKOLN, University of Bath
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace and Z39.50

2007-08-16 Thread LeVan,Ralph
The word "test" in that URL is in the position where the database name occurs.  
If you want to search DSpace, replace "test" with "DSpace".

Here's a search in your database:
http://otto.terkko.helsinki.fi:8080/SRW/search/DSpace?query=dc.creator%20=%20"Aalto,%20Anu"&maximumRecords=1


Ralph

-Original Message-
From: Mika Stenberg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 15, 2007 3:36 AM
To: LeVan,Ralph
Cc: Peter Cliff; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace and Z39.50

I tried this one but have hard time making it work. The installation 
seems to be succesful, but I cant figure out how to make queries to my 
own Dspace database?

The test query is built like this:
http://otto.terkko.helsinki.fi:8080/SRW/search/test?query=cancer&maximumRecords=1

So how should I change it to search my Dspace instance? Removing the 
"test" part results to error.

Thanks,
Mika


> OCLC provides an SRW/U interface to DSpace.  See
> http://www.oclc.org/research/software/srw/
> 
> Ralph
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Cliff
> Sent: Tuesday, August 14, 2007 10:47 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] DSpace and Z39.50
> 
> Hello!
> 
> I've been trawling through the DSpace mailing list archives and also the
> 
> documentation, and while I've found a few references - notably an email 
> stating that there was a task to add Z39.50 and SRU to DSpace in 2003 - 
> I've not found any concrete evidence that would suggest DSpace supports 
> either protocol.
> 
> Am I right in thinking that DSpace does not ship with a Z39.50 and/or 
> SRU (or even SRW) interface?
> 
> I realise adding one would be pretty straight forward for an 
> implementor, either by indexing the output of an OAI-PMH request for 
> everything (using, say, IndexData's Zebra) or using the DSpace search 
> API and something like JZKit 
> (http://developer.k-int.com/projects.php?page=dspace for example).
> 
> Thanks,
> 
> Pete Cliff
> Research Officer, Repositories Support Project,
> UKOLN, University of Bath
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace and Z39.50

2007-08-14 Thread LeVan,Ralph
OCLC provides an SRW/U interface to DSpace.  See
http://www.oclc.org/research/software/srw/

Ralph

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Cliff
Sent: Tuesday, August 14, 2007 10:47 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace and Z39.50

Hello!

I've been trawling through the DSpace mailing list archives and also the

documentation, and while I've found a few references - notably an email 
stating that there was a task to add Z39.50 and SRU to DSpace in 2003 - 
I've not found any concrete evidence that would suggest DSpace supports 
either protocol.

Am I right in thinking that DSpace does not ship with a Z39.50 and/or 
SRU (or even SRW) interface?

I realise adding one would be pretty straight forward for an 
implementor, either by indexing the output of an OAI-PMH request for 
everything (using, say, IndexData's Zebra) or using the DSpace search 
API and something like JZKit 
(http://developer.k-int.com/projects.php?page=dspace for example).

Thanks,

Pete Cliff
Research Officer, Repositories Support Project,
UKOLN, University of Bath





-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Building 1.4.2 on WinXP fails with Malformed \uxxxxencoding

2007-08-08 Thread LeVan,Ralph
Tossing that error message (java.lang.IllegalArgumentException:
Malformed \u encoding) at Google, I quickly run into suggestions
that there is an unescaped DOS filename in the properties file.

Did you edit that file and put filenames into it?  If so, you need to
either turn the backslashes in the file name into double backslashes or
forward slashes.

Ralph

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Preston
Sent: Wednesday, August 08, 2007 1:31 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Building 1.4.2 on WinXP fails with Malformed
\uencoding

I'm trying to install DSpace on a Windows XP professional box. When I
come to try and build the sources with ant (1.7.0 or 1.6.1) I get the
following error running "ant fresh_install"

BUILD FAILED

java.lang.IllegalArgumentException: Malformed \u encoding.

at java.util.Properties.loadConvert(Unknown Source)

at java.util.Properties.load0(Unknown Source)

at java.util.Properties.load(Unknown Source)

at
org.apache.tools.ant.taskdefs.Property.loadFile(Property.java:409)

at
org.apache.tools.ant.taskdefs.Property.execute(Property.java:345)

at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:301)

at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:135
)

at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:8
9)

at org.apache.tools.ant.Main.runBuild(Main.java:617)

at org.apache.tools.ant.Main.startAnt(Main.java:183)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)



Total time: 0 seconds

java.lang.IllegalArgumentException: Malformed \u encoding.

at java.util.Properties.loadConvert(Unknown Source)

at java.util.Properties.load0(Unknown Source)

at java.util.Properties.load(Unknown Source)

at
org.apache.tools.ant.taskdefs.Property.loadFile(Property.java:409)

at
org.apache.tools.ant.taskdefs.Property.execute(Property.java:345)

at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:301)

at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:135
)

at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:8
9)

at org.apache.tools.ant.Main.runBuild(Main.java:617)

at org.apache.tools.ant.Main.startAnt(Main.java:183)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

Malformed \u encoding.


Any ideas what I'm doing wrong? I followed all the instructions from
http://wiki.dspace.org/index.php/DSpaceOnWindows and changed all the
file seperators in the dspace.cfg from "/" to "\".

Also, I already have DSpace running under fedora. Can I just copy a
few things from this installation to the XP box.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Reply-To Header missing - list misconfigured?

2007-07-31 Thread LeVan,Ralph
For what it's worth, I re-configure the lists I'm responsible for to
reply to both the sender and the list.  As Christian said, hitting the
reply-all button just isn't a reflex I can train into my users.

Ralph

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Run the bin/intall-configs script

2007-07-24 Thread LeVan,Ralph
That probably means that either you don't have java installed on your machine 
yet, or you haven't added $JAVA_HOME/bin to your PATH.  (Don't forget to add 
the JAVA_HOME variable to your environment while you're at it!)

Ralph

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Castro 
Artigas
Sent: Tuesday, July 24, 2007 10:38 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Run the bin/intall-configs script

I have the problem, Run the bin/intall-configs script
Show folowing message:
 
[EMAIL PROTECTED] bin]# ./install-configs
Processing and installing configuration files for external tools
./dsrun: line 70: java: command not found


Please Help me

Atte
Rodrigo Castro

Jefe de Tecnología 

Alerta al Conocimiento S.A.

Fono: 233-7908


-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de
[EMAIL PROTECTED]
Enviado el: Martes, 24 de Julio de 2007 5:11
Para: dspace-tech@lists.sourceforge.net
Asunto: DSpace-tech Digest, Vol 15, Issue 53

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of DSpace-tech digest..."


Today's Topics:

   1. Re: [vote] Do we want to assign external  identifiers(Handles)
  to files? (James Rutherford)
   2. Re: DSpace optimization (James Dickson)
   3. Re: DSpace optimization (Jayan Chirayath Kurian)
   4. Re: Expose DSpace as Tomcat ROOT application (was Re:First
  name, family name order) (Jayan Chirayath Kurian)
   5. Re: DSpace optimization (James Rutherford)
   6. Re: Error when deleting a community and a collection  (fwd)
  (James Rutherford)
   7. Re: [vote] Do we want to assign   externalidentifiers(Handles)
  to files? (Graham Triggs)


--

Message: 1
Date: Tue, 24 Jul 2007 09:22:11 +0100
From: James Rutherford <[EMAIL PROTECTED]>
Subject: Re: [Dspace-tech] [vote] Do we want to assign external
identifiers(Handles) to files?
To: Gary Browne <[EMAIL PROTECTED]>
Cc: DSpace Tech 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 23, 2007 at 09:48:39AM +1000, Gary Browne wrote:
> James, thanks for raising this issue and in particular getting people to
> put their money where their collective mouths are.

Believe me, if I could possibly avoid it, I would leave the issue well
alone ;)

I'm sure this will come as no surprise to anyone, but it seems like this
issue has highlighted some conflicts of opinion. As I see it there are
(broadly) two camps: those who believe that every meaningful tier in the
DSpace content hierarchy should get external identifiers, and those who
don't (or at least those who can't decide and so want it to be
configurable). From the responses on- and off-list, it seems there are
more people in the former camp (which is basically what I expected).
While this kind of debate could usually be resolved with a "make it
configurable" argument, I have a fairly major concern with this, which I
will try to outline briefly for the brave few who are still following
this thread.

Users (and administrators) crave consistency. If we make this assignment
configurable, there is no guarantee of consistency of application
between collections, or even in a single collection over extended
periods of time. The usual arguments about what we intend people to do
with the tools we provide versus what they actually do apply as ever.
This flexibility could leave repositories in a very messy state. It also
adds another degree of complexity to the new identifier system I'm
putting in place. The configurable parameters (if we are going to please
everyone) would be:

 * whether or not to assign external identifiers at all
 * which external identifier system to use by default
 * whether or not external identifiers are re-assignable
 * whether or not new "versions" of objects get new identifiers
 * which tiers in the content hierarchy get identifiers (if any)

I'm sure I've missed a few, but does that sound like something that is
reasonable to want / implement / support?

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immedia

Re: [Dspace-tech] search term

2007-06-28 Thread LeVan,Ralph
That is exactly what the index browse feature is for.  If you browse on the 
term "UTAD" in the description field you should see how to search on it.

 

Ralph

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of orlando carvalho
Sent: Thursday, June 28, 2007 1:47 PM
To: [EMAIL PROTECTED]; dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] search term

 

Hi there!
i have a problem using the search resource 
http://192.168.82.142:8080/SRW/search/DSpace !
I submitted items in dspace and in the description e wrote: "[UTAD - 
Universidade de trás-os-montes e Alto Douro]"! 
Now i want to reach those items by searching for that field (description) and i 
can´t do it!
I don´t know if i'am using in the right way the search utility but i think that 
it might be the search term:S!
How would it be the term to search for "[UTAD - Universidade de trás-os-montes 
e Alto Douro]" in the description field? 
help wold be very welcome:)!
Regards

-- 
Orlando Carvalho 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] RE : RE : Error: search/ segments not found

2007-06-06 Thread LeVan,Ralph
Or you can just copy the new DSpace and Lucene jars from the DSpace/WEB-INF/lib 
directory to the SRW/WEB-INF/lib directory and be done.  There are no code 
changes in SRW.

 

But, while we're on the topic, my CVS repository has been down for a couple of 
weeks now and was in the middle of being restructured.  I'll send a note 
(Soon!) to the list when I'm back up.

 

Ralph

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Diggory
Sent: Wednesday, June 06, 2007 11:17 AM
To: Tellier, Stephane
Cc: dspace-tech@lists.sourceforge.net; For those interested in or working on an 
XML based interface for DSpace.; Mika Stenberg
Subject: Re: [Dspace-tech] RE : RE : Error: search/segments not found

 

Yes, you need to recompile both the SRW and Manakin webapps so that they 
contain the update DSpace code and dependency jars. Manakin is fairly clearly 
explained in its source distro, SRW as well. I suspect SRW just hasn't been 
tested against 1.4.2 at this time. (I am in the process of testing it).  

 

You can get the full distro of SRW here:

 

http://www.oclc.org/research/software/srw/default.htm

 

download link:

http://purl.oclc.org/NET/OPENSRC/downloads/srw/SRW.zip

 

 

-Mark

 

On Jun 6, 2007, at 10:45 AM, Tellier, Stephane wrote:





> Manakin and SRW should be compiled off of DSpace 1.4.2

> directly and so should contain the new classes.

 

I'm not sure if I'm understanding correctly here, but does it means that if for 
example we have the actual source code of SRW and DSpace 1.4.2, we just have to 
recompile and all should work?

I actually don't have the source code of SRW so I'm not sure how SRW would used 
the segments in the /search dir, but I believed that some little changes was 
necessary in the Manakin and SRW projects...

 



De: Mark Diggory [mailto:[EMAIL PROTECTED]
Date: mer. 2007-06-06 09:45
À: Tellier, Stephane
Cc: Mika Stenberg; For those interested in or working on an XML based interface 
for DSpace.; dspace-tech@lists.sourceforge.net
Objet : Re: [Dspace-tech] RE : Error: search/segments not found

Manakin and SRW should be compiled off of DSpace 1.4.2 directly and so should 
contain the new classes. You may find you have to restart your tomcat container 
and possibly run "dsrun org.dspace.search.DSIndexer -c" to rebuild the whole 
index from scratch once.  

 

I see a write.lock file present in the search dir, if your not running 
index_all or modifying an item in the UI, this lock is stale and you should 
remove it.

 

-Mark 

 

On Jun 6, 2007, at 8:10 AM, Tellier, Stephane wrote:





DSpace 1.4.2 comes with a bug fix about the index locking. This fix was done so 
that it could be possible to make a reindexing and media-filtering while tomcat 
and DSpace web app are still running. It implies that the /search directory in 
DSpace doesn't contains a single file named segments anymore, but instead, many 
files. The SRW module for DSpace suffers from this change to. I would think 
that Manakin will have to consider that change too.

 



De: [EMAIL PROTECTED] de la part de Mika Stenberg
Date: mer. 2007-06-06 06:45
À: For those interested in or working on an XML based interface for DSpace.; 
'dspace-tech@lists.sourceforge.net'
Objet : [Dspace-tech] Error: search/segments not found

Just upgraded from Dspace 1.4.1 to 1.4.2 and from Manakin 1.0 to 1.1.
After running index-all and filter-media I get the following error when
trying to execute any search from Manakin or Dspace:

Internal Server Error
Message: null
Description: No details available.
Sender: org.dspace.app.xmlui.DSpaceCocoonServlet
Source: Cocoon Servlet

Request URI
search
cause
/usr/local/dspace/search/segments (No such file or directory)

request-uri
/dspace/search

Indeed there is no file called segments on dspace/search, only these:

segments.gen   _3anv.cfs  _3ar3.fdt  _3ar3.tis  _39ho.cfs
segments_4kz6  _3aog.cfs  _3ar3.fdx  _3a54.cfs  _39nj.cfs
write.lock _3apm.cfs  _3ar3.fnm  _32ne.cfs  _39te.cfs
_3aaz.cfs  _3ap1.cfs  _3ar3.frq  _34a1.cfs  _39z9.cfs
_3agu.cfs  _3aqs.cfs  _3ar3.nrm  _35wo.cfs  _395y.cfs
_3amp.cfs  _3aq7.cfs  _3ar3.prx  _37jb.cfs
_3ana.cfs  _3ar3.cfs  _3ar3.tii  _39bt.cfs


Any ideas whats wrong?

-Mika





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-

This SF.net email is sponsored by DB2 Express

Download DB2 

[Dspace-tech] DSpaceOnWindows page not visible from the Installation page

2007-05-14 Thread LeVan,Ralph
I went to the Wiki looking for the Windows installation instructions.  I
found the Installation page reasonably easily, but there was no sign of
the Windows installation page.  I knew such a page existed and a Google
search got me to it.  I tried editing the installation page to correct
the omission and was blocked from doing that.  I tried to edit the
issues page to report the problem and was blocked from editing that.  I
couldn't find any signs of a link to an administrator, so I'm sending my
message here.

 

Sorry.

 

Ralph

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Building and using OCLC Research SRW Server for DSpace

2007-04-03 Thread LeVan,Ralph
Stephane, I'll send you my latest jars (including source) via separate email.

I'm sorry about the current state of my repository.  I've had rebuilding it on 
my list for a while now.  I'll try to set aside some time to finish it soon.

The particular problem you ran into compiling comes from my support of several 
database systems under the SRW interface.  You don't have all the classes 
necessary to build a system that supports my Pears database.  I've split those 
files out into separate packages, but you're still picking them up.

1) As to the stack traces...

The first one doesn't seem to include an SRW reference in it, so I'm hoping 
that it isn't really my problem.  But, I will admit that the early version of 
my DSpace code was not returning contexts to the pool.  It's possible that the 
version you have still has that bug.  No one has ever reported that particular 
problem to me, but hopefully the new jars will solve it.  The second stack 
trace certainly looks like my context leaking bug.

The NullPointerException is happening while building an html file that lists 
all your available databases.  I believe that building that file has to be 
explicitly asked for in the new version of SRW, so that problem should go away. 
 I'd be interested in tracking it down if it continues to happen.

2) SRW doesn't know about "full text" searching in DSpace.  It is simply 
searching your default index.  I have this vague impression that that is a bug 
that I've fixed.  Let's see if the new jars fix the problem.

3) I know I've fixed that bug.  It may well have been a configuration problem 
in the CQL parser.  I'll send along my latest DSpace configuration file.

4) We may have to fiddle with that one a little bit.  I know we've gotten that 
stuff working for the Finns.  There were code changes necessary that you'll get 
with the new jar.  It is also critical that you configure the tomcat server 
correctly.

In /conf/server.xml, you see a line that configures your connection for 
port 8080 (or 80).  It is important that it sets URIEncoding="UTF-8".  The 
element should look like this:


I guess the upshot of all this is that I need to make sure that the repository 
and build scripts are brought up-to-date.

Ralph

> -Original Message-
> From: Tellier, Stephane [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 9:07 AM
> To: LeVan,Ralph
> Cc: DSpace-tech@lists.sourceforge.net
> Subject: Building and using OCLC Research SRW Server for DSpace
> 
> Hi again Ralph,
> 
> I've decided to send this email to the DSpace community since in a
> previous email of that group you mentionned that other people seems to use
> this tool in their DSpace solutions, so maybe some people here can bring
> ideas to my problems.
> 
> I figured out that it wasn't finally a good idea to execute the "ant
> checkout" command because it seems to bring out new class versions that
> used packages and classes which aren't present in the cvs repository. By
> not doing so I was able to build successfully the SRW.
> 
> Here is our environment :
> 
> Windows XP
> DSpace 1.4.1
> JDK 1.4.2
> Tomcat 5.5 (fixed for UTF-8 as requested by the DSpace installation)
> PostgreSQL 8.2
> SRW server installed on the same Tomcat
> All installed in the same machine (it's a DEV environment)
> 
> Now I've done some tests with the interface and I've come up with the
> following problems and concerns :
> 
> 1) I have frequently an error in the DSpace log :
> ERROR org.dspace.core.Context @ An I/O error occured while sending to the
> backend.
> Exception: java.net.SocketException: Socket closed
> Stack Trace:
> java.net.SocketException: Socket closed
>  at java.net.SocketOutputStream.socketWrite(Unknown Source)
>  at java.net.SocketOutputStream.write(Unknown Source)
>  at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
>  at java.io.BufferedOutputStream.flush(Unknown Source)
>  at org.postgresql.core.PGStream.flush(PGStream.java:508)
>  at
> org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:6
> 75)
>  at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:19
> 0)
>  at
> org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(Abs
> tractJdbc2Connection.java:653)
>  at
> org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connect
> ion.java:690)
>  at
> org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection
> .java:265)
>  at
> org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection
> .java:265)
>  at
> org.apache.commons.dbcp.PoolingDriver$PoolGuardConnectionWrapper.rollback(
>

Re: [Dspace-tech] SRW 2.0 server

2007-03-30 Thread LeVan,Ralph
Sorry, there's not enough information there to even make a guess.  You might 
take a look in the tomcat logs for an error message.

If you don't see anything obvious in the logs, then delete the logs, bounce the 
tomcat, try to search again and send me the logs.

It would also be helpful if you could make the server available for outside 
access.

Ralph

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:dspace-tech-
> [EMAIL PROTECTED] On Behalf Of Lucia de la Iglesia Chamarro
> Sent: Friday, March 30, 2007 4:35 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] SRW 2.0 server
> 
> I think there is something that is wrong or fault in my configuration of
> SRW 2.0 server.
> The test runs OK, but when I click on Search button of
> http:///SRW/search/DSpace I get something like this:
> 
> soapenv:Server.userException
> java.lang.reflect.InvocationTargetException
> 
> Any idea?
> Thanks
> 
> Lucía
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace and SRW: 404 not available

2007-03-28 Thread LeVan,Ralph
There should be diagnostic messages in the tomcat logs explaining what 
happened.  Try looking in /logs/catalina.out.  If you can't puzzle it 
out, feel free to send me the logs.

 

Ralph

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ullrich, Ralf
Sent: Wednesday, March 28, 2007 3:00 AM
To: dspace-tech@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: [Dspace-tech] DSpace and SRW: 404 not available

 

Dear list-members,

 

I set up Dspace 1.4.1 and everything works fine. Now I tried to use Ralph LeVan 
SRW-package, which installed smoothly, but only gives me access to the "test" 
database configured in SRWServer.props (http://localhost:8080/SRW/search/test). 
Trying to call the Dspace Database (http://localhost:8080/SRW/search/DSpace ) 
results in a 404 error (Tomcat 5.0.28, Postgresql 8.2 win32, jdk 1.6.0); my 
SRWServer.props for dspace are aas follows:

 

SRW.Home=C:/Programme/Apache Software Foundation/Tomcat 5.0/webapps/SRW/

default.database=DSpace

resultSetIdleTime=300

makeIndex.html=true

index.html=C:/Programme/Apache Software Foundation/Tomcat 
5.0/webapps/SRW/index.html

 

db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase

db.DSpace.home=c:/dev/dspace/

db.DSpace.configuration=config/DSpace.SRWDatabase.props

 

Dspace.SRWDatabase.props is "as is", I didn`t change anything.

 

What am I doing wrong? Did I overlook something?

 

Any help help is highly appreciated.

 

Yours

 

ralf

 

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von orlando carvalho
Gesendet: Dienstag, 27. März 2007 16:28
An: dspace-tech@lists.sourceforge.net; [EMAIL PROTECTED]
Betreff: [Dspace-tech] XSL and SRW

 

Hi!
I'm using SRW to acess the content of Dspace and it is working!
Probably this might be a silly question but when i apply the XSL below to the 
XML files, it gives the output i want but the ""
line is always in the output!!I think it's weird and I would like to remove 
it from the output!Does anibosy know how?Thanks
 
 
http://www.w3.org/1999/XSL/Transform"; 
xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:srw_dc="info:srw/schema/1/dc-v1.1"> 
 
 
 
 
 

 
AUTOR:  
TITULO:  
DESCRICAO: 
 
 

##
-- 
Orlando Carvalho 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XSL and SRW

2007-03-27 Thread LeVan,Ralph
You need an output declaration in your stylesheet.

 



 

Ralph

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of orlando
carvalho
Sent: Tuesday, March 27, 2007 10:28 AM
To: dspace-tech@lists.sourceforge.net;
[EMAIL PROTECTED]
Subject: [Dspace-tech] XSL and SRW

 

Hi!
I'm using SRW to acess the content of Dspace and it is working!
Probably this might be a silly question but when i apply the XSL below
to the XML files, it gives the output i want but the ""
line is always in the output!!I think it's weird and I would like to
remove it from the output!Does anibosy know how?Thanks
 
 
http://www.w3.org/1999/XSL/Transform"; 
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns:srw_dc="info:srw/schema/1/dc-v1.1"> 
 
 
 
 
 

 
AUTOR:  
TITULO:  
DESCRICAO: 
 
 

##
-- 
Orlando Carvalho 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] using SRW client on Dspace

2007-03-20 Thread LeVan,Ralph
If you look in the SRW package, you'll see a class named
EmbeddedSRWDatabase.  It is actually a pretty full command-line client
that should demonstrate how to do pretty much everything you want to do.

 

Let me know if you have any problems!

 

Ralph

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of orlando
carvalho
Sent: Tuesday, March 20, 2007 8:42 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] using SRW client on Dspace

 

Hi there!
We put an SRW client working properly!
##
import java.net.*;
import org.apache.axis.*;
import gov.loc.www.zing.srw.SearchRetrieveRequestType;
import gov.loc.www.zing.srw.SearchRetrieveResponseType;
import gov.loc.www.zing.srw.interfaces.SRWPort;
import gov.loc.www.zing.srw.srw_sample_service.SRWSampleServiceLocator;

/*
 * Created on 8/Mar/2007
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
//response.getEchoedSearchRetrieveRequest().getQuery()
/**
 * @author dspace
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class cliente_java { 

public static void main(String[] args) {
try{
SRWSampleServiceLocator service = new
SRWSampleServiceLocator();
URL url = new URL(" http://localhost:8080/SRW/search/DSpace
 ");
SRWPort port = service.getSRW(url);
SearchRetrieveRequestType request = new
SearchRetrieveRequestType();
request.setQuery ("computer");
SearchRetrieveResponseType response =
port.searchRetrieveOperation(request);
//Object i = response.getResultSetId();
System.out.println("Resultados:"+
response.getEchoedSearchRetrieveRequest().getQuery());

}
catch (Exception e){
e.printStackTrace();
}


}
}
## 
It returns:
   Results:1(this is the number of records finded)
   Results:name (this is the author or the title of the item)

Our question is, how can we change this code to the answer to our
request returns the full description of the items stored on Dspace? 
Thanks for the help.
-- 
Orlando Carvalho 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] web service client

2007-03-14 Thread LeVan,Ralph
Are you positive that the request object is of type
SearchRetrieveRequest?  If it is a ScanRequest, then there won't be a
setQuery() method.
 
Ralph



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of orlando
carvalho
Sent: Tuesday, March 13, 2007 8:34 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] web service client


Hi there!
I'm trying to develop a web service client for the SRW!
We've followed Ralph LeVan's example but we've encountered a problem in:
'request.setQuery("dog");'
The method 'setQuery'' is not recognized!!! 
Could someone explain why?
The link that we are using for the WSDL is:
http://www.loc.gov/standards/sru/xml-files/srw-sample-service.wsdl 

Thanks!
-- 
Orlando Carvalho 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW on DSpace

2007-03-12 Thread LeVan,Ralph
And, of course, I forgot to answer the questions.

> My doubts: Is it missing some "import" for the IDE can recognize the
> classes
> of SRW (ex.SRWSampleServerLocator) ?
> 
> Can i use JAX-RPC to build the client?

In the ORG.oclc.os.SRW package, you'll see an example of an SRW client
(called, cunningly, SRWClient.)  It uses SOAP over HTTP to talk to an
SRW server.  You will also see the SRUServerTester in that package.  It
demonstrates how to use SRU (URL based searching) for talking to an SRU
server.  (Most servers support both and are referred to as either SRW/U
servers or just SRU servers.)

Ralph

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW on DSpace

2007-03-12 Thread LeVan,Ralph
Luis, I do all my SRW development in netbeans and would be glad to package up 
the complete netbeans bundles for SRW and SRWDspaceLucene.

Ralph

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:dspace-tech-
> [EMAIL PROTECTED] On Behalf Of Luis Saraiva
> Sent: Friday, March 09, 2007 5:36 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] SRW on DSpace
> 
> Greetings
> I'm trying to build a web service client for DSpace, using the SRW web
> service. I'm guiding for this Web Client for DSpace
> http://staff.oclc.org/~levan/docs/SRWforDSpace.ppt, there is an example of
> a
> Web Client for DSpace.
> 
> I have a problem because my netbeans doesn't recognize the some classes
> like
> the SRWSampleServiceLocator, and others, and i supose that's because the
> missing "imports" needed to build this client. I'm using netbeans 5.5 on
> Linux Fedora Core. To build the client i use the tool "NEW PROJECT->JAVA
> APPLICATION->RIGHT CLICK ON THE PROJECT->CREATE WEB SERVICE CLIENT.
> On the creation of the web service client i can choose to post the wsdl
> file
> locally, or using a URL.
> I can choose JAX-WS or JAX-RPC. If i choose JAX-WS it gives an error
> building the web client. If i choose the JAX-RPC, it gives no erros.
> 
> My doubts: Is it missing some "import" for the IDE can recognize the
> classes
> of SRW (ex.SRWSampleServerLocator) ?
> 
> Can i use JAX-RPC to build the client?
> 
> Sorry for the big email, but i'm inexperient with web services and web
> clients.
> If you can help me, i will aprecciate.
> Many thanks.
> 
> Guilherme
> 
> _
> Seja um dos primeiros a testar o novo Windows Live Mail Beta- grátis.
> Acesse
> http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-
> 9b0e-4911fb2b2e6d
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] OCLC SRW installation problems

2007-03-08 Thread LeVan,Ralph
The URL to fetch the wsdl should be
http://localhost:8080/SRW/search?wsdl.  While I've not thought of that
as an existence test before, it would be a good one.  You can also try
the test database that is specified in the configuration:
http://localhost:8080/SRW/search/test.

 

Let me know if you still have problems.

 

Ralph

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of orlando
carvalho
Sent: Thursday, March 08, 2007 8:06 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] OCLC SRW installation problems

 

Hi there!
I'm trying to install SRW over my Dspace installation!
I've followed the instructions on
http://pubserv.oclc.org/srw/Installation.html but when the installation
is done i can't access the wsdl files on
http://localhost:8080/SRW/search !!!
First, i'dont know if the installation as gone well because there are
some steps that don't match (example: inexsistence os /dspace/conf ; the
non appearance of srw.jar on /build/srw.jar)!
Is this normal?
Or someone can explain better the installation process?
Thanx!

-- 
Orlando Carvalho 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Lucene issue

2007-01-26 Thread LeVan,Ralph
I doubt that it is "randomly" eating those last characters.

 

The stemmer is removing the endings of words to get back to a common
stem.  So, if your document has the word "dogs", it will generate the
term "dog".  Similarly, "dogged" and "dogging" will probably stem back
to dog as well.

 

Sometimes this results in some pretty funny looking words in the index,
but no one sees the Lucene index (unless you're using the SRW interface,
which does provide the ability to browse the Lucene indexes).

 

The trick is that any search terms you use will also be stemmed, so that
you end up searching against the same term as in the index.  This should
be happening automatically, since you have stemming turned on.

 

We have now reached the limits of my Lucene knowledge.

 

Ralph

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Afonso
Comba de Araujo Neto
Sent: Friday, January 26, 2007 7:33 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Lucene issue

 

Hi,

 

I'm studying Dspace and I just confirmed that the
org.apache.lucene.analysis.PorterStemFilter filter of Lucene (which is
present in the latest source of DSAnalyzer.java) is randomly eating the
last character of some of the indexed words. If I remove it, everything
indexes fine. 

 

What's the purpose of this filter? The Lucene documentation isn't much
explanatory.

 

Regards,

Afonso

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech