[Dspace-tech] The file update-discovery-index not found...
I've just upgraded from 1.6.2. to 1.7.2 and I wanted to enable discovery... I'm stuck to the execution of update-discovery-index file from the /bin directory for the indexation of the content of DSpace instance into Discovery. Can't find it anywhere...not in the bin directory and not even in the source of dspace... Could someone please tell me where to find it, or send it through email? Thank you for your time! -- 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] The file update-discovery-index not found...
Got it... this was not working because I didn't noticed the fact that the upgrade has putt in my directories a lot of duplicate files with .new extension. so during the upgrade a lot of old files remained active, including launcher.xml . (this was my first upgrade...so don't shoot me:)) Now I've searched the manual and this thing is mentioned only for the instructions to upgrade from 1.5.0 to 1.5.2 (page 69), and not in the instructions for ALL upgrades. I believe this should be corrected... There may be more dummies like me out there...Also I've got this error: D:\DSpace\bindspace update-discovery-index Using DSpace installation in: D:\DSpace Exception: java.net.ConnectException: Connection refused: connect org.dspace.discovery.SearchServiceException: java.net.ConnectException: Connecti on refused: connect at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java: 380) at org.dspace.discovery.IndexClient.main(IndexClient.java:120) 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.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectExc eption: Connection refused: connect at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo nsHttpSolrServer.java:483) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo nsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques t.java:89) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118) at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:105 ) at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java: 353) ... 6 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.init(Unknown Source) at java.net.Socket.init(Unknown Source) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c reateSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c reateSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http ConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt pMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe thodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav a:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav a:323) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo nsHttpSolrServer.java:427) ... 11 more D:\DSpace\binorg.dspace.discovery.SearchServiceException: java.net.ConnectExcep tion: Connecti 'org.dspace.discovery.SearchServiceException:' is not recognized as an internal or external command, operable program or batch file. I found another mentions of this error at:http://pastebin.com/mvJe1RJ1 The reason for this was that I've stopped the tomcat during the execution of update-discovery-index command ... so it must be ON...good to know Thank you for your help! -- 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] The file update-discovery-index not found...
I rectify this error stopped when I replaced solr.search.server = http://localhost/solr/search; from config/dspace-solr-search.cfg with solr.search.server = ${dspace.baseUrl}/solr/search...So this has nothing to do with the fact that the tomcat is on or off... --- On Thu, 6/9/11, Sergiu Ioan Irimia sergiu.iri...@yahoo.com wrote: From: Sergiu Ioan Irimia sergiu.iri...@yahoo.com Subject: Re: [Dspace-tech] The file update-discovery-index not found... To: Graham Triggs grahamtri...@gmail.com Cc: dspace dspace-tech@lists.sourceforge.net Date: Thursday, June 9, 2011, 3:38 PM Got it... this was not working because I didn't noticed the fact that the upgrade has putt in my directories a lot of duplicate files with .new extension. so during the upgrade a lot of old files remained active, including launcher.xml . (this was my first upgrade...so don't shoot me:)) Now I've searched the manual and this thing is mentioned only for the instructions to upgrade from 1.5.0 to 1.5.2 (page 69), and not in the instructions for ALL upgrades. I believe this should be corrected... There may be more dummies like me out there...Also I've got this error: D:\DSpace\bindspace update-discovery-index Using DSpace installation in: D:\DSpace Exception: java.net.ConnectException: Connection refused: connect org.dspace.discovery.SearchServiceException: java.net.ConnectException: Connecti on refused: connect at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java: 380) at org.dspace.discovery.IndexClient.main(IndexClient.java:120) 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.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectExc eption: Connection refused: connect at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo nsHttpSolrServer.java:483) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo nsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques t.java:89) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118) at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:105 ) at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java: 353) ... 6 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.init(Unknown Source) at java.net.Socket.init(Unknown Source) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c reateSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c reateSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http ConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt pMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe thodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav a:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav a:323) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo nsHttpSolrServer.java:427) ... 11 more D:\DSpace\binorg.dspace.discovery.SearchServiceException: java.net.ConnectExcep tion: Connecti 'org.dspace.discovery.SearchServiceException:' is not recognized as an internal or external command, operable program or batch file. I found another mentions of this error at:http://pastebin.com/mvJe1RJ1 The reason for this was that I've stopped the tomcat during the execution of update-discovery-index command ... so it must be ON...good to know Thank you for your help! -Inline Attachment Follows- -- 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
[Dspace-tech] little questions
DSpace 1.6 Two questions... I've searched in configuration file and in the manual, but I didn't found anything...1. Can I add new fields on registration process? I would like to know more about the person that registers, for example, his major and the institution where he works...2. Can I limit the possibility of downloading the bitstreams only to registered users? Anonymous users would have the possibility to view the item, but only the registered users would be able to download the bitstream (the uploaded .pdf file - for example) Thank you! -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] FW: xmlui interface giving a blank page
I've had the same problem... well still do... But someone told me that the google crawlers are causing the problem... He was right. After blocking all the crawlers the problems stopped... but so as the indexing my site by google. So i've had to create a less restrictive robots.txt. Here is the configuration: # Uncomment the following line ONLY if sitemaps.org or HTML sitemaps are used # and you have verified that your site is being indexed correctly. User-agent: Googlebot Disallow: /browse Disallow: /bitstream Disallow: /browse Disallow: /browse-date #Disallow: /community-list #Disallow: /handle Disallow: /html Disallow: /htmlmap Disallow: /browse-* Disallow: /items-by-author* Disallow: /advanced-search Disallow: /contact Disallow: /feedback Disallow: /forgot Disallow: /login Disallow: /register Disallow: /search User-agent: * Disallow: / So I'm blocking all the crawlers except google (with some exceptions). Well... this does not do the trick. My site is still crashing. So an alternative answer would be needed, a core tweaking one! Any help is highly appreciated I'm having a similar issue, It happens sporadically. The interface of Dspce XMLUI shows a blank screen and I need to reboot Tomcat. JSPUI The interface is not affected by the issue. I'm using version 1.6.0 of DSpace. I use a theme based on the theme Reference which comes in DSpace. The version of tomcat is apache-tomcat-6.0.18 and the JDK is jdk1.6.0_13 on Debian GNU Linux 5.0. I heve opend the issue DS-605 on http://jira.dspace.org/. Would anyone have any ideas? Regards Antero Neto - [Dspace-tech] FW: xmlui interface giving a blank page TAYLOR Robin Tue, 30 Mar 2010 01:39:40 -0700 Mon, 29 Mar 2010 01:50:44 -0700 Hi, I am experimenting with dspace 1.6.0 with the intention of upgrading my dspace 1.5.2 to this latest release. I have successfully installed dspace 1.6.0 on Fedora 8. I can access the jspui interface.However, when I try to access the xmlui, I got a blank page. No errors. Here is the contents of my xmlui.xconf ( I have omiited the comments) xmlui aspects aspect name=Artifact Browser path=resource://aspects/ArtifactBrowser/ / aspect name=Administration path=resource://aspects/Administrative/ / aspect name=E-Person path=resource://aspects/EPerson/ / aspect name=Submission and Workflow path=resource://aspects/Submission/ / aspect name=Statistics path=resource://aspects/Statistics/ / !-- This aspect tests the various possible DRI features, it helps a theme developer create themes -- !-- aspect name=XML Tests path=resource://aspects/XMLTest// -- /aspects themes !-- Example configuration -- !-- theme name=Test Theme 1 handle=123456789/1 path=theme1//-- !-- theme name=Test Theme 2 regex=community-list path=theme2// -- !-- Default theme -- !-- theme name=Default Reference Theme regex=.* path=Reference/ / -- !-- Classic theme, inspired by the JSP UI -- theme name=Classic regex=.* path=Classic/ / !-- Table based browse display -- !-- theme name=Table Theme regex=.* path=TableTheme/ / -- /themes /xmlui I am relatively new to xmlui interface as I have been using the jspui interface. I will appreciate any pointer to the problem Kind Regards, Admire Mutsikiwa (Mr) ICT Projects Manager Library IT University of Zimbabwe Tell:+263-4-303276 Cell:+263-92239187 Alt/email:amutsik...@gmail.com -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Error when generating sitemap
Support: windows 2003 server, dspace 1.6 (fresh, not upgraded), postgres sql 8.4, java: jre1.5.0_14, tomcat 5.5.28. Problem: error when i want to generate a sitemap: D:\DSpace\bindsrun D:/DSpace/bin/generate-sitemaps Using DSpace installation in: D:\DSpace Exception in thread main java.lang.NoClassDefFoundError: D:/DSpace/bin/generate-sitemaps Any ideas?... please -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] dspace goes blank
Support: windows 2003 server, dspace 1.6 (fresh, not upgraded), postgres sql 8.4, java: jre1.5.0_14, tomcat 5.5.28. The site is fully working for a few months, i have like 34 papers submitted, but... Problem: some times, almost every day, at a point, the browser doesn't render nothing, just a blank page. the site is working again after the tomcat is restarted. in some cases, the site goes blank on the submission process, but not always. I've searched the net and i found out that tomcat has this kind of problem, but i didn't find nothing relevant to help solve my problem. Here are some warnings generated by tomcat: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. [WARN] deprecation - The 'component-configurations' section in the sitemap is deprecated. Please check for alternatives. [WARN] deprecation - The 'component-configurations' section in the sitemap is deprecated. Please check for alternatives. Any help is highly appreciated!!! -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] email notification
Hello. I'm using Dspace 1.5.2. Manakin/xmlui on windows server 2003.My problem is that we do not want to use handle server. So far I've managed to change all the links that bothered me including http://handle.net/ manually, but I'm stuck at a link generated by the system in the email send to confirm the acceptance of a submission. Here is the message:You submitted: fasdf To collection: 1.2. . Your submission has been accepted and archived in , and it has been assigned the following identifier: http://hdl.handle.net/123456789/116 Please use this identifier or the URL address when citing your submission. Many thanks! I would like to change the identifier received in this mail from http://hdl.handle.net/123456789/116 to http://[my site]/123456789/116, preferably without recompiling dspace. I've tried to resolve the problem but no luck. Any help is highly appreciated. -- 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