Re: [dspace-tech] Dspace 5 Startup .xsl code

2018-01-02 Thread Tom Avino
Terry,
I have had no luck getting this to work.
I am using a cookie, but it is not creating.  I have the screen as 
popup-overlay below.  I have all of this in page_structure. Any idea what I 
am doing wrong?
.
*https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js&quot</a>;>*
** 
*$(document).ready(function() {*
*if (!$.cookie('alert')) {*
*$('.popup-overlay').show();*
*var date = new Date();*
*date.setTime(date.getTime() + 24 * 60 * 60 * 1000);*
*$.cookie('alert', true, {*
*expires: date*
*});*
*}else{*
*$('.popup-overlay').hide();*
* }* 
*});*
**

**
**
**
**
*WARNING!!! By accessing and using this information system, you 
acknowledge and consent to the following:*
*You are accessing a U.S. Government information 
system, which includes: (1) this computer; (2) this computer network; (3) 
all computers connected to this network including end user systems; (4) all 
devices and storage media attached to this network or to any computer on 
this network; and (5) cloud and remote information services. This 
information system is provided for U.S. Government-authorized use only. You 
have no reasonable expectation of privacy regarding any communication 
transmitted through or data stored on this information system.  At any 
time, and for any lawful purpose, the U.S. Government may monitor, 
intercept, search, and seize any communication or data transiting, stored 
on, or traveling to or from this information system.  You are NOT 
authorized to process classified information on this information system.  
Unauthorized or improper use of this system may result in suspension or 
loss of access privileges, disciplinary action, and civil and/or criminal 
penalties.*

**
*  OK *
**
**
**
**


*On Wednesday, November 22, 2017 at 2:09:21 PM UTC-5, Terry Brady wrote:*
>
> *I recommend adding a link to a custom javascript file here.*
>
>
> *https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L130
>  
> <https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L130>*
>
> *Mirage2 compiles all of the javascript into a single file for 
> efficiency.  Since my custom javascript is small, I load it as a page on 
> its own.*
>
> *Your javascript could use a cookie to display the message only once, or 
> it could detect when it is on the home page and display it on that page.*
>
> *Mirage2 should already have jQuery loaded although the "$" variable may 
> not be active.*
>
> *The following code could detect if you are on the home page.*
>
>
>>
>>
>>
>> *jQuery(document).ready(function(){if 
>> (jQuery("#aspect_artifactbrowser_CommunityBrowser_div_comunity-browser").length
>>  
>> > 0) {//do something}});*
>
>
 

> On Wed, Nov 22, 2017 at 10:30 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> Terry,
>> It doesn't matter if I do this in Javascript or xsl.  I am not sure where 
>> to put the javascript code.
>> I can put in the code I sent, and it works, but I only need it to show up 
>> the first time, and only once.  When I put it in the page-structure.xsl, it 
>> shows up on every page. I guess I am looking for a "Startup" type page 
>> where some initialization and housekeeping is done.
>>
>> I am new to xsl, and it gives me a headache.  I am an old school 
>> assembler language, cobol, html, and SQL developer and can't seem to wrap 
>> my head around xsl.  
>>
>> I appreciate you help
>>
>> On Wednesday, November 22, 2017 at 12:15:03 PM UTC-5, Terry Brady wrote:
>>>
>>> If you want to resolve the issue in XSL (vs JavaScript), I recommend 
>>> that you override this template and place your alert in a similar location.
>>>
>>>
>>> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L759-L762
>>>
>>> On Wed, Nov 22, 2017 at 8:51 AM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> We are running Dspace 5.5 XMLUI using Mirage 2 UI.  
>>>> It is a gov't requirement that we display a screen that the user must 
>>>> accept before allowing them access to the homepage.
>>>>
>>>> Thanks
>>>>
>>>> On Wednesday, November 22, 2017 at 10:58:31 AM UTC-5, Terry Brady wrote:
>>>>>
>>

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Tom Avino
Terry,
It doesn't matter if I do this in Javascript or xsl.  I am not sure where 
to put the javascript code.
I can put in the code I sent, and it works, but I only need it to show up 
the first time, and only once.  When I put it in the page-structure.xsl, it 
shows up on every page. I guess I am looking for a "Startup" type page 
where some initialization and housekeeping is done.

I am new to xsl, and it gives me a headache.  I am an old school assembler 
language, cobol, html, and SQL developer and can't seem to wrap my head 
around xsl.  

I appreciate you help

On Wednesday, November 22, 2017 at 12:15:03 PM UTC-5, Terry Brady wrote:
>
> If you want to resolve the issue in XSL (vs JavaScript), I recommend that 
> you override this template and place your alert in a similar location.
>
>
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L759-L762
>
> On Wed, Nov 22, 2017 at 8:51 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> We are running Dspace 5.5 XMLUI using Mirage 2 UI.  
>> It is a gov't requirement that we display a screen that the user must 
>> accept before allowing them access to the homepage.
>>
>> Thanks
>>
>> On Wednesday, November 22, 2017 at 10:58:31 AM UTC-5, Terry Brady wrote:
>>>
>>> Since this message does not display any repository content, I would 
>>> recommend that you add it to the page with javaScript/jQuery.
>>>
>>> You could also add it in through the UI code.  Which Version/UI/theme 
>>> are you running?
>>>
>>> For inspiration of where to add the message, you could activate a system 
>>> alert from the system control panel and place your content in a similar div.
>>>
>>> Terry
>>>
>>> On Wed, Nov 22, 2017 at 6:49 AM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> I am trying to insert a "Warning Box" to display an acknowledgment 
>>>> screen at the startup of Dspace.  I am struggling where to place the 
>>>> code
>>>>
>>>> 
>>>> 
>>>> 
>>>> By accessing and using this information 
>>>> system, you acknowledge and consent to the following:
>>>> You are accessing a U.S. Government information 
>>>> system, which includes: (1) this computer; (2) this computer network; (3) 
>>>> all computers connected to this network including end user systems; (4) 
>>>> all 
>>>> devices and storage media attached to this network or to any computer on 
>>>> this network; and (5) cloud and remote information services. This 
>>>> information system is provided for U.S. Government-authorized use only. 
>>>> You 
>>>> have no reasonable expectation of privacy regarding any communication 
>>>> transmitted through or data stored on this information system.  At any 
>>>> time, and for any lawful purpose, the U.S. Government may monitor, 
>>>> intercept, search, and seize any communication or data transiting, stored 
>>>> on, or traveling to or from this information system.  You are NOT 
>>>> authorized to process classified information on this information system.  
>>>> Unauthorized or improper use of this system may result in suspension or 
>>>> loss of access privileges, disciplinary action, and civil and/or criminal 
>>>> penalties.
>>>> 
>>>> 
>>>> >>> onclick="document.getElementById('warning-box').style='display:none;';">OK
>>>> 
>>>> 
>>>> 
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Tom 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> https://github.com

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Tom Avino
We are running Dspace 5.5 XMLUI using Mirage 2 UI.  
It is a gov't requirement that we display a screen that the user must 
accept before allowing them access to the homepage.

Thanks

On Wednesday, November 22, 2017 at 10:58:31 AM UTC-5, Terry Brady wrote:
>
> Since this message does not display any repository content, I would 
> recommend that you add it to the page with javaScript/jQuery.
>
> You could also add it in through the UI code.  Which Version/UI/theme are 
> you running?
>
> For inspiration of where to add the message, you could activate a system 
> alert from the system control panel and place your content in a similar div.
>
> Terry
>
> On Wed, Nov 22, 2017 at 6:49 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> I am trying to insert a "Warning Box" to display an acknowledgment screen 
>> at the startup of Dspace.  I am struggling where to place the code
>>
>> 
>> 
>> 
>> By accessing and using this information 
>> system, you acknowledge and consent to the following:
>> You are accessing a U.S. Government information 
>> system, which includes: (1) this computer; (2) this computer network; (3) 
>> all computers connected to this network including end user systems; (4) all 
>> devices and storage media attached to this network or to any computer on 
>> this network; and (5) cloud and remote information services. This 
>> information system is provided for U.S. Government-authorized use only. You 
>> have no reasonable expectation of privacy regarding any communication 
>> transmitted through or data stored on this information system.  At any 
>> time, and for any lawful purpose, the U.S. Government may monitor, 
>> intercept, search, and seize any communication or data transiting, stored 
>> on, or traveling to or from this information system.  You are NOT 
>> authorized to process classified information on this information system.  
>> Unauthorized or improper use of this system may result in suspension or 
>> loss of access privileges, disciplinary action, and civil and/or criminal 
>> penalties.
>> 
>> 
>> > onclick="document.getElementById('warning-box').style='display:none;';">OK
>> 
>> 
>> 
>>
>>
>> Thanks,
>>
>> Tom 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Tom Avino
I am trying to insert a "Warning Box" to display an acknowledgment screen 
at the startup of Dspace.  I am struggling where to place the code




By accessing and using this information system, 
you acknowledge and consent to the following:
You are accessing a U.S. Government information system, 
which includes: (1) this computer; (2) this computer network; (3) all 
computers connected to this network including end user systems; (4) all 
devices and storage media attached to this network or to any computer on 
this network; and (5) cloud and remote information services. This 
information system is provided for U.S. Government-authorized use only. You 
have no reasonable expectation of privacy regarding any communication 
transmitted through or data stored on this information system.  At any 
time, and for any lawful purpose, the U.S. Government may monitor, 
intercept, search, and seize any communication or data transiting, stored 
on, or traveling to or from this information system.  You are NOT 
authorized to process classified information on this information system.  
Unauthorized or improper use of this system may result in suspension or 
loss of access privileges, disciplinary action, and civil and/or criminal 
penalties.


OK





Thanks,

Tom 

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Filter-Media for .docx

2017-11-07 Thread Tom Avino
I am running Dspace 3.3 and Filter-Media is not working for .docx.  Is 
there a fix for this?

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace Single Sign-on

2017-10-17 Thread Tom Avino
Maybe I am crazy, but why do my users have to click the "LOGIN" button to 
do anything since upgrading to Dspace 5 XMLUI?  The shibboleth 
authentication is working, and I know this because once they hit LOGIN, 
they have access.  No passwords, no questions.  So, how do I eliminate the 
LOGIN step?  Once our users are authenticated using single sign-on, they 
should not have to sign on to Dspace too.

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Dspace upgrade to 5.5 causing - Loading item - cannot find metadata field -1 in log

2017-09-18 Thread Tom Avino
I found the problem.  It was bug DS-2164 
<https://jira.duraspace.org/browse/DS-2164>. 
I am not sure why this was not applied when I upgraded.  I simply ran the 
following code, and it fixed the issue.

insert into metadatavalue (
  resource_id, 
  resource_type_id, 
  metadata_field_id, 
  text_value, 
  text_lang, 
  place) 
select 
  eperson_id as resource_id, 
  7 as resource_type_id, 
  (select 
metadata_field_id 
  from metadatafieldregistry 
  where
metadata_schema_id = (select 
  metadata_schema_id 
from metadataschemaregistry 
where
  short_id = 'eperson') and element = 'email' and qualifier is null) as 
metadata_field_id, 
  email as text_value, 
  null as text_lang, 
  0 as place 
from eperson 
where
  not email is null;


On Thursday, September 14, 2017 at 3:57:08 PM UTC-4, Tom Avino wrote:
>
> When I query an item, the item seems to display properly.  However, when I 
> look in the log file I see this error.  I am also having issues with 
> e-persons throwing errors.
>
> ERROR org.dspace.content.DSpaceObject @ Loading item - cannot find 
> metadata field -1 for resourceType=3 and resourceId=29..30..
> I get like 30 of these in the log
>
> Any help would be appreciated.
>
> Tom
>
> -- 
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace upgrade to 5.5 causing - Loading item - cannot find metadata field -1 in log

2017-09-14 Thread Tom Avino
When I query an item, the item seems to display properly.  However, when I 
look in the log file I see this error.  I am also having issues with 
e-persons throwing errors.

ERROR org.dspace.content.DSpaceObject @ Loading item - cannot find metadata 
field -1 for resourceType=3 and resourceId=29..30..
I get like 30 of these in the log

Any help would be appreciated.

Tom

-- 

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Dspace 5 XMLUI - Add filter to advanced filters

2017-09-13 Thread Tom Avino
Terry,

Brilliant!  Once again you have helped!

Thanks.

Tom

On Tuesday, September 12, 2017 at 1:13:28 PM UTC-4, Terry Brady wrote:
>
> Tom,
>
> You can define additional filters in the following configuration file: 
> https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L99-L102
>
> As you add new filters you have a number of options
>
>- You can apply them across the repository or just to specific 
>collections: 
>
> https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L29-L38
>- As you define new filters, you can also choose which ones to add as 
>sidebar facets: 
>
> https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L88-L91
>
> Many changes to this file require a full re-index of the discovery index 
> to take effect.
>
> Terry
>
> On Tue, Sep 12, 2017 at 9:14 AM, Tom Avino <tomav...@gmail.com> wrote:
>
>> Currently, when a user clicks advanced filters, they only have 4 choices, 
>> Title, Author, Subject, and Date Issued.  How do I add additional ones?
>>
>> Thank you,
>>
>> Tom Avino
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5 XMLUI - Add filter to advanced filters

2017-09-12 Thread Tom Avino
Currently, when a user clicks advanced filters, they only have 4 choices, 
Title, Author, Subject, and Date Issued.  How do I add additional ones?

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR Configuration (Searching)

2017-09-08 Thread Tom Avino
Terry,

I wanted to get back to you on this since you were so helpful with my SOLR 
search.
What I was doing wrong was, after I modified the schema.xml file, I 
ran dspace index-db-browse.  I was told by Tim Donahue, that I need to run 
index-discovery with the -b option.
So, everything is working great.  I am using your recommended textgen and 
am grateful for your help.

Thanks,

Tom Avino

On Wednesday, August 30, 2017 at 10:43:07 AM UTC-4, Terry Brady wrote:
>
> Tom,
>
> Here is my modified schema.xml for DSpace 5x: 
> https://gist.github.com/terrywbrady/097164329b2574b9d6bd4bb8433ca37b
>
> I will be curious if this resolves issue for you.  If so, we might want to 
> propose this as an enhancement.
>
> Terry
>
> On Wed, Aug 30, 2017 at 5:43 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> Terry,
>>
>> Where and how did you change to textgen?  I guess that is what I cannot 
>> find,  I see it in schema.xml, but not sure where to change it.
>>
>> Thanks
>>
>> On Tuesday, August 29, 2017 at 6:23:19 PM UTC-4, Terry Brady wrote:
>>>
>>> Unfortunately, I am not aware of any documentation on how to configure 
>>> this file for DSpace.
>>>
>>> We found that the term stemming returned far too many false hits, so I 
>>> changed several of our fields from "text" to "textgen" and the results were 
>>> improved.
>>>
>>>
>>> https://github.com/DSpace/DSpace/blob/master/dspace/solr/search/conf/schema.xml#L278-L279
>>>
>>> On Tue, Aug 29, 2017 at 1:41 PM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> Since we switched from Dspace 3.3 JSPUI to XMLUI, our search is not 
>>>> working the same. If our users type a specific item CA01234, it will not 
>>>> find this even though it is in one of the metadata fields.  I am not sure 
>>>> how SOLR works.  I have looked what is in schema.xml.  I am unclear which 
>>>> fieldtype is used when a search is done.  It looks like each fieldtype can 
>>>> have different parameters.  There is "text_ws", "text", "textTight", etc.
>>>> Where in Dspace do you pick which one to use during a search???
>>>>
>>>> Example
>>>> >>> positionIncrementGap="100">
>>>>   
>>>> 
>>>> >>> ignoreCase="true"
>>>> words="stopwords.txt"
>>>> enablePositionIncrements="true"
>>>> />
>>>> >>> preserveOriginal="1" *splitOnNumerics="0" generateWordParts="1" 
>>>> generateNumberParts="1" catenateWords="1" catenateNumbers="1" 
>>>> catenateAll="0" splitOnCaseChange="0"*/>
>>>>
>>>>
>>>> Tom Avino
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> http://georgetown-university-libraries.github.io/
>>> 425-298-5498 (Seattle, WA)
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR search NOT WORKING Dspace 5

2017-09-08 Thread Tom Avino
Tim,
Thanks for all of the info.  I did run the index-discovery with the -b 
option.  Everything is working as it should now.  I am not really sure what 
happened. We did our upgrade a few months ago, and the searches were 
working great.  I did extensive testing.  For now, i'll just check the 
"it's done and working" box.

Thanks,

Tom Avino

On Friday, September 8, 2017 at 11:01:13 AM UTC-4, Tim Donohue wrote:
>
> Hi Tom,
>
> Yes. To be clear the "index-discovery" script is just a tool to reindex 
> content within Solr. So, as Solr itself recommends, if you change the Solr 
> Schema you should reindex.  Similarly, if you configure DSpace to support 
> more filters/facets (stored in Solr) you'd also need to reindex.
>
> The good news here is that "index-discovery" can be run while the site is 
> up and running, as it runs on the backend. However, until the full reindex 
> completes, users might only get partial results for any searches (as Solr 
> will only return results based on what it has indexed so far).
>
> - Tim
>
> On Thu, Sep 7, 2017 at 9:48 PM Tom Avino <toma...@gmail.com > 
> wrote:
>
>> Thank you Tom.
>> If I make changes to schema.xml (.e.g., use textgen instead of text) do I 
>> need to re-run the index-discovery?  We have a large database here, and I 
>> don't want to do it twice.
>> Thank you again for your help.
>>
>> Tom
>>
>>  
>>
>> *Tom Avino *
>>
>> LITES II Application Developer | SAIC 
>>
>> 757.864-8495 | thomas.w.av...@nasa.gov  
>>
>> On Thursday, September 7, 2017 at 2:00:37 PM UTC-4, Tim Donohue wrote:
>>
>>> Hi Tom,
>>>
>>> If you are using Solr (i.e. Discovery) for Search/Browse, then you 
>>> should be using the "dspace index-discovery" commandline option to do 
>>> reindexes.  The "index-db-browse" option you mentioned was deprecated (and 
>>> now no longer exists in DSpace 6), as it only reindexed content in the 
>>> legacy database-based browse index tables:
>>>
>>> https://wiki.duraspace.org/display/DSDOC5x/Legacy+methods+for+re-indexing+content
>>>
>>> For more on "index-discovery", see
>>>
>>> https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-DiscoverySolrIndexMaintenance
>>>  
>>>
>>> You may wish to run the "dspace index-discovery -b" command (does a full 
>>> reindex) and see if that resolves the issue.
>>>
>>> Good luck,
>>>
>>> Tim
>>>
>>> On Thu, Sep 7, 2017 at 12:46 PM Tom Avino <toma...@gmail.com> wrote:
>>>
>> We upgraded to Dspace 5.5 XMLUI, and the SOLR search cannot even find 
>>>> words that are in a title.  
>>>> I have tried rebuilding the indexes using dspace index-db-browse -f -d. 
>>>>  
>>>> Not sure what is going on here.  I am looking for the title "CA026540" 
>>>> where "CA026540" is the only wording in the title, and the search cannot 
>>>> find it.
>>>>
>>>> Tom
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>>
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>
>>>
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>>
>>> Tim Donohue
>>> Technical Lead for DSpace & DSpaceDirect
>>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
>
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR search NOT WORKING Dspace 5

2017-09-07 Thread Tom Avino
Thank you Tom.
If I make changes to schema.xml (.e.g., use textgen instead of text) do I 
need to re-run the index-discovery?  We have a large database here, and I 
don't want to do it twice.
Thank you again for your help.

Tom

 

*Tom Avino *

LITES II Application Developer | SAIC 

757.864-8495 | thomas.w.av...@nasa.gov 

On Thursday, September 7, 2017 at 2:00:37 PM UTC-4, Tim Donohue wrote:
>
> Hi Tom,
>
> If you are using Solr (i.e. Discovery) for Search/Browse, then you should 
> be using the "dspace index-discovery" commandline option to do reindexes.  
> The "index-db-browse" option you mentioned was deprecated (and now no 
> longer exists in DSpace 6), as it only reindexed content in the legacy 
> database-based browse index tables:
>
> https://wiki.duraspace.org/display/DSDOC5x/Legacy+methods+for+re-indexing+content
>
> For more on "index-discovery", see
>
> https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-DiscoverySolrIndexMaintenance
>  
>
> You may wish to run the "dspace index-discovery -b" command (does a full 
> reindex) and see if that resolves the issue.
>
> Good luck,
>
> Tim
>
> On Thu, Sep 7, 2017 at 12:46 PM Tom Avino <toma...@gmail.com > 
> wrote:
>
>> We upgraded to Dspace 5.5 XMLUI, and the SOLR search cannot even find 
>> words that are in a title.  
>> I have tried rebuilding the indexes using dspace index-db-browse -f -d.  
>> Not sure what is going on here.  I am looking for the title "CA026540" 
>> where "CA026540" is the only wording in the title, and the search cannot 
>> find it.
>>
>> Tom
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
>
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] SOLR search NOT WORKING Dspace 5

2017-09-07 Thread Tom Avino
We upgraded to Dspace 5.5 XMLUI, and the SOLR search cannot even find words 
that are in a title.  
I have tried rebuilding the indexes using dspace index-db-browse -f -d.  
Not sure what is going on here.  I am looking for the title "CA026540" 
where "CA026540" is the only wording in the title, and the search cannot 
find it.

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR Configuration (Searching)

2017-08-31 Thread Tom Avino
Terry,

I was looking at the wrong schema.xml.  
I understand now.  This is from yours and it makes sense now.
Thank you again, and I will let you know if this works for me.  I think it 
will





On Wednesday, August 30, 2017 at 10:43:07 AM UTC-4, Terry Brady wrote:
>
> Tom,
>
> Here is my modified schema.xml for DSpace 5x: 
> https://gist.github.com/terrywbrady/097164329b2574b9d6bd4bb8433ca37b
>
> I will be curious if this resolves issue for you.  If so, we might want to 
> propose this as an enhancement.
>
> Terry
>
> On Wed, Aug 30, 2017 at 5:43 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> Terry,
>>
>> Where and how did you change to textgen?  I guess that is what I cannot 
>> find,  I see it in schema.xml, but not sure where to change it.
>>
>> Thanks
>>
>> On Tuesday, August 29, 2017 at 6:23:19 PM UTC-4, Terry Brady wrote:
>>>
>>> Unfortunately, I am not aware of any documentation on how to configure 
>>> this file for DSpace.
>>>
>>> We found that the term stemming returned far too many false hits, so I 
>>> changed several of our fields from "text" to "textgen" and the results were 
>>> improved.
>>>
>>>
>>> https://github.com/DSpace/DSpace/blob/master/dspace/solr/search/conf/schema.xml#L278-L279
>>>
>>> On Tue, Aug 29, 2017 at 1:41 PM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> Since we switched from Dspace 3.3 JSPUI to XMLUI, our search is not 
>>>> working the same. If our users type a specific item CA01234, it will not 
>>>> find this even though it is in one of the metadata fields.  I am not sure 
>>>> how SOLR works.  I have looked what is in schema.xml.  I am unclear which 
>>>> fieldtype is used when a search is done.  It looks like each fieldtype can 
>>>> have different parameters.  There is "text_ws", "text", "textTight", etc.
>>>> Where in Dspace do you pick which one to use during a search???
>>>>
>>>> Example
>>>> >>> positionIncrementGap="100">
>>>>   
>>>> 
>>>> >>> ignoreCase="true"
>>>> words="stopwords.txt"
>>>> enablePositionIncrements="true"
>>>> />
>>>> >>> preserveOriginal="1" *splitOnNumerics="0" generateWordParts="1" 
>>>> generateNumberParts="1" catenateWords="1" catenateNumbers="1" 
>>>> catenateAll="0" splitOnCaseChange="0"*/>
>>>>
>>>>
>>>> Tom Avino
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> http://georgetown-university-libraries.github.io/
>>> 425-298-5498 (Seattle, WA)
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR Configuration (Searching)

2017-08-31 Thread Tom Avino
Terry,

So I think I partially understand.  You modified the values in the 
"textgen" fieldtype in schema.xml.
But doesn't the line below define which type to use for a search?  Where do 
you specify to use "textgen" for a search?  I hope I am not giving you a 
headache.  


On Wednesday, August 30, 2017 at 10:43:07 AM UTC-4, Terry Brady wrote:
>
> Tom,
>
> Here is my modified schema.xml for DSpace 5x: 
> https://gist.github.com/terrywbrady/097164329b2574b9d6bd4bb8433ca37b
>
> I will be curious if this resolves issue for you.  If so, we might want to 
> propose this as an enhancement.
>
> Terry
>
> On Wed, Aug 30, 2017 at 5:43 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> Terry,
>>
>> Where and how did you change to textgen?  I guess that is what I cannot 
>> find,  I see it in schema.xml, but not sure where to change it.
>>
>> Thanks
>>
>> On Tuesday, August 29, 2017 at 6:23:19 PM UTC-4, Terry Brady wrote:
>>>
>>> Unfortunately, I am not aware of any documentation on how to configure 
>>> this file for DSpace.
>>>
>>> We found that the term stemming returned far too many false hits, so I 
>>> changed several of our fields from "text" to "textgen" and the results were 
>>> improved.
>>>
>>>
>>> https://github.com/DSpace/DSpace/blob/master/dspace/solr/search/conf/schema.xml#L278-L279
>>>
>>> On Tue, Aug 29, 2017 at 1:41 PM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> Since we switched from Dspace 3.3 JSPUI to XMLUI, our search is not 
>>>> working the same. If our users type a specific item CA01234, it will not 
>>>> find this even though it is in one of the metadata fields.  I am not sure 
>>>> how SOLR works.  I have looked what is in schema.xml.  I am unclear which 
>>>> fieldtype is used when a search is done.  It looks like each fieldtype can 
>>>> have different parameters.  There is "text_ws", "text", "textTight", etc.
>>>> Where in Dspace do you pick which one to use during a search???
>>>>
>>>> Example
>>>> >>> positionIncrementGap="100">
>>>>   
>>>> 
>>>> >>> ignoreCase="true"
>>>> words="stopwords.txt"
>>>> enablePositionIncrements="true"
>>>> />
>>>> >>> preserveOriginal="1" *splitOnNumerics="0" generateWordParts="1" 
>>>> generateNumberParts="1" catenateWords="1" catenateNumbers="1" 
>>>> catenateAll="0" splitOnCaseChange="0"*/>
>>>>
>>>>
>>>> Tom Avino
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> http://georgetown-university-libraries.github.io/
>>> 425-298-5498 (Seattle, WA)
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] SOLR Configuration (Searching)

2017-08-30 Thread Tom Avino
Terry,

Where and how did you change to textgen?  I guess that is what I cannot 
find,  I see it in schema.xml, but not sure where to change it.

Thanks

On Tuesday, August 29, 2017 at 6:23:19 PM UTC-4, Terry Brady wrote:
>
> Unfortunately, I am not aware of any documentation on how to configure 
> this file for DSpace.
>
> We found that the term stemming returned far too many false hits, so I 
> changed several of our fields from "text" to "textgen" and the results were 
> improved.
>
>
> https://github.com/DSpace/DSpace/blob/master/dspace/solr/search/conf/schema.xml#L278-L279
>
> On Tue, Aug 29, 2017 at 1:41 PM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> Since we switched from Dspace 3.3 JSPUI to XMLUI, our search is not 
>> working the same. If our users type a specific item CA01234, it will not 
>> find this even though it is in one of the metadata fields.  I am not sure 
>> how SOLR works.  I have looked what is in schema.xml.  I am unclear which 
>> fieldtype is used when a search is done.  It looks like each fieldtype can 
>> have different parameters.  There is "text_ws", "text", "textTight", etc.
>> Where in Dspace do you pick which one to use during a search???
>>
>> Example
>> > positionIncrementGap="100">
>>   
>> 
>> > ignoreCase="true"
>> words="stopwords.txt"
>> enablePositionIncrements="true"
>> />
>> > preserveOriginal="1" *splitOnNumerics="0" generateWordParts="1" 
>> generateNumberParts="1" catenateWords="1" catenateNumbers="1" 
>> catenateAll="0" splitOnCaseChange="0"*/>
>>
>>
>> Tom Avino
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] SOLR Configuration (Searching)

2017-08-29 Thread Tom Avino
Since we switched from Dspace 3.3 JSPUI to XMLUI, our search is not working 
the same. If our users type a specific item CA01234, it will not find this 
even though it is in one of the metadata fields.  I am not sure how SOLR 
works.  I have looked what is in schema.xml.  I am unclear which fieldtype 
is used when a search is done.  It looks like each fieldtype can have 
different parameters.  There is "text_ws", "text", "textTight", etc.
Where in Dspace do you pick which one to use during a search???

Example

  
    




Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Automatic login to Dspace

2017-08-21 Thread Tom Avino
Terry,

We have modified our Headers the same way, as well as our footers and some 
other things, but I am looking for a way to modify logic, such as, before 
allowing a user into our Dspace home page, I want to display a disclaimer 
page.  If yes, take the user to the home URL.  If no, exit Dspace.  This 
was simple in JSP

Go Hoyas!


On Thursday, August 17, 2017 at 3:22:35 PM UTC-4, Terry Brady wrote:
>
> Tom, here is a link to the repository that I support which is running 
> DSpace 5x + XMLUI + Mirage2 theme.
>
> https://repository.library.georgetown.edu/
>
> In my source code branch, I have a directory 
> dspace\modules\xmlui-mirage2\src\main\webapp\themes\Mirage2\xsl in which I 
> have overridden Mirage 2XSL templates.
>
>- See 
>
> https://github.com/DSpace/DSpace/tree/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl
>
>
> For instance, I have overridden the "buildHeader" template with my own 
> header components.
>
>- See 
>
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L321
>
> When you are working with XMLUI, you can view the back-end XML by adding 
> ?XML to any URL.  From that XML, you can find the xml element to be 
> modified.  Once you know the element, you search the XSL for the template 
> that modifies that element and can provide your override.
>
> The following section of the wiki might also help: 
> https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization
>
> On Thu, Aug 17, 2017 at 8:53 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> Terry,
>> I am a coder by trade.  I have 20+ years as on Oracle developer writing 
>> SQL, packages, etc. I have been working with Dspace for a few years, but on 
>> the JSP side.
>> In general, is there a way to "code" using XMLUI?  I have looked at 
>> tutorials on XSL and XSL, but do not see any way to veer of the path to do 
>> something different other than change what and how something is displayed.
>> One example I am trying to do is, our system requires a disclaimer page 
>> in front of the dspace home page. In JSPUI, I just modified the code on the 
>> home.jsp page.  I need to learn how to write some code using the  XMLUI 
>> interface.  
>> Do you have any answers or know someone who might?  Any help would be 
>> appreciated.
>>
>> Thanks
>>
>> Tom
>>
>> On Monday, August 14, 2017 at 4:54:00 PM UTC-4, Terry Brady wrote:
>>>
>>> I have never run JSPUI, so I do not know how the authentication process 
>>> differs between XMLUI and JSPUI.
>>>
>>> The behavior you describe matches my experience with XMLUI.  I have 
>>> found that I have to hit the Login button.  If I am already authenticated 
>>> with Shibboleth, I am not required to re-authenticate after hitting Login.
>>>
>>> I see that JSPUI has a setting *webui.session.invalidate* described 
>>> here 
>>> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-JSPWebInterface(JSPUI)Settings
>>>  
>>> that may have enable the feature you describe.  If that is correct, I do 
>>> not see a similar setting for XMLUI.
>>>
>>> Terry
>>>
>>> On Mon, Aug 14, 2017 at 11:33 AM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> I may not have asked this the correct way on my last post.  
>>>> What I am trying to do is automatically login to my Dspace 5.5 (XMLUI) 
>>>> session when I enter the URL.  We are using Shibboleth, and our old system 
>>>> (Dspace 3.3) was using JSPUI.  Our users were automatically logged in.
>>>> Since the upgrade, I have to press the "Login" to login.  Is it 
>>>> possible that our 3.3 JSPUI instance was using JSP to do the automatic 
>>>> login?  If so, how do I do this in XMLUI?  
>>>> I am really stuck on this one.  I want to be able to enter our URL and 
>>>> be logged in and ready to go.  
>>>>
>>>> Thank you,
>>>>
>>>>  
>>>>
>>>> *Tom Avino *
>>>>
>>>> LITES II Application Developer | SAIC 
>>>>
>>>> o: 757.864-8495 | thomas.w.av...@nasa.gov 
>>>>
>>>> f:  757.864-6649 | 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>&

Re: [dspace-tech] Automatic login to Dspace

2017-08-17 Thread Tom Avino
Terry,
I am a coder by trade.  I have 20+ years as on Oracle developer writing 
SQL, packages, etc. I have been working with Dspace for a few years, but on 
the JSP side.
In general, is there a way to "code" using XMLUI?  I have looked at 
tutorials on XSL and XSL, but do not see any way to veer of the path to do 
something different other than change what and how something is displayed.
One example I am trying to do is, our system requires a disclaimer page in 
front of the dspace home page. In JSPUI, I just modified the code on the 
home.jsp page.  I need to learn how to write some code using the  XMLUI 
interface.  
Do you have any answers or know someone who might?  Any help would be 
appreciated.

Thanks

Tom

On Monday, August 14, 2017 at 4:54:00 PM UTC-4, Terry Brady wrote:
>
> I have never run JSPUI, so I do not know how the authentication process 
> differs between XMLUI and JSPUI.
>
> The behavior you describe matches my experience with XMLUI.  I have found 
> that I have to hit the Login button.  If I am already authenticated with 
> Shibboleth, I am not required to re-authenticate after hitting Login.
>
> I see that JSPUI has a setting *webui.session.invalidate* described here 
> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-JSPWebInterface(JSPUI)Settings
>  
> that may have enable the feature you describe.  If that is correct, I do 
> not see a similar setting for XMLUI.
>
> Terry
>
> On Mon, Aug 14, 2017 at 11:33 AM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> I may not have asked this the correct way on my last post.  
>> What I am trying to do is automatically login to my Dspace 5.5 (XMLUI) 
>> session when I enter the URL.  We are using Shibboleth, and our old system 
>> (Dspace 3.3) was using JSPUI.  Our users were automatically logged in.
>> Since the upgrade, I have to press the "Login" to login.  Is it possible 
>> that our 3.3 JSPUI instance was using JSP to do the automatic login?  If 
>> so, how do I do this in XMLUI?  
>> I am really stuck on this one.  I want to be able to enter our URL and be 
>> logged in and ready to go.  
>>
>> Thank you,
>>
>>  
>>
>> *Tom Avino *
>>
>> LITES II Application Developer | SAIC 
>>
>> o: 757.864-8495 | thomas.w.av...@nasa.gov  
>>
>> f:  757.864-6649 | 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Automatic login to Dspace

2017-08-14 Thread Tom Avino
I may not have asked this the correct way on my last post.  
What I am trying to do is automatically login to my Dspace 5.5 (XMLUI) 
session when I enter the URL.  We are using Shibboleth, and our old system 
(Dspace 3.3) was using JSPUI.  Our users were automatically logged in.
Since the upgrade, I have to press the "Login" to login.  Is it possible 
that our 3.3 JSPUI instance was using JSP to do the automatic login?  If 
so, how do I do this in XMLUI?  
I am really stuck on this one.  I want to be able to enter our URL and be 
logged in and ready to go.  

Thank you,

 

*Tom Avino *

LITES II Application Developer | SAIC 

o: 757.864-8495 | thomas.w.av...@nasa.gov 

f:  757.864-6649 | 

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5.5. Shibboleth no longer auto logins

2017-08-08 Thread Tom Avino
Since we upgraded from Dspace 3.3 JSPUI to Dspace 5.5 XMLUI, our Shibboleth 
works, but no longer auto logins.  I have to click Login.  Our 3.3 version 
took us to the main DSpace page, and we were already logged in.
Any Ideas?  We are using the 5.5 version of authentication-shibboleth.cfg, 
and lazysession = false

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Help getting back to dspace 3.3 after bad upgrade to 5.5

2017-07-28 Thread Tom Avino
Tom:
Thank you everyone with helping me solve this problem.  Once I cleaned out 
the directories, it solved most of my issues.  I also discovered that I 
needed to remove the dspace/target/dspace-3.3-build directory. For some 
reason, older versions of some files remained and did not update during the 
mvn process.


On Thursday, July 27, 2017 at 2:08:03 PM UTC-4, George Kozak wrote:
>
> Tom:
>
> I concur with Hardy.  It might be something in your dspace home 
> directory.  Renaming the existing one and creating a whole new one before 
> you compile the source might fix the problem.
> George Kozak
> Cornell University
>
> On Wed, Jul 26, 2017 at 9:01 PM, Hardy Pottinger <hardy.p...@gmail.com 
> > wrote:
>
>> Tom, if you haven't cleaned out your DSpace dir (where you have the 
>> webapps deployed) you probably have old/cached config and lib folders. 
>> Easiest thing to do is move the old one out of the way, make a new DSpace 
>> directory, and deploy to the new directory with ant.
>>
>> On Jul 26, 2017 7:23 PM, "Tom Avino" <toma...@gmail.com > 
>> wrote:
>>
>> George,
>>
>> It does sound similar to my problem.  I did drop the database and restore 
>> from a good 3.3.  I also validated that my dspace.cfg file was the original 
>> one.  I did  complete rebuild using maven and ant.  I get a 404 error when 
>> I try to bring up out website.  This is getting to be a real pain.
>>
>> Thanks for your input!
>>
>> *Tom Avino *
>>
>> o: 757.864-8495 | thomas.w.av...@nasa.gov 
>>
>> f:  757.864-6649 | thomas.av...@saic.com 
>>
>> On Wednesday, July 26, 2017 at 6:41:53 PM UTC-4, George Kozak wrote:
>>
>>> Hi, Tom:
>>>
>>> I am not sure if this is the same problem as you are having, but I had a 
>>> similar problem when I tried to back out of a DSpace 6.0 install to DSpace 
>>> 5.5.  I discovered that for some reason that I had some remnants from the 
>>> DSpace 6.0 install left in the PostGres database and config files in the 
>>> dspace home directory (even after I removed all of teh DSpace 6.0 stuff).  
>>>
>>> In my case. I found that I had to drop the dspace database, and then 
>>> recreated it, and then added the data from the restored backup. I did the 
>>> same with the dspace home directory.  It may be that you already did all of 
>>> this, but that is what I found helped my problem.
>>> George Kozak
>>> Cornell University
>>>
>>> On Wed, Jul 26, 2017 at 2:01 PM, Tom Avino <toma...@gmail.com> wrote:
>>>
>>>> The errors listed below in cocoon, happen when Tomcat is started back 
>>>> up, not when trying to load the webpage.
>>>> I hope this helps
>>>>
>>>> Tom
>>>>
>>>> On Wednesday, July 26, 2017 at 11:08:16 AM UTC-4, Tom Avino wrote:
>>>>>
>>>>> I have done a few of these upgrades from 3.3 to 5.5 without any 
>>>>> issues.  This one however failed and could not find the issue, so I 
>>>>> decided 
>>>>> to start over.  I had done this a few times before on another Dspace 
>>>>> instance.
>>>>>
>>>>> What I did then was 
>>>>>
>>>>>- restore my postgres database back to pre-upgrade
>>>>>- changed dspace .bash_profile back to maven 2.2.1 from 3.3.9
>>>>>- logged off dspace then logged on
>>>>>- shut down Tomcat
>>>>>- did a rebuild from my original dspace 3.3 src
>>>>>- restarted tomcat
>>>>>
>>>>> This is the error I get.  The application just shows a blank screen, 
>>>>> and the message below is from cocoon.
>>>>>
>>>>> 2017-07-26 10:27:15,200 ERROR 
>>>>> org.springframework.web.context.ContextLoader  - Context initialization 
>>>>> failed
>>>>> org.springframework.beans.factory.BeanCreationException: Error 
>>>>> creating bean with name 'dspace.eventService' defined in ServletContext 
>>>>> resource [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean 
>>>>> failed; nested exception is 
>>>>> org.springframework.beans.factory.BeanDefinitionStoreException: Factory 
>>>>> method [public org.dspace.services.EventService 
>>>>> org.dspace.utils.DSpace.getEventService()] threw exception; nested 
>>>>> exception is java.lang.IllegalStateException: DSpace ker

Re: [dspace-tech] Re: Help getting back to dspace 3.3 after bad upgrade to 5.5

2017-07-26 Thread Tom Avino
George,

It does sound similar to my problem.  I did drop the database and restore 
from a good 3.3.  I also validated that my dspace.cfg file was the original 
one.  I did  complete rebuild using maven and ant.  I get a 404 error when 
I try to bring up out website.  This is getting to be a real pain.

Thanks for your input!

*Tom Avino *

o: 757.864-8495 | thomas.w.av...@nasa.gov

f:  757.864-6649 | thomas.av...@saic.com

On Wednesday, July 26, 2017 at 6:41:53 PM UTC-4, George Kozak wrote:
>
> Hi, Tom:
>
> I am not sure if this is the same problem as you are having, but I had a 
> similar problem when I tried to back out of a DSpace 6.0 install to DSpace 
> 5.5.  I discovered that for some reason that I had some remnants from the 
> DSpace 6.0 install left in the PostGres database and config files in the 
> dspace home directory (even after I removed all of teh DSpace 6.0 stuff).  
>
> In my case. I found that I had to drop the dspace database, and then 
> recreated it, and then added the data from the restored backup. I did the 
> same with the dspace home directory.  It may be that you already did all of 
> this, but that is what I found helped my problem.
> George Kozak
> Cornell University
>
> On Wed, Jul 26, 2017 at 2:01 PM, Tom Avino <toma...@gmail.com 
> > wrote:
>
>> The errors listed below in cocoon, happen when Tomcat is started back up, 
>> not when trying to load the webpage.
>> I hope this helps
>>
>> Tom
>>
>> On Wednesday, July 26, 2017 at 11:08:16 AM UTC-4, Tom Avino wrote:
>>>
>>> I have done a few of these upgrades from 3.3 to 5.5 without any issues.  
>>> This one however failed and could not find the issue, so I decided to start 
>>> over.  I had done this a few times before on another Dspace instance.
>>>
>>> What I did then was 
>>>
>>>- restore my postgres database back to pre-upgrade
>>>- changed dspace .bash_profile back to maven 2.2.1 from 3.3.9
>>>- logged off dspace then logged on
>>>- shut down Tomcat
>>>- did a rebuild from my original dspace 3.3 src
>>>- restarted tomcat
>>>
>>> This is the error I get.  The application just shows a blank screen, and 
>>> the message below is from cocoon.
>>>
>>> 2017-07-26 10:27:15,200 ERROR 
>>> org.springframework.web.context.ContextLoader  - Context initialization 
>>> failed
>>> org.springframework.beans.factory.BeanCreationException: Error creating 
>>> bean with name 'dspace.eventService' defined in ServletContext resource 
>>> [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; 
>>> nested exception is 
>>> org.springframework.beans.factory.BeanDefinitionStoreException: Factory 
>>> method [public org.dspace.services.EventService 
>>> org.dspace.utils.DSpace.getEventService()] threw exception; nested 
>>> exception is java.lang.IllegalStateException: DSpace kernel cannot be null
>>> at 
>>> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
>>> at 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
>>> at 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
>>> at 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
>>> at 
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>> at 
>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
>>> at 
>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
>>> at 
>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
>>> at 
>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
>>> at 
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
>>> at org.springframework.context.su
>>> pport.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
>>> at org.springframework.context.su
>>> pport.Abstrac

[dspace-tech] Re: Help getting back to dspace 3.3 after bad upgrade to 5.5

2017-07-26 Thread Tom Avino
The errors listed below in cocoon, happen when Tomcat is started back up, 
not when trying to load the webpage.
I hope this helps

Tom

On Wednesday, July 26, 2017 at 11:08:16 AM UTC-4, Tom Avino wrote:
>
> I have done a few of these upgrades from 3.3 to 5.5 without any issues. 
>  This one however failed and could not find the issue, so I decided to 
> start over.  I had done this a few times before on another Dspace instance.
>
> What I did then was 
>
>- restore my postgres database back to pre-upgrade
>- changed dspace .bash_profile back to maven 2.2.1 from 3.3.9
>- logged off dspace then logged on
>- shut down Tomcat
>- did a rebuild from my original dspace 3.3 src
>- restarted tomcat
>
> This is the error I get.  The application just shows a blank screen, and 
> the message below is from cocoon.
>
> 2017-07-26 10:27:15,200 ERROR 
> org.springframework.web.context.ContextLoader  - Context initialization 
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'dspace.eventService' defined in ServletContext resource 
> [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; 
> nested exception is 
> org.springframework.beans.factory.BeanDefinitionStoreException: Factory 
> method [public org.dspace.services.EventService 
> org.dspace.utils.DSpace.getEventService()] threw exception; nested 
> exception is java.lang.IllegalStateException: DSpace kernel cannot be null
> at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
> at 
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
> at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
> at 
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
> at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
> at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)
> at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
> at 
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
> at 
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: 
> Factory method [public org.dspace.services.EventService 
> org.dspace.utils.DSpace.getEventService()] threw exception; nested 
> exception is java.lang.IllegalStateException: DSpace kernel cannot be null
> at 
> org.springframework.

[dspace-tech] Help getting back to dspace 3.3 after bad upgrade to 5.5

2017-07-26 Thread Tom Avino
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Change color of system wide alert message (XMLUI)

2017-05-15 Thread Tom Avino
Thank you Hardy.  I learned the hard way that changing the css has to be 
done in _styles.scss.  I kept modifying main.css, and it would get 
overwritten each time I did a build.

Tom Avino

On Friday, May 12, 2017 at 12:13:23 PM UTC-4, Tom Avino wrote:
>
> We are on Dspace 5.5 using XMLUI, and I am trying to change the color of 
> our System-Wide alert text.  I have tried using html in the text entry box 
> with no results.
> I am thinking HTML and XMLUI do not work.  I have some item descriptions 
> that no long display in italic, they just show the html code in the 
> beginning of the text.
>
> Thank you,
>
> Tom Avino
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Change color of system wide alert message (XMLUI)

2017-05-12 Thread Tom Avino
We are on Dspace 5.5 using XMLUI, and I am trying to change the color of 
our System-Wide alert text.  I have tried using html in the text entry box 
with no results.
I am thinking HTML and XMLUI do not work.  I have some item descriptions 
that no long display in italic, they just show the html code in the 
beginning of the text.

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Add disclaimer screen using XMLUI

2017-03-16 Thread Tom Avino

Our system (Dspace 5.5 XMLUI) requires a disclaimer screen before showing 
the home screen.  In the JSPUI version, we just modified the home.jsp to 
include the disclaimer, then created a sitehome.jsp as the new home screen.
I need to basically do the same, but using XMLUI.  I am new to XMLUI, so 
any help would be appreciated.

Thank you,


Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Need help with Dspace 5.5 XMLUI Search returning too many results

2016-11-30 Thread Tom Avino
Since we upgraded to Dspace 5.5 and XMLUI, the search results return almost 
all records.  It is not doing an exact search.  Many of our searches have 
mixed numbers and alpha characters.  The results return as is it breaks up 
the search.  For example, If I search for AH234M22, it searches for 
anything with AH, 234, M, or 22.  If We put double quotes, it will do an 
exact search.  That is not feasible doe to the vast number of users on the 
system.  It is frustrating, and I need to resolve this.

Any help would be appreciated, please.

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] New Dspace 5.5 search not working correctly

2016-11-10 Thread Tom Avino
If I do a search in our new Dspace 5.5 XMLUI for 8NG445, the results are 
returning anything with an '8', or an 'NG, or a '445',  In the past, Dspace 
search would have only returned the exact phrase 8NG445.  We have over 
250,000 items in our database, so this is causing a real problem.  Is there 
a setting I am missing?  Seems like this should not be the default 
behavior.  Is there something I can configure to make this work?  

Thank you 

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Switching from JSPUI to XMLUI - Customize the Simple Item record

2016-10-10 Thread Tom Avino
Thank you so much.  That worked very well!  I think I have a better 
understanding now.


On Friday, October 7, 2016 at 4:09:56 AM UTC-4, Shaun Donovan wrote:
>
> Hi Tom.
>
> Without changing to Mirage2, you can edit 
> [dspace]/webapps/xmlui/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
>
> For example, I added the dc.type field to the short item view by adding 
> the following at about line 292:
>
>   
> 
> class="bold">xmlui.dri2xhtml.METS-1.0.item-type:
>
>
>   
>
>
>
>   
> 
> 
>   
>   
>
> You must just be careful with the $clause parameter. If you insert a 
> field, all of the $clause parameters after the inserted one must be 
> incremented, and further down in the file you will see:
>
> 
> 
>
> You need to increment the clause there as well for each field added.
>
> You can edit this file in place, but if you want it to survive re-builds, 
> you need to add it to 
> [dspace-src]/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
> I personally just rsync my [dspace]/webapps/xmlui/themes/ directory to 
> [dspace-src]/dspace-xmlui/src/main/webapp/themes/ directory, so any changes 
> will survive a re-build.
>
> Cheers.
>
> Shaun.
>
> On 06/10/2016 16:35, Tom Avino wrote:
>
> One quick question, we are running Dspace 5 on a RedHat 6, not Ubuntu. 
>  How does this affect installing the "sudo apt-get install git curl maven 
> ruby-compass default-jdk default-jre" command? 
> We also already have Maven installed.
> Thanks 
> On Thursday, October 6, 2016 at 9:39:01 AM UTC-4, Hilton Gibson wrote: 
>>
>> Hi Tom, 
>>
>> I have some guides here: 
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2
>>
>> Cheers
>>
>> hg
>>
>> On Thu, 6 Oct 2016 at 15:30 Tom Avino <toma...@gmail.com> wrote:
>>
>>> Hilton, 
>>>
>>> We are using Mirage, not Mirage 2.  What do I need to do to install 
>>> Mirage 2?
>>>
>>> Thanks,
>>>
>>> Tom
>>>
>>>
>>> On Thursday, October 6, 2016 at 8:22:12 AM UTC-4, Hilton Gibson wrote:
>>>
>>>> Hi Tom, 
>>>>
>>>> Assuming that you are using Mirage 2 as your theme.
>>>> See: 
>>>> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl
>>>> And see attached for our custom version.
>>>> Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme
>>>>
>>>> Cheers
>>>>
>>>> hg
>>>>
>>>> On Wed, 5 Oct 2016 at 19:59 Copeland, Matthew M <mat...@ku.edu> wrote:
>>>>
>>> As far as I know, the only way to modify that view in the xmlui is to 
>>>>> modify the xsl file.   Assuming you are on a unix based system, you can 
>>>>> do 
>>>>> the following command at the base of your source tree to find the file.
>>>>>
>>>>>  
>>>>>
>>>>> Ø  find . –name item-view.xsl –print
>>>>>
>>>>>  
>>>>>
>>>>> You will most likely see multiple files, and need to pick the one 
>>>>> appropriate for the theme you are working with.  Also, be sure that if 
>>>>> you 
>>>>> modify the file, you keep the changes in the modules directory version, 
>>>>> to 
>>>>> make updating later easier  (Learned this the hard way), rather than 
>>>>> modifying it in place.
>>>>>
>>>>>  
>>>>>
>>>>> Matthew
>>>>>
>>>>>  
>>>>>
>>>>>  
>>>>>
>>>>>  
>>>>>
>>>> *From:* dspac...@googlegroups.com [mailto:dspac...@googlegroups.com] *On 
>>>>> Behalf Of *Tom Avino
>>>>>
>>>>
>>>>> *Sent:* Wednesday, October 05, 2016 10:38 AM
>>>>>
>>>> *To:* DSpace Technical Support <dspac...@googlegroups.com>
>>>>>
>>>>
>>>>> *Subject:* [dspace-tech] Switching from JSPUI to XMLUI - Customize 
>>>>> the Simple Item record
>>>>>
>>>>  
>>>>

Re: [dspace-tech] Switching from JSPUI to XMLUI - Customize the Simple Item record

2016-10-06 Thread Tom Avino
One quick question, we are running Dspace 5 on a RedHat 6, not Ubuntu.  How 
does this affect installing the "sudo apt-get install git curl maven 
ruby-compass default-jdk default-jre" command?
We also already have Maven installed.

Thanks

On Thursday, October 6, 2016 at 9:39:01 AM UTC-4, Hilton Gibson wrote:
>
> Hi Tom,
>
> I have some guides here: 
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2
>
> Cheers
>
> hg
>
> On Thu, 6 Oct 2016 at 15:30 Tom Avino <toma...@gmail.com > 
> wrote:
>
>> Hilton,
>>
>> We are using Mirage, not Mirage 2.  What do I need to do to install 
>> Mirage 2?
>>
>> Thanks,
>>
>> Tom
>>
>>
>> On Thursday, October 6, 2016 at 8:22:12 AM UTC-4, Hilton Gibson wrote:
>>
>>> Hi Tom,
>>>
>>> Assuming that you are using Mirage 2 as your theme.
>>> See: 
>>> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl
>>> And see attached for our custom version.
>>> Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme
>>>
>>> Cheers
>>>
>>> hg
>>>
>>> On Wed, 5 Oct 2016 at 19:59 Copeland, Matthew M <mat...@ku.edu> wrote:
>>>
>> As far as I know, the only way to modify that view in the xmlui is to 
>>>> modify the xsl file.   Assuming you are on a unix based system, you can do 
>>>> the following command at the base of your source tree to find the file.
>>>>
>>>>  
>>>>
>>>> Ø  find . –name item-view.xsl –print
>>>>
>>>>  
>>>>
>>>> You will most likely see multiple files, and need to pick the one 
>>>> appropriate for the theme you are working with.  Also, be sure that if you 
>>>> modify the file, you keep the changes in the modules directory version, to 
>>>> make updating later easier  (Learned this the hard way), rather than 
>>>> modifying it in place.
>>>>
>>>>  
>>>>
>>>> Matthew
>>>>
>>>>  
>>>>
>>>>  
>>>>
>>>>  
>>>>
>>> *From:* dspac...@googlegroups.com [mailto:dspac...@googlegroups.com] *On 
>>>> Behalf Of *Tom Avino
>>>>
>>>
>>>> *Sent:* Wednesday, October 05, 2016 10:38 AM
>>>>
>>> *To:* DSpace Technical Support <dspac...@googlegroups.com>
>>>>
>>>
>>>> *Subject:* [dspace-tech] Switching from JSPUI to XMLUI - Customize the 
>>>> Simple Item record
>>>>
>>>  
>>>>
>>>> We are new to XMLUI.  We are in the process of upgrading dspace 
>>>> 3.3(JSPUI) to 5.5(XMLUI).
>>>>
>>>> I am trying to customize which metadata items are displayed in the 
>>>> Simple item records screen.  JSPUI uses the dspace.cfg file to do this.  
>>>>
>>>> Can someone point me in the right direction to customize this using 
>>>> XMLUI?
>>>>
>>>>  
>>>>
>>>> Thank you,
>>>>
>>>>  
>>>>
>>>> *Tom Avino *
>>>>
>>>> LITES II Application Developer | SAIC 
>>>>
>>>> o: 757.864-8495 | thomas.w.av...@nasa.gov 
>>>>
>>>> f:  757.864-6649 | thomas.av...@saic.com
>>>>
>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>>
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>>
>>>
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Support" group.
>>>>
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>
>>>
>>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> *Hilton Gibson*
>>> Stellenbosch University Library
>>> *http://orcid.org/-0002-2992-208X 
>>> <http://orcid.org/-0002-2992-208X>*
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> *Hilton Gibson*
> Stellenbosch University Library
> *http://orcid.org/-0002-2992-208X 
> <http://orcid.org/-0002-2992-208X>*
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Switching from JSPUI to XMLUI - Customize the Simple Item record

2016-10-06 Thread Tom Avino
Hilton,

We are using Mirage, not Mirage 2.  What do I need to do to install Mirage 
2?

Thanks,

Tom

On Thursday, October 6, 2016 at 8:22:12 AM UTC-4, Hilton Gibson wrote:
>
> Hi Tom,
>
> Assuming that you are using Mirage 2 as your theme.
> See: 
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl
> And see attached for our custom version.
> Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme
>
> Cheers
>
> hg
>
> On Wed, 5 Oct 2016 at 19:59 Copeland, Matthew M <mat...@ku.edu 
> > wrote:
>
>> As far as I know, the only way to modify that view in the xmlui is to 
>> modify the xsl file.   Assuming you are on a unix based system, you can do 
>> the following command at the base of your source tree to find the file.
>>
>>  
>>
>> Ø  find . –name item-view.xsl –print
>>
>>  
>>
>> You will most likely see multiple files, and need to pick the one 
>> appropriate for the theme you are working with.  Also, be sure that if you 
>> modify the file, you keep the changes in the modules directory version, to 
>> make updating later easier  (Learned this the hard way), rather than 
>> modifying it in place.
>>
>>  
>>
>> Matthew
>>
>>  
>>
>>  
>>
>>  
>>
>> *From:* dspac...@googlegroups.com  [mailto:
>> dspac...@googlegroups.com ] *On Behalf Of *Tom Avino
>> *Sent:* Wednesday, October 05, 2016 10:38 AM
>> *To:* DSpace Technical Support <dspac...@googlegroups.com >
>> *Subject:* [dspace-tech] Switching from JSPUI to XMLUI - Customize the 
>> Simple Item record
>>
>>  
>>
>> We are new to XMLUI.  We are in the process of upgrading dspace 
>> 3.3(JSPUI) to 5.5(XMLUI).
>>
>> I am trying to customize which metadata items are displayed in the Simple 
>> item records screen.  JSPUI uses the dspace.cfg file to do this.  
>>
>> Can someone point me in the right direction to customize this using XMLUI?
>>
>>  
>>
>> Thank you,
>>
>>  
>>
>> *Tom Avino *
>>
>> LITES II Application Developer | SAIC 
>>
>> o: 757.864-8495 | thomas.w.av...@nasa.gov  
>>
>> f:  757.864-6649 | thomas.av...@saic.com 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> *Hilton Gibson*
> Stellenbosch University Library
> *http://orcid.org/-0002-2992-208X 
> <http://orcid.org/-0002-2992-208X>*
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] How do I set XMLUI as the default interface without including /XMLUI in the url?

2016-08-18 Thread Tom Avino
We are currently using Dspace 3 JSPUI and are upgrading to XMLUI Dspace 5.5.
Is there a way for our current url to use XMLUI without adding that to the 
URL?  I have noticed on the Dspace site under "Who is using Dspace", XMLUI 
users.  If I go to their URLs, they do not have XMLUI in the URL, yet it is 
clearly using XMLUI

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5 XMLUI - Add text and email to footer

2016-08-08 Thread Tom Avino
I am new to XMLUI.  We have been using JSPUI for years.  I am trying to 
simply add one line of text and 2 names and email addresses.  Does anyone 
know how I can do this?
I know XMLUI is very different, but this should not be rocket science.

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Remove "Dspace JSPUI...DSpace preserves and enables from every page

2016-07-26 Thread Tom Avino
Never mind.

I found it in messages.properties

On Tuesday, July 26, 2016 at 12:38:44 PM UTC-4, Tom Avino wrote:
>
> How do I Remove "Dspace JSPUI...DSpace preserves and enables..." header 
> from every page?
>
> We are upgrading to Dspace 5.5 and do not want to see this on every page. 
>  I cannot seem to find out where to remove it.\
>
> Thank you,
>
>  
>
> *Tom Avino *
>
> *NASA*
>
> LITES II Application Developer | SAIC 
>
> o: 757.864-8495 | thomas.w.av...@nasa.gov 
>
> f:  757.864-6649 
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Remove "Dspace JSPUI...DSpace preserves and enables from every page

2016-07-26 Thread Tom Avino
How do I Remove "Dspace JSPUI...DSpace preserves and enables..." header 
from every page?

We are upgrading to Dspace 5.5 and do not want to see this on every page. 
 I cannot seem to find out where to remove it.\

Thank you,

 

*Tom Avino *

*NASA*

LITES II Application Developer | SAIC 

o: 757.864-8495 | thomas.w.av...@nasa.gov 

f:  757.864-6649 

 

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5.5 top-news size

2016-07-14 Thread Tom Avino
How do I modify the font and size of the "top-news" on the dspace 5.5 home 
page.  It is enormous, and my users have to scroll down to see the 
collections?

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 3.3 dspace metadata-import failed using csv file

2016-06-17 Thread Tom Avino
I am trying to run a dspace metadata-import using the following command
/usr/local/dspace/bin/dspace metadata-import -e thomas.w.xxx...@x.gov 
-f /usr/local/pgsql/dspaceLoad/CA-updates/aero-tech.csv

I am getting the following error:  I have checked each item to make sure 
they are valid
Unknown metadata schema in row 1: 
id^collection^dc.identifier.titleControlKey^dc.identifier.accessionNumber^dc.title^dc.description.titleSuppl^dc.date.published^dc.date.issued^dc.identifier.reportNumber^dc.description.pagination^dc.subject.keywords^dc.description.abstract^dc.contributor.corpAuthor^dc.contributor.author^dc.description.note^dc.identifier.contractNumber^dc.accessConstraint.constraintChange^dc.language.iso^dc.type^dc.subject.categories^dc.date.accessioned^dc.date.available

Any ideas?

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace 5 - is there a cross reference where NAME went? Collection name, bitstream name, etc?

2016-06-09 Thread Tom Avino
Since the Dspace upgrade from 3.3 to 5.5, I can no longer find some of the 
"name" fields.  I have some custom SQL that needs to reference these. 
 Specifically BITSTREAM.NAME, COLLECTION.NAME, COMMUNITY.NAME.  Are there 
by chance any VIEWS created for these to simplify some of my SQL scritps?

Thanks,

Tom Avino 

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] the file new-top_es.html is not a valid news file

2016-06-08 Thread Tom Avino
I followed the instructions at  https://github.com/DSpace/DSpace/pull/1430
This error also occurs on the Dspace Demo site http://demo.dspace.org
I also modified what was in this post above.

Thanks,

Tom


On Wednesday, June 8, 2016 at 8:55:59 AM UTC-4, Luiz dos Santos wrote:
>
> Do you known what the exactly exception that you got? What instructions 
> did you follow, change the class or add the names of the files to the bean 
> configuration file?
>
> On Wednesday, June 8, 2016, Tom Avino <toma...@gmail.com > 
> wrote:
>
>> I tried the following instructions, but still receive Internal Server 
>> error only when I try to edit Top News.  I can edit News Side with no 
>> issues.
>>
>> On Sunday, June 5, 2016 at 12:55:54 AM UTC-4, William Alejandro Ortiz 
>> wrote:
>>>
>>> Hola Victoria :)
>>>
>>> Te cuento que estuve teniendo este mismo problema, y buscando una 
>>> respuesta llegué a tu publicación.
>>>
>>> Quiero compartir contigo la solución, pues fue algo desesperante para mí 
>>> y no quiero que lo siga siendo para ti.
>>>
>>> Debes crear los archivos news-top_es.html y news-side_es.html en 
>>> /dspace/config/
>>>
>>> y luego debes modificar el fichero llamado "core-services.xml", ubicado 
>>> en /dspace/config/spring/api/  para que quede así:
>>>
>>>
>>> 
>>> 
>>> news-top.html
>>> news-side.html
>>> news-top_es.html
>>> news-side_es.html
>>> 
>>> 
>>>
>>>
>>> Espero te sirva y a cualquiera que se encuentre con el mismo problema.
>>>
>>> Buena suerte Victoria y que tengas una buena y feliz vida :)
>>>
>>> Cuidate.
>>>
>>> William.
>>>
>>> On Wednesday, 1 June 2016 09:03:32 UTC-5, Victoria Parra wrote:
>>>>
>>>> good day to all.excuse me for my bad english. but I will try that you 
>>>> can understand my questions.
>>>> I installed dspace 5.5 and all fine but when I change my 
>>>> default.locale=es in dspace.cfg my dspace give me an error:
>>>> the file news-top_es.html is not a valid news file. I am suspecting 
>>>> that maybe my dspace don't can find this form.I want know if I'm right and 
>>>> how I can solve this. I will attach my log for better understanding. 
>>>> Thaking yours suggestions and answers. thank you so much.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: the file new-top_es.html is not a valid news file

2016-06-08 Thread Tom Avino
I am getting a different error.  In my log file, i have the following 
error.  Any ideas?

java.lang.IllegalArgumentException: The file *null *is not a valid news file

On Wednesday, June 1, 2016 at 10:03:32 AM UTC-4, Victoria Parra wrote:
>
> good day to all.excuse me for my bad english. but I will try that you can 
> understand my questions.
> I installed dspace 5.5 and all fine but when I change my default.locale=es 
> in dspace.cfg my dspace give me an error:
> the file news-top_es.html is not a valid news file. I am suspecting that 
> maybe my dspace don't can find this form.I want know if I'm right and how I 
> can solve this. I will attach my log for better understanding. Thaking 
> yours suggestions and answers. thank you so much.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] After upgrading Dspace to 5.5 - Edit news error - The file null is not a valid news file

2016-06-04 Thread Tom Avino
When I click Edit in the News Editor, I get the message below.

2016-06-04 08:56:53,895 WARN 
 org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=8FBB62D7708C724747DE70FB603B4356:internal_error:-- URL Was: 
https://ldr-d.larc.nasa.gov/dspace-admin/news-edit
-- Method: POST
-- Parameters were:
-- submit_edit: "Edit"

java.lang.IllegalArgumentException: *The file null is not a valid news file*
at org.dspace.core.NewsManager.readNewsFile(NewsManager.java:47)
at 
org.dspace.app.webui.servlet.admin.NewsEditServlet.doDSPost(NewsEditServlet.java:55)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter.java:71)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-06-04 08:56:53,896 WARN  org.dspace.app.webui.util.UIUtil @ Unable to 
send email alert
java.lang.NullPointerException
at 
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:230)
at 
org.dspace.content.DSpaceObject$MetadataCache.retrieveMetadata(DSpaceObject.java:1330)
at org.dspace.content.DSpaceObject$MetadataCache.get(DSpaceObject.java:1265)
at org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:676)
at org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:585)
at 
org.dspace.content.DSpaceObject.getMetadataFirstValue(DSpaceObject.java:653)
at org.dspace.eperson.EPerson.getFirstName(EPerson.java:772)
at org.dspace.eperson.EPerson.getFullName(EPerson.java:748)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:419)
at 
org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:54)
at 
org.dspace.app.webui.servlet.InternalErrorServlet.doPost(InternalErrorServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:488)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:476)
at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:420)
at 

[dspace-tech] Dspace upgrade from 3.3 to 5.5 fails

2016-06-03 Thread Tom Avino
I received no errors during the upgrade from 3.3 to 5.5, but could not 
access e-persons. I received Internal System Error.
I could not find in the documentation that I needed to run the following 
registry scripts.  Should they have run automatically?

bin/dspace registry-loader -metadata config/registries/dcterms-types.xml
bin/dspace registry-loader -metadata config/registries/eperson-types.xml
bin/dspace registry-loader -metadata config/registries/sword-metadata.xml
bin/dspace registry-loader -metadata config/registries/workflow-types.xml

Thank you,

Tom Avino

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Upgrade to Dspace 5.5 causes error when accessing e-person

2016-06-03 Thread Tom Avino
I have gone through the documentation of 5.5 upgrade and there is no 
reference to run these.  Are there others that are not in the documentation 
that I need to run??
This seems pretty major to not be listed in the instructions
When does the database get upgraded?  Can I run the script manually?  I 
thought the postgres database upgrade script gets run when dspace is 
started for the first time.
How can I run the below scripts before the database upgrade, if the upgrade 
happens when I start Tomcat, which I need to do to run the scripts below?

On Tuesday, May 24, 2016 at 9:17:21 AM UTC-4, oriol.olive wrote:
>
> Hi Tom,
>  
> I think that you must to upgrade your schemes before upgrading the 
> database.
>  
> bin/dspace registry-loader -metadata config/registries/dcterms-types.xml
> bin/dspace registry-loader -metadata config/registries/eperson-types.xml
> bin/dspace registry-loader -metadata config/registries/sword-metadata.xml
> bin/dspace registry-loader -metadata config/registries/workflow-types.xml
>  
> Warning about that: DSpace upgrades the database when you start tomcat 
> server...
>  
>  
> Good luck!
>  
> -- Original Message --
> From: "Tom Avino" <toma...@gmail.com >
> To: "DSpace Technical Support" <dspac...@googlegroups.com >
> Sent: 23/05/2016 18:48:34
> Subject: [dspace-tech] Upgrade to Dspace 5.5 causes error when accessing 
> e-person
>  
>
> I just upgraded from 3.3 to 5.5.  Everything seems to work fine with the 
> exception of adding, modifying, or anything to do with e-persons. 
> I get the following error in my log.
>
> 2016-05-23 12:46:00,994 WARN 
>  org.dspace.app.webui.servlet.InternalErrorServlet @ 
> :session_id=8BF240B6BB6E818B5130008A9D01FF8F:internal_error:-- URL Was: 
> https://ldr-d.larc.nasa.gov/tools/eperson-list?multiple=false
> -- Method: GET
> -- Parameters were:
> -- multiple: "false"
>
> java.lang.NullPointerException
> at org.dspace.eperson.EPerson.findAll(EPerson.java:523)
> at 
> org.dspace.app.webui.servlet.admin.EPersonListServlet.doDSGet(EPersonListServlet.java:91)
> at 
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
> at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
> at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
> at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnabl

[dspace-tech] Dspace 5.5 eperson table looks wrong. First name, last name gone. Other tables out of whack

2016-05-23 Thread Tom Avino
Does someone have a list of the dspace 5.5 postgres schema?

What specific postgres database changes were made from 3.3 to 5.5?  

Other tables seem wrong.  metadatavalue no longer contains item_id

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Dspace upgrade to 5.5 causing - Loading item - cannot find metadata field -1 ...

2016-05-23 Thread Tom Avino
When I query an item, the item seems to display properly.  However, when I 
look in the log file I see this error.  I am also having issues with 
e-persons throwing errors.

ERROR org.dspace.content.DSpaceObject @ Loading item - cannot find metadata 
field -1 for resourceType=3 and resourceId=29

Any help would be appreciated.

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.