[Dspace-tech] SWORD servlet client installed on Amazon Cloud -- not connecting -- please help!

2009-09-08 Thread Debashree Pati
Hi SWORD experts,

 

I have SWORD installed on my local machine. I built the sword.war file,
installed it under tomcat/webapps and am 

able to view the servicedocument at localhost in the browser. 

 

I then copied over the same sword.war file to my dspace instance on Amazon
Cloud. When I try to connect to it,  

it fails with the error:

 

Server returned: org.purl.sword.client.SWORDClientExcpetion: Connection
refused

 

The catalina.out log has the error: 

 

at java.lang.Thread.run(Thread.java:675)

Caused by: org.purl.sword.base.UnmarshallException: Error acessing the file?

at
org.purl.sword.base.ServiceDocument.unmarshall(ServiceDocument.java:182)

at org.purl.sword.client.Client.getServiceDocument(Client.java:285)

... 16 more

Caused by: java.io.IOException: Server returned HTTP response code: 503 for
URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:1322)

at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(
XMLEntityManager.java:654)

at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEnti
tyManager.java:1292)

at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLE
ntityManager.java:1259)

..

..

 

org.purl.sword.client.SWORDClientException: Connection refused

at org.purl.sword.client.Client.getServiceDocument(Client.java:294)

at
org.purl.sword.client.ServletClient.doServiceDocument(ServletClient.java:413
)

at
org.purl.sword.client.ServletClient.doPost(ServletClient.java:306)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)

..

..

 

Did not post the complete error file.will provide if it is needed. Have
highlighted the line that I believe is at the root of the connection
problem.

 

Please help!

 

-Debashree

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


[Dspace-tech] [SPAM] Vacation reply

2009-09-08 Thread matthewjbills
Hi Friend,
How are you doing recently? I would like to introduce you a very good company which I know. Their website is www.myewell.com. They can offer you all kinds of
Electronic products like laptops, gps,TV LCD,cell phones,ps3,MP3/4, etcPlease take some time to have a check, There must have something you'd like to buy.Their contact email: myew...@vip.188.com 
Hope you have a good mood in shopping from their company!
Best Regards
Matthew!
--
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] SWORD servlet client installed on Amazon Cloud -- not connecting -- please help!

2009-09-08 Thread Keith Gilbertson
Debashree,

Nice to see a message from you.

I suspect that the person who created your AMI image placed an incorrect
entry into the Linux iptables.  Entries were placed into the iptables to
implement port forwarding on incoming connections from standard port 80 to
Tomcat port 8080.

 The most likely problem is that an entry was accidentally placed into the
iptables that also implements this forwarding on outgoing connections.  This
is causing problems when the SWORD application tries to access the DTD at
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd.

Have your systems person check the Linux iptables entries and look to see if
anything is out of place.  Please let me know of the resolution for this
issue.

Keith Gilbertson
Consultant for Library and Educational Computer Systems


On Tue, Sep 8, 2009 at 11:07 AM, Debashree Pati dp...@oln.org wrote:

  Hi SWORD experts,



 I have SWORD installed on my local machine. I built the sword.war file,
 installed it under tomcat/webapps and am

 able to view the servicedocument at localhost in the browser.



 I then copied over the same sword.war file to my dspace instance on Amazon
 Cloud. When I try to connect to it,

 it fails with the error:



 Server returned: org.purl.sword.client.SWORDClientExcpetion: Connection
 refused



 The catalina.out log has the error:



 at java.lang.Thread.run(Thread.java:675)

 Caused by: org.purl.sword.base.UnmarshallException: Error acessing the
 file?

 at
 org.purl.sword.base.ServiceDocument.unmarshall(ServiceDocument.java:182)

 at org.purl.sword.client.Client.getServiceDocument(Client.java:285)

 ... 16 more

 Caused by: java.io.IOException: Server returned HTTP response code: 503 for
 URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

 at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)

 at
 com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:654)

 at
 com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1292)

 at
 com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1259)

 ……

 ……



 org.purl.sword.client.SWORDClientException: Connection refused

 at org.purl.sword.client.Client.getServiceDocument(Client.java:294)

 at
 org.purl.sword.client.ServletClient.doServiceDocument(ServletClient.java:413)

 at
 org.purl.sword.client.ServletClient.doPost(ServletClient.java:306)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

 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:191)

 ….

 ….



 Did not post the complete error file…will provide if it is needed. Have
 highlighted the line that I believe is at the root of the connection
 problem.



 Please help!



 -Debashree


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


--
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] help! migration causes slow loading of files

2009-09-08 Thread susan teague rector
Hi all,

