Re: [Dspace-tech] mod_proxy_ajp and Tomcat and 5xx errors

2012-11-05 Thread Vlastimil Krejcir
   Hi,

   it's again and again - try to search dspace-tech archives, it has been 
already discussed. And don't be sad, this is probably not your fault and 
you're not alone who observer this behaviour. The solution is to have a 
guard testing periodically if Tomcat is running. In case Tomcat doesn't 
respond you need to restart it.

   Have a nice day

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Sun, 4 Nov 2012, Francis Kayiwa wrote:

 Hey all

 I am wondering if anyone can help shed light on this. We have

 Red Hat Enterprise Linux Server release 6.3
 Apache 2.2.15 (Red Hat package)
 Tomcat (Apache Tomcat Version 6.0.36)
 Apache forwards request via AJP

 We seem to encounter frequent crashes that remain unpredictable to me
 at the moment. As best as I can determine Tomcat is not processing
 these `fast enough` based on the errors in the Apache logs

 We keep seeing these errors

 [Sun Nov 04 03:16:09 2012] [error] proxy: AJP: failed to make
 connection to backend: localhost
 [Sun Nov 04 03:16:16 2012] [error] (111)Connection refused: proxy:
 AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
 [Sun Nov 04 03:16:16 2012] [error] ap_proxy_connect_backend disabling
 worker for (localhost)
 [Sun Nov 04 03:16:16 2012] [error] proxy: AJP: failed to make
 connection to backend: localhost

 Below are what I think are the pertinent parts of the config files
 which I will gladly share on request.

 IfModule prefork.c
 StartServers   8
 MinSpareServers5
 MaxSpareServers   20
 ServerLimit  256
 MaxClients   256
 MaxRequestsPerChild  4000
 /IfModule

 VirtualHost *:80
ServerName tld.domain.name
DocumentRoot /path/to/home
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log combined

ProxyRequests Off

ProxyPass  /Shibboleth.sso !
ProxyPass / ajp://localhost:8009/ max=256 retry=60
ProxyPassReverse / ajp://localhost:8009/
 /VirtualHost

 Connector port=8009 protocol=AJP/1.3 redirectPort=8443
 UIEncoding=UTF-8 tomcatAuthentication=false enableLookups=false
 connectionTimeout=12 packetSize=22528 maxThreads=256 /

 Is there anything there that looks unreasonable? Any recommendations?
 My (mis?)reading of the dspace documentation is that mod_proxy_ajp has
 the most reliable results. It certainly is that way on all our dev
 machines.

 regards,
 ./fxk

 --
 Beer busts, beer blasts, keggers, stein hoists, A.A. meetings, beer
 nights... --Homer Simpson

 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mod_proxy_ajp and Tomcat and 5xx errors

2012-11-05 Thread Hilton Gibson
Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations#Monit_monitor_service



On 5 November 2012 11:36, Vlastimil Krejcir krej...@ics.muni.cz wrote:

Hi,

it's again and again - try to search dspace-tech archives, it has been
 already discussed. And don't be sad, this is probably not your fault and
 you're not alone who observer this behaviour. The solution is to have a
 guard testing periodically if Tomcat is running. In case Tomcat doesn't
 respond you need to restart it.

Have a nice day

Vlastik


 
 Vlastimil Krejčíř
 Library and Information Centre, Institute of Computer Science
 Masaryk University, Brno, Czech Republic
 Email: krejcir (at) ics (dot) muni (dot) cz
 Phone: +420 549 49 3872
 ICQ: 163963217
 Jabber: kre...@jabber.org

 

 On Sun, 4 Nov 2012, Francis Kayiwa wrote:

  Hey all
 
  I am wondering if anyone can help shed light on this. We have
 
  Red Hat Enterprise Linux Server release 6.3
  Apache 2.2.15 (Red Hat package)
  Tomcat (Apache Tomcat Version 6.0.36)
  Apache forwards request via AJP
 
  We seem to encounter frequent crashes that remain unpredictable to me
  at the moment. As best as I can determine Tomcat is not processing
  these `fast enough` based on the errors in the Apache logs
 
  We keep seeing these errors
 
  [Sun Nov 04 03:16:09 2012] [error] proxy: AJP: failed to make
  connection to backend: localhost
  [Sun Nov 04 03:16:16 2012] [error] (111)Connection refused: proxy:
  AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
  [Sun Nov 04 03:16:16 2012] [error] ap_proxy_connect_backend disabling
  worker for (localhost)
  [Sun Nov 04 03:16:16 2012] [error] proxy: AJP: failed to make
  connection to backend: localhost
 
  Below are what I think are the pertinent parts of the config files
  which I will gladly share on request.
 
  IfModule prefork.c
  StartServers   8
  MinSpareServers5
  MaxSpareServers   20
  ServerLimit  256
  MaxClients   256
  MaxRequestsPerChild  4000
  /IfModule
 
  VirtualHost *:80
 ServerName tld.domain.name
 DocumentRoot /path/to/home
 ErrorLog /var/log/httpd/error.log
 CustomLog /var/log/httpd/access.log combined
 
 ProxyRequests Off
 
 ProxyPass  /Shibboleth.sso !
 ProxyPass / ajp://localhost:8009/ max=256 retry=60
 ProxyPassReverse / ajp://localhost:8009/
  /VirtualHost
 
  Connector port=8009 protocol=AJP/1.3 redirectPort=8443
  UIEncoding=UTF-8 tomcatAuthentication=false enableLookups=false
  connectionTimeout=12 packetSize=22528 maxThreads=256 /
 
  Is there anything there that looks unreasonable? Any recommendations?
  My (mis?)reading of the dspace documentation is that mod_proxy_ajp has
  the most reliable results. It certainly is that way on all our dev
  machines.
 
  regards,
  ./fxk
 
  --
  Beer busts, beer blasts, keggers, stein hoists, A.A. meetings, beer
  nights... --Homer Simpson
 
 
 --
  LogMeIn Central: Instant, anywhere, Remote PC access and management.
  Stay in control, update software, and manage PCs from one command center
  Diagnose problems and improve visibility into emerging IT issues
  Automate, monitor and manage. Do more in less time with Central
  http://p.sf.net/sfu/logmein12331_d2d
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

Re: [Dspace-tech] Apostrophes in searches

2012-11-05 Thread Robin Taylor
Just replying to my own email to record the answer.

DSpace 1.8 included an upgrade to Lucene 3.3.0. With 3.3 Lucene seems to 
have changed the default Analyzer to no longer be an english language 
analyser. From the javadocs...

* ClassicAnalyzer was named StandardAnalyzer in Lucene versions prior 
to 3.1.
  * As of 3.1, {@link StandardAnalyzer} implements Unicode text 
segmentation,
  * as specified by UAX#29.

I think the old behaviour can be reinstated by changing dspace.cfg to 
have...

search.analyzer = org.apache.lucene.analysis.standard.ClassicAnalyzer

Cheers.


On 01/11/12 16:11, TAYLOR Robin wrote:
 Hi all,

 I've just been comparing a search at DSpace version 1.6 with a search at
 1.8 and notice that at 1.8 an apostrophe is treated as a token
 delimiter, so a search term of O'Connor is split into O and
 Connor, whereas at 1.6 it was treated as one token. I presume it was a
 conscious change made at some point and I was just wondering when and
 where (in terms of the source code). Its not a problem for me I just
 need to be able to provide an explanation to the repository administrator.

 Thanks, Robin.



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] oracle db script issues.

2012-11-05 Thread Robin Taylor

Hi Kevin,

Thanks for the feedback. I've raised a Jira record 
https://jira.duraspace.org/browse/DS-1370 so that we can try and rectify 
this in 3.0.


Cheers.


On 05/11/12 01:37, Kevin Gunn wrote:


Hi,

Just reporting some issues with the V1.8.2 scripts for oracle.

1- The script attempts to create index’s on the eperson table, these 
fail as the fields are already indexed by have the UNIQUE constraint 
put on them in the CREATE TABLE statement.


---

-- EPerson table

---

CREATE TABLE EPerson

(

eperson_id  INTEGER PRIMARY KEY,

email   VARCHAR2(64) UNIQUE,

passwordVARCHAR2(64),

firstname   VARCHAR2(64),

lastnameVARCHAR2(64),

can_log_in  NUMBER(1),

require_certificate NUMBER(1),

self_registered NUMBER(1),

last_active TIMESTAMP,

sub_frequency   INTEGER,

phone   VARCHAR2(32),

netid   VARCHAR2(64) UNIQUE,

languageVARCHAR2(64)

);

-- index by email

CREATE INDEX eperson_email_idx ON EPerson(email);

-- index by netid

CREATE INDEX eperson_netid_idx ON EPerson(netid);

Results in the following errors.

table EPERSON created.

Error starting at line 143 in command:

CREATE INDEX eperson_email_idx ON EPerson(email)

Error at Command Line:143 Column:42

Error report:

SQL Error: ORA-01408: such column list already indexed

01408. 0 - such column list already indexed

*Cause:

*Action:

Error starting at line 146 in command:

CREATE INDEX eperson_netid_idx ON EPerson(netid)

Error at Command Line:146 Column:42

Error report:

SQL Error: ORA-01408: such column list already indexed

01408. 0 - such column list already indexed

*Cause:

*Action:

2- The clean up script is missing a DROP statement for the SEQUENCE 
checksum_history_seq.


Cheers

Kevin



--

The information contained within this transmission is for the
use of the intended recipient only and may contain confidential
and/or legally privileged material and/or material the subject
of copyright and/or personal information and/or sensitive
information that is subject to the Privacy Act 1988. Any review,
re-transmission, disclosure, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited. If you have received this email in error please
notify the AIMS Privacy Officer on (07) 4753  and delete
all copies of this transmission together with any attachments.
 


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mod_proxy_ajp and Tomcat and 5xx errors

2012-11-05 Thread Francis Kayiwa
On Mon, Nov 5, 2012 at 3:36 AM, Vlastimil Krejcir krej...@ics.muni.cz wrote:
   Hi,

   it's again and again - try to search dspace-tech archives, it has been
 already discussed. And don't be sad, this is probably not your fault and
 you're not alone who observer this behaviour. The solution is to have a
 guard testing periodically if Tomcat is running. In case Tomcat doesn't
 respond you need to restart it.

   Have a nice day

Thanks. Since my monitor reports an average of every 20 or so minutes
I felt pretty sure it was something about my settings.

regards,
./fxk




   Vlastik

 
 Vlastimil Krejčíř
 Library and Information Centre, Institute of Computer Science
 Masaryk University, Brno, Czech Republic
 Email: krejcir (at) ics (dot) muni (dot) cz
 Phone: +420 549 49 3872
 ICQ: 163963217
 Jabber: kre...@jabber.org
 


 On Sun, 4 Nov 2012, Francis Kayiwa wrote:

 Hey all

 I am wondering if anyone can help shed light on this. We have

 Red Hat Enterprise Linux Server release 6.3
 Apache 2.2.15 (Red Hat package)
 Tomcat (Apache Tomcat Version 6.0.36)
 Apache forwards request via AJP

 We seem to encounter frequent crashes that remain unpredictable to me
 at the moment. As best as I can determine Tomcat is not processing
 these `fast enough` based on the errors in the Apache logs

 We keep seeing these errors

 [Sun Nov 04 03:16:09 2012] [error] proxy: AJP: failed to make
 connection to backend: localhost
 [Sun Nov 04 03:16:16 2012] [error] (111)Connection refused: proxy:
 AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
 [Sun Nov 04 03:16:16 2012] [error] ap_proxy_connect_backend disabling
 worker for (localhost)
 [Sun Nov 04 03:16:16 2012] [error] proxy: AJP: failed to make
 connection to backend: localhost

 Below are what I think are the pertinent parts of the config files
 which I will gladly share on request.

 IfModule prefork.c
 StartServers   8
 MinSpareServers5
 MaxSpareServers   20
 ServerLimit  256
 MaxClients   256
 MaxRequestsPerChild  4000
 /IfModule

 VirtualHost *:80
ServerName tld.domain.name
DocumentRoot /path/to/home
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log combined

ProxyRequests Off

ProxyPass  /Shibboleth.sso !
ProxyPass / ajp://localhost:8009/ max=256 retry=60
ProxyPassReverse / ajp://localhost:8009/
 /VirtualHost

 Connector port=8009 protocol=AJP/1.3 redirectPort=8443
 UIEncoding=UTF-8 tomcatAuthentication=false enableLookups=false
 connectionTimeout=12 packetSize=22528 maxThreads=256 /

 Is there anything there that looks unreasonable? Any recommendations?
 My (mis?)reading of the dspace documentation is that mod_proxy_ajp has
 the most reliable results. It certainly is that way on all our dev
 machines.

 regards,
 ./fxk

 --
 Beer busts, beer blasts, keggers, stein hoists, A.A. meetings, beer
 nights... --Homer Simpson


 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





--
Beer busts, beer blasts, keggers, stein hoists, A.A. meetings, beer
nights... --Homer Simpson

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Application Security details of dspace 1.8.2

2012-11-05 Thread Mark H. Wood
On Mon, Nov 05, 2012 at 05:17:06PM +0500, Umair Kayani wrote:
 I tired implementing the paswordhash.java file but it threw me with any error 
 that is invalid column salt. Can you tell me where I am mistaken and secondly 
 since I am new to use eclipse so can you help me as how can I debug the 
 dspace jspui webapp. I am using Eclipse juno with jre 1.6 and tomcat 7, DB is 
 postgre.

The new password hashing code requires a small change to the database
schema as well.  See the last few lines of database_schema_18-3.sql,
beginning at the comment New columns and longer hash for salted
password hashing DS-861.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpqPxdK9h5bo.pgp
Description: PGP signature
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Discovery Module - XMLUI - bitstream level data?

2012-11-05 Thread Sara Amato
Thanks, this helps. Oddly I hadn't even considered querying the postgress 
database directly - rather obvious now that you point it out.   

The bad news on the discovery module is that with it enabled ( on 1.8, xmlui, 
following directions at: 
https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery)
 editing metadata or submitting items result in the following error:
java.lang.IllegalArgumentException: No class configured for consumer named: 
discover

I'm assuming I must have missed a step, but can't seem to determine what it is 
:(





On Oct 31, 2012, at 4:35 PM, helix84 wrote:

 On Wed, Oct 31, 2012 at 9:55 PM, Sara Amato sam...@willamette.edu wrote:
 I'm trying out the Discovery module for the first time.  It's WONDERFUL!
 
 Hi Sara,
 
 nice to hear that!
 
 Keep in mind that enabling Discovery might require you to give Tomcat a 
 little extra memory. Just remember that in case you run into any memory 
 problems.
  
 I've been able to successfully add facets for data from items (e.g. 
 dc.description), but am failing to create a facet using bitstream metadata. 
 (e.g. dc.format.mimetype) .   Is it possible to use the bitstream metadata as 
 a facet?
  
 I don't think you're doing it right. Bitstreams currently don't have metadata 
 like items do. What you're referring to is not in out-of-the-box DSpace, if 
 you have such metadata, it must be some customization you made to the *item* 
 metadata.
 
 Therefore it isn't in Solr, either.
 
 Alternatively,  I'd be happy with any way to get a count of numbers of 
 particular mime types in a collection, e.g. Jpgs (2020) ; PDF (253) .   I've 
 been trying was trying get this via solr but I'm guessing the bitstream level 
 data isn't in there
 
 Here's how you can get the list using SQL:
 
 To list all bitstream names:
 SELECT bitstream.name
 FROM bitstream,bitstreamformatregistry
 WHERE bitstreamformatregistry.bitstream_format_id = 
 bitstream.bitstream_format_id
 AND bitstreamformatregistry.mimetype = 'application/pdf'
 
 To list only bitstream names from a collection specified by handle:
 SELECT bitstream.name
 FROM 
 bitstream,bitstreamformatregistry,bundle2bitstream,item2bundle,collection2item,handle
 WHERE collection2item.collection_id=handle.resource_id
 AND collection2item.item_id=item2bundle.item_id
 AND bundle2bitstream.bundle_id=item2bundle.bundle_id
 AND bundle2bitstream.bitstream_id=bitstream.bitstream_id
 AND bitstreamformatregistry.bitstream_format_id = 
 bitstream.bitstream_format_id
 AND bitstreamformatregistry.mimetype = 'application/pdf'
 AND handle.handle='123456789/123';
 It will work only for collections, but you can analogically use natural join 
 on the community2collection table if you want to use communities.
 
 
 
 To to get only the count, change the first line to
 SELECT count(bitstream.name)
 
 
 
 Hope that helps and good luck with your Discovery experiments. If you run 
 into anything that you don't understand and can't find documentation for, 
 don't hesitate to ask.
 
 
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
  

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Modify browse?type=author

2012-11-05 Thread emilio lorenzo
Hi all
Dspace1.8  XMLUI Mirage theme

The result we are looking for is something similar to 
http://orbi.ulg.ac.be/browse?type=author (JSPUI, with icons, 
indicating author's entailment with the institution,  via authority control)
We are trying to add an html-class attribute  to   each author´s line  
inxmlui/browse?type=authorto mark the validated authors vs. 
non-validated ones, but we can not  identify the method/class to modify.

Any help will be appreciated, thanks

Emilio



-- 


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Discovery Module - XMLUI - bitstream level data?

2012-11-05 Thread Andrea Schweer

  
  
Hi Sara,

On 06/11/12 06:45, Sara Amato wrote:

  The bad news on the discovery module is that with it enabled
( on 1.8, xmlui, following directions at:https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery)editing
metadata or submitting items result in the following error:
  
java.lang.IllegalArgumentException: No class
  configured for consumer named: discover
  
  I'm assuming I must have missed a step, but can't seem to
determine what it is :(


Step 2.a of the instructions you linked to tell you to enable the
discover event consumer. A few lines down in dspace.cfg, you should
have these lines:

# consumer to maintain the discovery index
event.consumer.discovery.class =
  org.dspace.discovery.IndexEventConsumer
event.consumer.discovery.filters =
Community|Collection|Item|Bundle+Add|Create|Modify|Modify_Metadata|Delete|Remove

If they aren't there (likely because you upgraded from an earlier
DSpace version), you should just be able to paste them in.
Essentially, every event consumer that is enabled needs a "class"
and a "filter" line in dspace.cfg.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SOLR logs config

2012-11-05 Thread Andrea Schweer
Hi Hilton,

On 05/11/12 11:25, Hilton Gibson wrote:
 I have optimised the DSpace logs as follows:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations#Logs

 I would like to do the same with SOLR.
 Any help appreciated.
 Hopefully it only requires adding to the log4j.properties file.

I do think dspace-tech is the right list for this. If you want a quick
response, it might help if you gave some more information (I realise it
can probably found by following your link, but busy people are more
likely to respond when all the information needed is right in front of
them...)

What messages in which log file do you want to suppress? I'd assume that
you need to change the log level for the org.apache.solr package
hierarchy; if you're talking about the tomcat log files (not dspace log
files), you'll most likely have to change the logging configuration for
tomcat.

Have you had a look at
http://stackoverflow.com/questions/5072464/solr-how-to-turn-down-logging
and
http://lucidworks.lucidimagination.com/display/solr/Configuring+Logging
-- did you try what they said, and if so what were your results?

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Discovery Module - XMLUI - bitstream level data?

2012-11-05 Thread Sara Amato
Thanks for the quick reply. 

I do have those lines in the dspace.cfg.  I've restarted tomcat, and am seeing 
the discovery facets in the xmlui, but am still seeing the error when trying to 
submit new items or edit metadata.   I must be missing something …  

On Nov 5, 2012, at 12:23 PM, Andrea Schweer wrote:

 Hi Sara,
 
 On 06/11/12 06:45, Sara Amato wrote:
 The bad news on the discovery module is that with it enabled ( on 1.8, 
 xmlui, following directions at: 
 https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery)
  editing metadata or submitting items result in the following error:
 java.lang.IllegalArgumentException: No class configured for consumer named: 
 discover
 
 I'm assuming I must have missed a step, but can't seem to determine what it 
 is :(
 
 Step 2.a of the instructions you linked to tell you to enable the discover 
 event consumer. A few lines down in dspace.cfg, you should have these lines:
 
 # consumer to maintain the discovery index
 event.consumer.discovery.class = org.dspace.discovery.IndexEventConsumer
 event.consumer.discovery.filters = 
 Community|Collection|Item|Bundle+Add|Create|Modify|Modify_Metadata|Delete|Remove
 
 If they aren't there (likely because you upgraded from an earlier DSpace 
 version), you should just be able to paste them in. Essentially, every event 
 consumer that is enabled needs a class and a filter line in dspace.cfg.
 
 cheers,
 Andrea
 
 -- 
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems
 The University of Waikato, Hamilton, New Zealand
 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Discovery Module - XMLUI - bitstream level data?

2012-11-05 Thread Andrea Schweer

  
  
Hi Sara,

the problem is that you called the consumer "discover" in the
event.dispatcher.default.consumers line while it needs to be
"discovery".

cheers,
Andrea
-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SOLR query result preserve case

2012-11-05 Thread Diwakar Timilsina
Hi,
I am trying to extract metadata for items returned by a SOLR 
query. However, I am noticing that text is being returned from the index in 
lower-case. For example, the dc.description.abstract field has been all 
converted to lower case. I need SOLR to preserve case sensitivity when it 
returns the fields and their values for a given query. How can I configure 
SOLR/DSpace to achieve that?





Any help is appreciated.



Thanks.

Diwakar Timilsina
Systems Analyst, UITS
University of Arkansas, Fayetteville
Email: diwa...@uark.edumailto:diwa...@uark.edu
Phone: 479.575.6160

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech