Re: [Dspace-tech] OAI URL not accessible

2013-08-15 Thread Lewatle Phaladi
Thanks a lot for sharing Mark.

-Original Message-
From: Mark H. Wood [mailto:mw...@iupui.edu] 
Sent: 14 August 2013 03:54 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] OAI URL not accessible

On Wed, Aug 14, 2013 at 07:21:53AM +, Lewatle Phaladi wrote:
 I have only created ROOT.xml file and in it I have
 
 #cat ROOT.xml
  Context path=/ docBase=[dspace]/webapps/xmlui
  debug=0 privileged=true allowLinking=true /Context

The 'path' attribute should not be used in external context descriptors.  The 
path is computed from the name of the file, and in the special case where the 
name is ROOT.xml the path will be /.

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Naming

 This file is sitting under /tomcat6/apache-tomcat/conf/Catalina/localhost my 
 question is where am I have to put this contents :
 
 Context path=/oai docBase=[dspace]/webapps/oai debug=0
 reloadable=true cachingAllowed=false
 allowLinking=true/
 and the file name should be called what name if it is restricted to 
 use certain nameand extension like ROOT.xml

As someone already said:  *instead of* coding path=/oai, name the file 
'oai.xml'.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.
table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%; 
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] OAI URL not accessible

2013-08-15 Thread Lewatle Phaladi
Hi Helix, 

The OAI  is now working, the script worked pretty well.

Regards,
Lewatle 

-Original Message-
From: helix84 [mailto:heli...@centrum.sk] 
Sent: 14 August 2013 09:34 AM
To: Lewatle Phaladi
Cc: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] OAI URL not accessible

On Wed, Aug 14, 2013 at 9:21 AM, Lewatle Phaladi lewatle.phal...@wits.ac.za 
wrote:
 and the file name should be called what name if it is restricted to 
 use certain nameand extension like ROOT.xml

/tomcat6/apache-tomcat/conf/Catalina/localhost/oai.xml


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%; 
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [RFC] Incorrect Java Vendor in DSpace control panel

2013-08-15 Thread Alan Orth
Hi,

I've just realized that DSpace tries to be helpful and print the Java 
JDK vendor in the control panel, but gets it utterly wrong and is 
ultimately misleading.  For example:

Java Runtime Environment Vendor:Oracle Corporation

But in reality, we're using OpenJDK:

[aorth@dspace: ~]$ java -version
java version 1.7.0_21
OpenJDK Runtime Environment (IcedTea 2.3.9)
(7u21-2.3.9-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

I guess DSpace is using the wrong string to determine the vendor, ie:

java.vendor=Oracle Corporation

When it should probably be using:

java.vm.name=OpenJDK 64-Bit Server VM

We were recently working with a vendor (@mire!) and we told them to test 
their addons with Oracle JDK, as it appeared that's what we were using.  
I think it's more relevant to report the implementation vendor, not the 
specification vendor here.

If I make an issue on Jira and a GitHub commit, would people appreciate 
that?

Cheers,

-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone. 
-Bjarne Stroustrup, inventor of C++


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Parameters for vocabulary xmlui not working

2013-08-15 Thread bcoballes
Thanks Elvi,

I already edited my  [dspace-src]\dspace\config\spring\api\discovery.xml
and change to the following:

bean id=searchFilterSubject
class=org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration
property name=indexFieldName value=subject/
property name=metadataFields
list
valuedc.subject.*/value
/list
/property
property name=facetLimit value=10/
property name=sortOrder value=COUNT/
property name=splitter value=--/
/bean

I still retain these codes from my [dspace-src]\dspace\config\dspace.cfg:

choices.plugin.dc.subject = srscmod
choices.presentation.dc.subject = select
vocabulary.plugin.srscmod.hierarchy.store = true
vocabulary.plugin.srscmod.hierarchy.suggest = false
vocabulary.plugin.srscmod.delimiter =  -- 

Then I rebuild dspace and restarted tomcat. I also deleted the cache
beforehand but there was still no changes seen in the discovery sidebar
facet. Also, during the addition of subjects using the controlled
vocabulary the delimiter :: is still being use. Do I need to run anything
from my [dspace]\bin\ to implement the updates?



On Wed, Aug 14, 2013 at 3:17 PM, Nemiz, Elvi S. [via DSpace] 
ml-node+s2283337n4666545...@n4.nabble.com wrote:

 Hello Brian,

 Edit [dspace-src]\dspace\config\spring\api\discovery.xml, look
 for property name=splitter value=::/ in line 244. You can also add if
 you like search filters and sidebar facets in this file. Hope this helps.
 ;-)

 Regards,
 Elvi

 --

 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4666545i=0
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://dspace.2283337.n4.nabble.com/Parameters-for-vocabulary-xmlui-not-working-tp4666541p4666545.html
  To unsubscribe from Parameters for vocabulary xmlui not working, click
 herehttp://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4666541code=YmNvYmFsbGVzQGF0ZW5lby5lZHV8NDY2NjU0MXwtMTE4MjI3MDk5OQ==
 .
 NAMLhttp://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 