Well, my problem is bigger than expected as the files aren't loading 
quickly on either production or test.
Although we're still checking out university networking issues, I'm 
still curious to see if anyone has had trouble opening larger files 
through the Dspace app.
For example, here's a couple of larger files (although they're still on 
~24 mb) on our production instance: 
https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
These files never open, but rather just spin. I get no indication in any 
of the logs that there is an issue.
We're using tomcat/apache jk connector, running dspace 1.4.1 on linux

thank you!!


Claudia Jürgen wrote:
 Hi Susan,

 does the newly copied assetstore and its contents got the proper 
 rights i.e. does it belong to the dpace user?
 And does your dspace.cfg point to this assetstore?

 Claudia


 susan teague-rector schrieb:
 Hi all,
 I noticed someone else asked a similar question to mine 
 (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html)
  
 recently.

 We're still stuck - we've tried to copy the assetstore over 2 times 
 today to our new server to no avail. I've also tried to reindex, but 
 that doesn't seem to affect my ability to view the files.

 Thanks in advance,

 Susan

 susan teague-rector wrote:
 Hi All,
 I migrated my database, assetstore  application to a new server 
 this morning (after doing a test migration last week)
 All seems great until I click on a pdf (or other file) in a record. 
 The server just sits and spins and the file never opens.
 I've migrated to a new linux server with twice the amount of memory, 
 so it seems like memory shouldn't be the problem.
 I'm not seeing anything at all in the error logs.
 I'm still running Dspace 1.4.1

 Does anyone have any ideas what may have happened?

 Thanks so much,

 Susan


 --
  

 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
   


 --
  

 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


--
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] SWORD servlet client installed on Amazon Cloud -- not connecting -- please help!

2009-09-08 Thread Debashree Pati
Hey Keith,

 

It's wonderful to get your expert advice. 

 

Actually, the person  who created my AMI did not implement port forwarding
in my image. 

He checked the iptables and confirmed it.

 

There was an error on my part in the dspace config for SWORD module that was
carried over from my

early experimentation with bulk-submission using SWORD. 

 

Thank you very much for the quick reply!

 

-Debashree

 

 

From: Keith Gilbertson [mailto:keith.gilbert...@gmail.com] 
Sent: Tuesday, September 08, 2009 11:30 AM
To: Debashree Pati
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] SWORD servlet client installed on Amazon Cloud --
not connecting -- please help!

 

Debashree,

Nice to see a message from you.

I suspect that the person who created your AMI image placed an incorrect
entry into the Linux iptables.  Entries were placed into the iptables to
implement port forwarding on incoming connections from standard port 80 to
Tomcat port 8080. 

 The most likely problem is that an entry was accidentally placed into the
iptables that also implements this forwarding on outgoing connections.  This
is causing problems when the SWORD application tries to access the DTD at
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd.

Have your systems person check the Linux iptables entries and look to see if
anything is out of place.  Please let me know of the resolution for this
issue.

Keith Gilbertson
Consultant for Library and Educational Computer Systems



On Tue, Sep 8, 2009 at 11:07 AM, Debashree Pati dp...@oln.org wrote:

Hi SWORD experts,

 

I have SWORD installed on my local machine. I built the sword.war file,
installed it under tomcat/webapps and am 

able to view the servicedocument at localhost in the browser. 

 

I then copied over the same sword.war file to my dspace instance on Amazon
Cloud. When I try to connect to it,  

it fails with the error:

 

Server returned: org.purl.sword.client.SWORDClientExcpetion: Connection
refused

 

The catalina.out log has the error: 

 

at java.lang.Thread.run(Thread.java:675)

Caused by: org.purl.sword.base.UnmarshallException: Error acessing the file?

at
org.purl.sword.base.ServiceDocument.unmarshall(ServiceDocument.java:182)

at org.purl.sword.client.Client.getServiceDocument(Client.java:285)

... 16 more

Caused by: java.io.IOException: Server returned HTTP response code: 503 for
URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:1322)

at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(
XMLEntityManager.java:654)

at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEnti
tyManager.java:1292)

at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLE
ntityManager.java:1259)

..

..

 

org.purl.sword.client.SWORDClientException: Connection refused

at org.purl.sword.client.Client.getServiceDocument(Client.java:294)

at
org.purl.sword.client.ServletClient.doServiceDocument(ServletClient.java:413
)

at
org.purl.sword.client.ServletClient.doPost(ServletClient.java:306)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)

..

..

 

Did not post the complete error file.will provide if it is needed. Have
highlighted the line that I believe is at the root of the connection
problem.

 

Please help!

 

-Debashree



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

 

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

Re: [Dspace-tech] small correction for dspace_migrate

2009-09-08 Thread John Davison
Collection-based export is working as expected when using the -m 
(migrate) flag in DSpace 1.5.2 with one exception.

/bin/export ItemExport --type=COLLECTION --id=collID --dest=dest_dir 
--number=seq_num -m

This will correctly remove the handle file, as well as the following 
metadata fields from dublin_core.xml:
  dcvalue element=date qualifier=accessioned/dcvalue
  dcvalue element=date qualifier=available/dcvalue
  dcvalue element=date qualifier=issued/dcvalue*
  dcvalue element=description qualifier=provenance/dcvalue
  dcvalue element=format qualifier=extent/dcvalue
  dcvalue element=format qualifier=mimetype/dcvalue
(*Date.issued is retained if the item has been published before.)

It also removes dc.identifier.uri in all cases. The dspace_migrate 
script uses a regular expression to only remove identifier.uri fields 
that start with http://hdl (retaining non-handle based identifier.uri 
elements), while ItemExport.java is eliminating all identifier.uri fields.

Line 474:
if ((!migrate) ||
(migrate  !(
 (dcv.element.equals(date)  
qualifier.equals(issued)) ||
 (dcv.element.equals(date)  
qualifier.equals(accessioned)) ||
 (dcv.element.equals(date)  
qualifier.equals(available)) ||
 (dcv.element.equals(identifier)  
qualifier.equals(uri)) ||
 (dcv.element.equals(description)  
qualifier.equals(provenance)) ||
 (dcv.element.equals(format)  
qualifier.equals(extent)) ||
 (dcv.element.equals(format)  
qualifier.equals(mimetype)
{
out.write(utf8, 0, utf8.length);


-John



Stuart Lewis wrote:
 Hi John,

   
 I was transferring a few collections from a DSpace 1.5.2 development
 server to a production instance this morning and encountered a small
 issue with the dspace_migrate bash script.
 Since the item exporter in 1.6 has a migrate option (-m flag) this
 script might get removed, so I'm posting this simple fix just in case
 anyone else encounters the same problem.
 

 Thanks for reporting this problem. The -m 'migrate' flag was  
 introduced in 1.5.2, so you could try running that instead. It would  
 be good to know if it works for you to give us more confidence in  
 removing the dspace_migrate script. We also have an open issue to make  
 the -m 'migrate' flag more configurable 
 (http://jira.dspace.org/jira/browse/DS-287 
 )

 I've noted the bug in the JIRA issue to remove the dspace_migrate  
 script, so if we decide not to remove it, then we can make sure it  
 gets fixed before we release 1.6.

 Thanks,


 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: 64 9 373-7599 x81928
 http://www.library.auckland.ac.nz/


   


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


[Dspace-tech] SWORD and DSpace HowTo Available?

2009-09-08 Thread pennington
I'm testing various import options for DSpace 1.5.2, and I'm struggling with 
SWORD, which seems like a great idea. I'm having trouble accessing my SWORD 
servicedocument, and I'm sure that I just didn't set something up correctly. 
(See the dspace.log file error below - it results in an HTTP Status 500 error 
when you go to http://dlynx.rhodes.edu/sword/servicedocument and authenticate).

Is anyone aware of a basic DSpace and SWORD HowTo document that would take me, 
more or less, step-by-step through the setup process, if I wanted to use the 
SWORD demonstration client to submit items to a DSpace collection?

Thanks in advance for the help...

2009-09-08 15:40:35,885 ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sword].[servicedocument]
 @ Servlet.service() for servlet servicedocument threw exception
java.lang.NullPointerException
at org.purl.sword.base.Collection.marshall(Collection.java:459)
at org.purl.sword.base.Workspace.marshall(Workspace.java:197)
at org.purl.sword.base.Service.marshall(Service.java:381)
at 
org.purl.sword.base.ServiceDocument.marshall(ServiceDocument.java:132)
at 
org.purl.sword.server.ServiceDocumentServlet.doGet(ServiceDocumentServlet.java:168)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)

--
Stacy Pennington
Rhodes College
penning...@rhodes.edu
(901) 843-3968



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


[Dspace-tech] Customize Dspace 1.5 using JSP

2009-09-08 Thread Khan, Baseer
Hello ,
I have successfully updated my Dspace instance from 1.4.2 to 1.5.
I want to configure this using JSPUI.
Can someone help me out in how to make the customization changes so that my 1.5 
version looks similar to my 1.4.2.
Can you point me out the location of the all JSP files that I need to update to 
make necessary changes , I am a bit confused with the documentation .
Can I copy and paste my JSP page from 1.4.2 and paste it in 1.5 to make it work 
?
If yes where should I paste them in 1.5.
For your reference I have downloaded Dspace 1.5 src file .
Thank you,
Baseer.
--
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


[Dspace-tech] Can Stemming be turned off in DSpace Lucene searches?

2009-09-08 Thread Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
We are trying to figure out an easy way to turn off stemming in DSpace 
searches.  Can anyone point me in the right direction?
Thanks in advance,
Sue


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application  Database Administrator
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov

--
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] Can Stemming be turned off in DSpace Lucenesearches?

2009-09-08 Thread Kim Shepherd
Hi Sue,

 

Search analysis, filtering, stemming etc. is done by Apache Lucene, but there 
is a “DSAnalyzer” supplied by default with Dspace, The quickest way to achieve 
what you want may be to just comment out the steps you don’t want carried out 
in org.dspace.search.DSAnalyzer:

 

This function is the one you want to modify:

 

   /*

 * Create a token stream for this analyzer.

 */

public final TokenStream tokenStream(String fieldName, final Reader reader)

{

TokenStream result = new DSTokenizer(reader);

 

result = new StandardFilter(result);

result = new LowerCaseFilter(result);

result = new StopFilter(result, stopSet);

result = new PorterStemFilter(result);  // THIS IS THE CALL TO THE 
STEMMER

 

return result;

}

 

The PorterStemFilter() call at the end is the stemmer you’re talking about, and 
the StopFilter ignores common conjunctions, pronouns etc. – I would recommend 
at least keeping the StandardFilter and LowerCaseFilter.

 

I haven’t tried exactly what you’re asking about, so I can’t guarantee results, 
but I have successfully added new filter steps without any hassles.

 

Cheers,

 

Kim

 

--

Kim Shepherd

IRR Technical Specialist

ITS Systems  Development

The University of Waikato

New Zealand

 

DDI +64 7 838 4025

 

 

 

From: Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] 
[mailto:susan.m.thorn...@nasa.gov] 
Sent: Wednesday, 9 September 2009 11:10 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Can Stemming be turned off in DSpace Lucenesearches?

 

We are trying to figure out an easy way to turn off stemming in DSpace 
searches.  Can anyone point me in the right direction?

Thanks in advance,

Sue

 

 

Sue Walker-Thornton

ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application  Database Administrator

130 Research Drive

Hampton, VA  23666

Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547 
Email:  susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov 

 

--
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] help! migration causes slow loading of files

2009-09-08 Thread Van Ly

On 09/09/2009, at 2:19 AM, susan teague rector wrote:

 For example, here's a couple of larger files (although they're  
 still on
 ~24 mb) on our production instance:
 https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
 These files never open, but rather just spin.


Hi Susan,

I am able to slowly fetch all that file and it renders partially as  
it downloads. You may want to check the local network interface is OK  
or too busy or if there is network traffic throttling deliberately  
slowing transfers somewhere in-between.

Best wishes,

Van Ly
vly at usyd dot edu dot au





--
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] help! migration causes slow loading of files

2009-09-08 Thread Federico Lazcano
El Tuesday 08 September 2009 21:29:28 Van Ly escribió:
 On 09/09/2009, at 2:19 AM, susan teague rector wrote:
  For example, here's a couple of larger files (although they're
  still on
  ~24 mb) on our production instance:
  https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
  These files never open, but rather just spin.

 Hi Susan,

 I am able to slowly fetch all that file and it renders partially as
 it downloads. You may want to check the local network interface is OK
 or too busy or if there is network traffic throttling deliberately
 slowing transfers somewhere in-between.

 Best wishes,

 Van Ly
 vly at usyd dot edu dot au



Check for errors in the ethernet interface, for example

la...@dev:~$ ifconfig
eth0  Link encap:Ethernet  HWaddr 00:e0:4c:84:8e:27
  inet addr:200.XX.XXX.XX  Bcast:200.XX.XXX.XX  Mask:255.255.255.224
  inet6 addr: fe80::2e0:4cff:fe84:8e27/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2670273 errors:62604 dropped:0 overruns:0 frame:0
  TX packets:1238207 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:424462774 (404.7 MB)  TX bytes:285456371 (272.2 MB)
  Interrupt:11 Base address:0xec00

is really really slow. 

We're planning to check the network interface card.









-- 

Federico Lazcano

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


[Dspace-tech] Build failed

2009-09-08 Thread sowmyamoturi

I was trying to rebuild the dspace to finish the process of installing
commenting add on for dspace but iam getting an error Source resource does
not exist

 bash-2.05$ ant
Buildfile: build.xml

BUILD FAILED
/home/csta1/aravind/dspace-1.5.1-src-release/dspace/src/main/config/build.xml:88:
Source resource does not exist:
/home/csta1/aravind/dspace-1.5.1-src-release/dspace/src/main/config/config/dspace.cfg

Total time: 2 seconds

Can you please let me know what is wrong?

Thanks in advance.

Regards,
Moturi.
-- 
View this message in context: 
http://www.nabble.com/Build-failed-tp25358873p25358873.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


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