*Brian Aljer B. Coballes
Instructional Technology Center
Ateneo de Manila High School
Loyola Heights, Quezon City*
*Philippines*
*
*
*(063) 426-6001 loc. 6203
*
*
*

**
*En todo amar y servir.*




-
Librarian In-Charge of Non-Print 
Educational Media Center 
Ateneo de Manila High School 
Philippines
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Parameters-for-vocabulary-xmlui-not-working-tp4666541p4666590.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] InstallItem and IllegalStateException

2013-08-15 Thread Anis Moubarik
Hey, any idea on this. In what situations DSpace kernel cannot be null arises?

- Anis


Quoting Anis Moubarik anis.mouba...@helsinki.fi:

 Hello, I'm using DSpace 3.2 and the DSpace-api in java. I'm trying to
 add an item using InstallItem, but it's throwing me a
 IllegalStateException: DSpace kernel cannot be null. This is weird
 behavior as I use the same logic in creating and saving Communities
 and Collections, what should I do? Some of the stacktrace:

 5663 FATAL [TP-Processor9] ItemResource.addItem :
 java.lang.IllegalStateException: DSpace kernel cannot be null
 5664 java.lang.IllegalStateException: DSpace kernel cannot be null
 5665 at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63)
 5666 at org.dspace.utils.DSpace.getSingletonService(DSpace.java:87)
 5667 at
 org.dspace.content.InstallItem.installItem(InstallItem.java:63)
 5668 at
 org.dspace.content.InstallItem.installItem(InstallItem.java:44)
 5669 at
 xx.xx.lib.simplerest.ItemsResource.addItem(ItemsResource.java:290)


 - Anis





--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] [RFC] Incorrect Java Vendor in DSpace control panel

2013-08-15 Thread Alan Orth
Ok,

I've created a Jira Bug[0] and submitted a patch[1].

Cheers,

Alan

[0] https://jira.duraspace.org/browse/DS-1629
[1] 
https://github.com/alanorth/DSpace/commit/fba6c5b9771f04374daf10e7b20c288e85b6f715
 


On 08/15/2013 11:22 AM, Alan Orth wrote:
 Hi,

 I've just realized that DSpace tries to be helpful and print the Java 
 JDK vendor in the control panel, but gets it utterly wrong and is 
 ultimately misleading.  For example:

Java Runtime Environment Vendor:Oracle Corporation

 But in reality, we're using OpenJDK:

[aorth@dspace: ~]$ java -version
java version 1.7.0_21
OpenJDK Runtime Environment (IcedTea 2.3.9)
(7u21-2.3.9-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

 I guess DSpace is using the wrong string to determine the vendor, ie:

java.vendor=Oracle Corporation

 When it should probably be using:

java.vm.name=OpenJDK 64-Bit Server VM

 We were recently working with a vendor (@mire!) and we told them to 
 test their addons with Oracle JDK, as it appeared that's what we were 
 using.  I think it's more relevant to report the implementation 
 vendor, not the specification vendor here.

 If I make an issue on Jira and a GitHub commit, would people 
 appreciate that?

 Cheers,


-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone. 
-Bjarne Stroustrup, inventor of C++


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-15 Thread Otuoma
I have not yet been able to resolve this issue. However, I am able to reset
the password using the Forgot password option on the login page which
sends a reset link via email. When I do this, I can see that I am logged in.
However when open another page, I am logged-out again or if its a page that
requires admin privileges, I am sent back to the login page. I am not sure
if there are login configurations in dspace, its my first installation.
Any further assistance will be great.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Login-does-not-work-after-upgrading-from-1-7-to-3-2-tp4666377p4666597.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Upgrade to Solr

2013-08-15 Thread Anja Le Blanc
Hello,

Some update:
After fighting dependencies, especially logging libraries, I discovered 
that not only SolrJ is using Lucene but DSpace uses it directly in its 
search. And naturally Lucene has change a good deal between versions.
End of that road. I am now rewriting our ElasticSearch interaction using 
HTTP posts/gets to get rid of the ElasticSearch dependency.

Best regards,
Anja


On 13/08/2013 15:35, Anja Le Blanc wrote:
 Hi Helix,

 We were using ES 20.6 before - that did not cause a problem. I got the
 same dependency as you in Maven just with a different version. They just
 have one 'catch all' jar or ES.

 At the moment I am considering upgrading Solrj to 3.5 which does not
 have a dependency on Lucene. That might solve the problem without having
 to upgrade Solr itself.

 Thanks a lot.
 Anja


 On 13/08/2013 14:07, helix84 wrote:
 On Tue, Aug 13, 2013 at 2:55 PM, Anja Le Blanc
 anja.lebl...@manchester.ac.uk wrote:
 Your question is a very good one. I entirely agree. Unfortunately I am not
 aware of a ElasticSearch client library.

 This is what we use for ES stats:
 https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/pom.xml#L421

 Here's the JavaDoc and source:
 http://elasticsearch.spantree.net/
 https://github.com/elasticsearch/elasticsearch/


 Before integrating ElasticSearch in our DSpace I have not worked with ES
 before, meaning I followed the guides
 (http://www.elasticsearch.org/guide/reference/java-api/) and looking at the
 Maven repository (http://mvnrepository.com/artifact/org.elasticsearch) I
 can't see a java client lib either.

 Does this help?

 http://www.elasticsearch.org/guide/reference/java-api/client/
 http://elasticsearch.spantree.net/elasticsearch/HEAD/org/elasticsearch/client/transport/TransportClient.html


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Does anyone have LDAP Special Groups working?

2013-08-15 Thread Clive Gould
Hi

I've tried upgrading from 1.8 to 3.x and LDAP authentication works fine for
both staff and students

However I can't get the LDAP special groups code to work when there is more
than one special group

I've tried including the relevant modified code from DSpace 3.2 in DSpace
3.0 but it still doesn't work

Has anyone else got this working properly?

Thanks

Clive
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-15 Thread otuoma peter


Just inspected by eperson table and everything under can_log_in is set to 
t. Is this what it should be?


 From: Jozef Misutka misu...@ufal.mff.cuni.cz
To: Otuoma otuomathegr...@yahoo.com 
Sent: Thursday, August 15, 2013 4:07 AM
Subject: Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2
 


Hey Otuoma, 
this is very likely not your cause, 
but in 1.8.2, we had as similar issue when a user was created automaticlly 
(e.g., by Shibboleth) and the appropariate flag 
can_log_in in eperson database table
was not set.

Jozef




On 15 August 2013 12:48, Otuoma otuomathegr...@yahoo.com wrote:

I have not yet been able to resolve this issue. However, I am able to reset
the password using the Forgot password option on the login page which
sends a reset link via email. When I do this, I can see that I am logged in.
However when open another page, I am logged-out again or if its a page that
requires admin privileges, I am sent back to the login page. I am not sure
if there are login configurations in dspace, its my first installation.
Any further assistance will be great.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Login-does-not-work-after-upgrading-from-1-7-to-3-2-tp4666377p4666597.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] InstallItem and IllegalStateException

2013-08-15 Thread helix84
Did you try it with a clean 3.x configuration as I suggested?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] InstallItem and IllegalStateException

2013-08-15 Thread Anis Moubarik
I'll try it. Somehow I missed your first reply.

- Anis

Quoting helix84 heli...@centrum.sk:

 Did you try it with a clean 3.x configuration as I suggested?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-15 Thread Jozef Misutka
That is correct.

Jozef


On 15 August 2013 13:18, otuoma peter otuomathegr...@yahoo.com wrote:

 Just inspected by eperson table and everything under can_log_in is set
 to t. Is this what it should be?
   --
  *From:* Jozef Misutka misu...@ufal.mff.cuni.cz
 *To:* Otuoma otuomathegr...@yahoo.com
 *Sent:* Thursday, August 15, 2013 4:07 AM
 *Subject:* Re: [Dspace-tech] Login does not work after upgrading from 1.7
 to 3.2

 Hey Otuoma,
 this is very likely not your cause,
 but in 1.8.2, we had as similar issue when a user was created automaticlly
 (e.g., by Shibboleth) and the appropariate flag
 can_log_in in eperson database table
 was not set.

 Jozef



 On 15 August 2013 12:48, Otuoma otuomathegr...@yahoo.com wrote:

 I have not yet been able to resolve this issue. However, I am able to reset
 the password using the Forgot password option on the login page which
 sends a reset link via email. When I do this, I can see that I am logged
 in.
 However when open another page, I am logged-out again or if its a page that
 requires admin privileges, I am sent back to the login page. I am not sure
 if there are login configurations in dspace, its my first installation.
 Any further assistance will be great.



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/Login-does-not-work-after-upgrading-from-1-7-to-3-2-tp4666377p4666597.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2

2013-08-15 Thread otuoma peter
Well it still doesnt work. Thanks for the effort. Any further help will be 
appreciated.




 From: Jozef Misutka misu...@ufal.mff.cuni.cz
To: otuoma peter otuomathegr...@yahoo.com 
Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net 
Sent: Thursday, August 15, 2013 5:24 AM
Subject: Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2
 


That is correct.

Jozef



On 15 August 2013 13:18, otuoma peter otuomathegr...@yahoo.com wrote:

Just inspected by eperson table and everything under can_log_in is set to 
t. Is this what it should be?



From: Jozef Misutka misu...@ufal.mff.cuni.cz
To: Otuoma otuomathegr...@yahoo.com 
Sent: Thursday, August 15, 2013 4:07 AM
Subject: Re: [Dspace-tech] Login does not work after upgrading from 1.7 to 3.2
 


Hey Otuoma, 
this is very likely not your cause, 
but in 1.8.2, we had as similar issue when a user was created automaticlly 
(e.g., by Shibboleth) and the appropariate flag 
can_log_in in eperson database table
was not set.


Jozef





On 15 August 2013 12:48, Otuoma otuomathegr...@yahoo.com wrote:

I have not yet been able to resolve this issue. However, I am able to reset
the password using the Forgot password option on the login page which
sends a reset link via email. When I do this, I can see that I am logged in.
However when open another page, I am logged-out again or if its a page that
requires admin privileges, I am sent back to the login page. I am not sure
if there are login configurations in dspace, its my first installation.
Any further assistance will be great.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Login-does-not-work-after-upgrading-from-1-7-to-3-2-tp4666377p4666597.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DSpace 3.1 on ubuntu 10.4

2013-08-15 Thread remi asare
Hello,
I have a quick answer! Will it be safe to install DSpace 3.1 on Ubuntu 10.4?

Thanks in advance
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Problem with search in DSpace 3.2

2013-08-15 Thread George Stanley Kozak
Hi, everyone:

I just did an upgrade from DSpace 1.8.2 to DSpace 3.2 on a test server.
We are planning to switch to the XMLUI interface for the new upgrade so I set 
my new instance to use the Discovery search.
I made the changes in the Config files outlined in the documentation for using 
Discovery and ran the dspace update-discovery-index command.
However, whenever I attempt a search in either the XMLUI or JPSUI, I get no 
results.
The log files show that discovery was access and the results are 0, but no 
errors appear.

Has anyone seen this before and/or any suggestions of where I should look to 
debug?


George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] communities null pointer exception dspace 1.7.2

2013-08-15 Thread Tim Donohue
Hi Mark,

Actually, it looks like helix84 was accidentally looking at the wrong 
CommunityRecentSubmissions class. Your underlying error is coming from 
Discovery, i.e. this class

https://github.com/DSpace/DSpace/blob/dspace-1.7.2/dspace-discovery/dspace-discovery-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/discovery/CommunityRecentSubmissions.java#L75

That error seems to be saying that Apache Solr (which is used by 
Discovery) is returning a null result set (at least for the set of 
recent submissions for that Community).

This implies to me that something may be going on in Solr.  Either your 
DSpace is having trouble finding Solr, or else your Solr index has 
gotten corrupted.

You could try reindexing all content in Discovery, to see if that helps:

./bin/dspace update-discovery-index

(You could also add the -b flag to completely wipe the existing index 
and rebuild from scratch.)

If this reindex command also throws an error, it's possible your Solr 
configs, in ./config/dspace-solr-search.cfg, are messed up somehow.

Some additional info on Discovery configs is at:
https://wiki.duraspace.org/display/DSDOC17/Discovery

- Tim

On 8/14/2013 4:59 PM, helix84 wrote:
 Caused by: java.lang.NullPointerException
  at 
 org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.handleException(AbstractDSpaceTransformer.java:109)

 https://github.com/DSpace/DSpace/blob/dspace-1.7.2/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/cocoon/AbstractDSpaceTransformer.java#L109

 I'm not sure whether this tells us that SAXException couldn't be
 instantiated or that something else is null; which would be this, i.e.
 the AbstractDSpaceTransformer class.

 Caused by: java.lang.NullPointerException
  at 
 org.dspace.app.xmlui.aspect.discovery.CommunityRecentSubmissions.addBody(CommunityRecentSubmissions.java:75)


 https://github.com/DSpace/DSpace/blob/dspace-1.7.2/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/CommunityRecentSubmissions.java#L75

 This one's strange - line 75 is in the getKey() method, but your error
 repors it's in the addBody() method. Did you modify this class?


 I'm afraid somene else will need to step in and clarify this.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace 3.1 on ubuntu 10.4

2013-08-15 Thread Becker, Pascal-Nicolas
I have no tested it myself, but from the required software it should work if 
you install the packages ant1.8, maven2 (included in universe repository, which 
is not supported by canonical), tomcat6 and postgresql (either 8.3 or better 
8.4).

If you have also installed the package ant (which contains version 1.7) you 
may have to use update-alternatives to ensure that version 1.8 will be used.

Regards,
  Pascal

Von: remi asare [mailto:remi.as...@gmail.com]
Gesendet: Donnerstag, 15. August 2013 17:27
An: dspace-tech
Betreff: [Dspace-tech] DSpace 3.1 on ubuntu 10.4

Hello,
I have a quick answer! Will it be safe to install DSpace 3.1 on Ubuntu 10.4?
Thanks in advance
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Upgrade to Solr

2013-08-15 Thread Andrea Bollini
Il 15/08/2013 12:56, Anja Le Blanc ha scritto:
 Hello,

 Some update:
 After fighting dependencies, especially logging libraries, I discovered
 that not only SolrJ is using Lucene but DSpace uses it directly in its
 search. And naturally Lucene has change a good deal between versions.
This is true only if you don't use discovery. If you turn on discovery 
you can just ignore the legacy dspace search system based on lucene.
Discovery was available out-of-box in 1.8 for XMLUI (just require some 
configuration changes). If you use JSPUI you have two routes:
- upgrade to dspace 3.x where discovery is available
- use or look to the dspace-cris 1.8.2 sources where discovery is 
present 
https://github.com/CILEA/DSpace/releases/tag/dspace-cris-1.8.2.1-beta

Andrea

 End of that road. I am now rewriting our ElasticSearch interaction using
 HTTP posts/gets to get rid of the ElasticSearch dependency.

 Best regards,
 Anja


 On 13/08/2013 15:35, Anja Le Blanc wrote:
 Hi Helix,

 We were using ES 20.6 before - that did not cause a problem. I got the
 same dependency as you in Maven just with a different version. They just
 have one 'catch all' jar or ES.

 At the moment I am considering upgrading Solrj to 3.5 which does not
 have a dependency on Lucene. That might solve the problem without having
 to upgrade Solr itself.

 Thanks a lot.
 Anja


 On 13/08/2013 14:07, helix84 wrote:
 On Tue, Aug 13, 2013 at 2:55 PM, Anja Le Blanc
 anja.lebl...@manchester.ac.uk wrote:
 Your question is a very good one. I entirely agree. Unfortunately I am not
 aware of a ElasticSearch client library.
 This is what we use for ES stats:
 https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/pom.xml#L421

 Here's the JavaDoc and source:
 http://elasticsearch.spantree.net/
 https://github.com/elasticsearch/elasticsearch/


 Before integrating ElasticSearch in our DSpace I have not worked with ES
 before, meaning I followed the guides
 (http://www.elasticsearch.org/guide/reference/java-api/) and looking at the
 Maven repository (http://mvnrepository.com/artifact/org.elasticsearch) I
 can't see a java client lib either.
 Does this help?

 http://www.elasticsearch.org/guide/reference/java-api/client/
 http://elasticsearch.spantree.net/elasticsearch/HEAD/org/elasticsearch/client/transport/TransportClient.html


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Andrea Bollini
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Divisione Ricerca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] missing coverage field aborts harvest

2013-08-15 Thread Mushashu Mwansa Lumpa
Hi everyone,

I ran into an issue while harvesting content from a non-dspace repository
into a dspace instance. Basically, the harvest was aborting midway through
the harvest. A little investigation revealed that the site I was harvesting
from was exposing an unqualified coverage (dublin core) field.
DSpace's metadatafieldregistry
database table does not have an entry for an unqualified coverage field,
thus the reason why my harvest was breaking.

anyone experienced this issue?

One other thing, though it did not seem to affect my harvests, there is a
typo in all the crosswalk xlts files (etdms.xsl, didl.xsl, rdf.xsl,
qdc.xsl, and oai_dc.xsl), coverage is spelt as covarage.

m.
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] missing coverage field aborts harvest - dspace 3.x

2013-08-15 Thread Mushashu Mwansa Lumpa
Resending, including dspace version.


On 15 August 2013 21:45, Mushashu Mwansa Lumpa musha...@gmail.com wrote:

 Hi everyone,

 I ran into an issue while harvesting content from a non-dspace repository
 into a dspace instance. Basically, the harvest was aborting midway through
 the harvest. A little investigation revealed that the site I was harvesting
 from was exposing an unqualified coverage (dublin core) field. DSpace's 
 metadatafieldregistry
 database table does not have an entry for an unqualified coverage field,
 thus the reason why my harvest was breaking.

 anyone experienced this issue?

 One other thing, though it did not seem to affect my harvests, there is a
 typo in all the crosswalk xlts files (etdms.xsl, didl.xsl, rdf.xsl,
 qdc.xsl, and oai_dc.xsl), coverage is spelt as covarage.

 m.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problem with search in DSpace 3.2 - fixed!

2013-08-15 Thread George Stanley Kozak
Hi, Everyone:

I'd like to thank Tim Donohue who was answering Mark Ludwig's problem with 
Solr.  I saw that he suggested doing the update-discovery-index with the -b 
option.  I tried that and that fixed my own problem with searching.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: George Stanley Kozak [mailto:g...@cornell.edu]
Sent: Thursday, August 15, 2013 11:37 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Problem with search in DSpace 3.2

Hi, everyone:

I just did an upgrade from DSpace 1.8.2 to DSpace 3.2 on a test server.
We are planning to switch to the XMLUI interface for the new upgrade so I set 
my new instance to use the Discovery search.
I made the changes in the Config files outlined in the documentation for using 
Discovery and ran the dspace update-discovery-index command.
However, whenever I attempt a search in either the XMLUI or JPSUI, I get no 
results.
The log files show that discovery was access and the results are 0, but no 
errors appear.

Has anyone seen this before and/or any suggestions of where I should look to 
debug?


George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Ldap 3.2 working except groups

2013-08-15 Thread Schuster, David
I have LDAP working now and it creates the accounts but is not putting the user 
in the group I have defined in the authenticate-ldap.cfg.

Anyone else see that?
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Parameters for vocabulary xmlui not working

2013-08-15 Thread bcoballes
Oh that's weird. Theoretically that's supposed to do it but mine is not
working. I actually tested it to an untouched dspace-src-release. I just
merged my [dspace-src]/build.properties, [dspace-src]/config/dspace.cfg
(which contains my changes as indicated above),
[dspace-src]/config/controlled-vocabularies/srscmod.xml, and
[dspace-src]/config/input-forms.xml just to test the controlled vocabulary
function during submission. The discovery is still enabled (based from my
dspace.cfg). I will try to disable the discovery to trace the error.


On Thu, Aug 15, 2013 at 9:31 PM, Nemiz, Elvi S. [via DSpace] 
ml-node+s2283337n409...@n4.nabble.com wrote:

 Hello Brian,

 I tried it here and my changes were reflected. See attached files. I did
 not run anything except restarting tomcat. I did not even change my
 discovery.xml since any values in your dspace.cfg will override the
 splitter value in discovery.xml. Sorry I can't recreate your problem in my
 test here. Did you try to clear the cache via control panel? (Though you
 said you deleted the cache).


 On Thu, Aug 15, 2013 at 6:48 PM, [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=409i=0
  wrote:


 I already edited my  [dspace-src]\dspace\config\spring\api\discovery.xml
 and change to the following:

 bean id=searchFilterSubject

 class=org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration
 property name=indexFieldName value=subject/
 property name=metadataFields
 list
 valuedc.subject.*/value
 /list
 /property
 property name=facetLimit value=10/
 property name=sortOrder value=COUNT/
 property name=splitter value=--/
 /bean

 I still retain these codes from my [dspace-src]\dspace\config\dspace.cfg:

 choices.plugin.dc.subject = srscmod
 choices.presentation.dc.subject = select
 vocabulary.plugin.srscmod.hierarchy.store = true
 vocabulary.plugin.srscmod.hierarchy.suggest = false
 vocabulary.plugin.srscmod.delimiter =  -- 

 Then I rebuild dspace and restarted tomcat. I also deleted the cache
 beforehand but there was still no changes seen in the discovery sidebar
 facet. Also, during the addition of subjects using the controlled
 vocabulary the delimiter :: is still being use. Do I need to run
 anything
 from my [dspace]\bin\ to implement the updates?


 --

 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=409i=1
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 *voc-splitter.jpg* (139K) Download 
 Attachmenthttp://dspace.2283337.n4.nabble.com/attachment/409/0/voc-splitter.jpg
 *splitter.jpg* (59K) Download 
 Attachmenthttp://dspace.2283337.n4.nabble.com/attachment/409/1/splitter.jpg


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://dspace.2283337.n4.nabble.com/Parameters-for-vocabulary-xmlui-not-working-tp4666541p409.html
  To unsubscribe from Parameters for vocabulary xmlui not working, click
 herehttp://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4666541code=YmNvYmFsbGVzQGF0ZW5lby5lZHV8NDY2NjU0MXwtMTE4MjI3MDk5OQ==
 .
 NAMLhttp://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 
*Brian Aljer B. Coballes
Instructional Technology Center
Ateneo de Manila High School
Loyola Heights, Quezon City*
*Philippines*
*
*
*(063) 426-6001 loc. 6203
*
*
*

**
*En todo amar y servir.*




-
Librarian In-Charge of Non-Print 
Educational Media Center 
Ateneo de Manila High School 
Philippines
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Parameters-for-vocabulary-xmlui-not-working-tp4666541p436.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes.