Re: [dspace-tech] Solr item view stats not updating in browser

2017-11-28 Thread Gary Browne
Excellent, that's a really big help Terry!

So I've established that the hits are being recorded in my Solr index, they 
are just not being displayed in the GUI.

I should have mentioned:

DSpace 4.1
RHEL 7
Tomcat 7
Apache 2.2
JSPUI

Much appreciated,
Gary

On Wednesday, November 29, 2017 at 10:58:02 AM UTC+11, Terry Brady wrote:
>
> Gary,
>
> That is correct.  DSpace makes some attempt to filter out bot traffic.  
> When you look directly at the SOLR records, you may see some records with 
> an isBot field.
>
> To view the item counts, the following query will reveal those: type:2 AND 
> id:2924
>
> The bundle filter does not apply to the item records.  
>
> You can also query on owningComm and owningColl to compute aggregate 
> statistics for a collection or community.
>
> In case it is helpful, I have some PHP code that queries SOLR.  This code 
> has some examples of other useful SOLR queries: 
> https://github.com/Georgetown-University-Libraries/batch-tools/tree/master/web/stats
>
> On Tue, Nov 28, 2017 at 3:38 PM, Gary Browne  > wrote:
>
>> Thanks Terry,
>>
>> So I'm assuming "bitstream views" equate to "dowloads"? If so, that gives 
>> me a figure more like what I would expect.
>>
>> And how would I get item view counts for this particular item?
>>
>> We haven't sharded our stats.
>>
>> Ta,
>> Gary
>>
>> On Wednesday, November 29, 2017 at 10:21:38 AM UTC+11, Terry Brady wrote:
>>>
>>> If you get the database id for the item, you can run the following query 
>>> from your SOLR console for the statistics repo.
>>>
>>> In DSpace 6, the id will be a UUID.  In DSpace 3-5, it will be an 
>>> integer.  2924 is being used in the sample query below.
>>>
>>> type:0 AND owningItem:2924 AND bundleName:ORIGINAL
>>>
>>> type:0 - restrict to bitstream views
>>> bundleName:ORIGINAL - exclude thumbnail views
>>>
>>> Have your statistics been sharded into different repos such as 
>>> statistics-2012?  If so, that requires an additional query parameter in the 
>>> solr console to view the older shards.
>>>
>>> On Tue, Nov 28, 2017 at 2:53 PM, Gary Browne  
>>> wrote:
>>>
 Hi all,

  

 I know there are more views and downloads on this item than are 
 displaying in the browser:

  

 https://ses.library.usyd.edu.au/handle/2123/17600/statistics

  

 How can I query Solr directly to see if the correct figures are in the 
 Solr index?

  

 In the dspace logs I see this (among other view_item entries):

  

 2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @ 
 Reading statlets(ids[]=[] handle=2123/17600)

  

 As far as view entries, just from today I have:

  

 $ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l

 $ 318

  

 Yet only 20 views display in the browser. I’ve run index-discovery and 
 index-discovery –o again, but no change.

  

 Any ideas?? The author is quite concerned about the lack of figures. 
 There are no download figures on the stats page either.

  

 Thanks a lot

 Gary

  

 Gary Browne | Technical Manager, Developments
 Online Services
 University of Sydney Library
 THE UNIVERSITY OF SYDNEY
 Level 1, Fisher Library F03, The University of Sydney NSW 2006
 T +61 2 9351 5946 | M +61 405 647 868
 E gary.bro...@sydney.edu.au 
 
 Sent from my plain old desktop computer

  

 -- 
 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...@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 rece

Re: [dspace-tech] Re: Submission Problem in DSpace 6.2

2017-11-28 Thread eneshukic via DSpace Technical Support
Hi George,

I did not see your complete error stack, but you should look for the dspace 
objects.  The error should exactly point out where the problem is.  When 
you find it, change FetchType.Lazy to FetchType.Eager.

Regards,
Enes

On Tuesday, November 28, 2017 at 5:45:02 PM UTC+1, George Kozak wrote:
>
> Enes:
>
> I am unfamiliar with hibernate.  I checked the config 
> file  hibernate.cfg.xml, but did not see anything about changing class from 
> "lazy" to "eager".  Is there somewhere else where this change should be 
> made?
> Thanks,
> George Kozak
> Cornell University
>
> On Tue, Nov 28, 2017 at 6:24 AM, eneshukic via DSpace Technical Support <
> dspac...@googlegroups.com > wrote:
>
>> Hi George,
>>
>> This is Hibernate error.Try changing initaization in your class from 
>> lazy to eager.
>>
>> Regards,
>> Enes
>>
>> On Monday, November 27, 2017 at 5:46:02 PM UTC+1, George Kozak wrote:
>>>
>>> Hi,
>>> We are moving to upgrade our production server (which is running DSpace 
>>> 5.5) to Dspace 6.2.  In our testing, we have found a problem with 
>>> submissions.  When someone submits an item the following error appears: 
>>> "could not initialize proxy - no Session".
>>> Has anyone ecountered this before?
>>>
>>> The underlining stack trace shows:
>>> Java stacktrace: org.hibernate.LazyInitializationException: could not 
>>> initialize proxy - no Session at 
>>> org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165)
>>>  
>>> at 
>>> org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286)
>>>  
>>> at 
>>> org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
>>>  
>>> at 
>>> org.dspace.content.Bitstream_$$_jvstdfd_c.getID(Bitstream_$$_jvstdfd_c.java)
>>>  
>>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:325) 
>>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:280) 
>>> at 
>>> org.dspace.app.xmlui.aspect.versioning.Navigation.getValidity(Navigation.java:129)
>>>  
>>> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>  
>>> at java.lang.reflect.Method.invoke(Method.java:606) at 
>>> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
>>>  
>>> at com.sun.proxy.$Proxy226.getValidity(Unknown Source) at 
>>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getValidityForInternalPipeline(AbstractCachingProcessingPipeline.java:987)
>>>  
>>> at ...
>>>
>>> -- 
>>> ***
>>> George Kozak
>>> Digital Library Specialist
>>> Cornell University Library - IT
>>> 218 Olin Library
>>> Cornell University
>>> Ithaca, NY 14853
>>> 607-255-8924
>>> gs...@cornell.edu 
>>>
>> -- 
>> 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.
>>
>
>
>
> -- 
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> gs...@cornell.edu  
>

-- 
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 item view stats not updating in browser

2017-11-28 Thread Terry Brady
Gary,

That is correct.  DSpace makes some attempt to filter out bot traffic.
When you look directly at the SOLR records, you may see some records with
an isBot field.

To view the item counts, the following query will reveal those: type:2 AND
id:2924

The bundle filter does not apply to the item records.

You can also query on owningComm and owningColl to compute aggregate
statistics for a collection or community.

In case it is helpful, I have some PHP code that queries SOLR.  This code
has some examples of other useful SOLR queries:
https://github.com/Georgetown-University-Libraries/batch-tools/tree/master/web/stats

On Tue, Nov 28, 2017 at 3:38 PM, Gary Browne 
wrote:

> Thanks Terry,
>
> So I'm assuming "bitstream views" equate to "dowloads"? If so, that gives
> me a figure more like what I would expect.
>
> And how would I get item view counts for this particular item?
>
> We haven't sharded our stats.
>
> Ta,
> Gary
>
> On Wednesday, November 29, 2017 at 10:21:38 AM UTC+11, Terry Brady wrote:
>>
>> If you get the database id for the item, you can run the following query
>> from your SOLR console for the statistics repo.
>>
>> In DSpace 6, the id will be a UUID.  In DSpace 3-5, it will be an
>> integer.  2924 is being used in the sample query below.
>>
>> type:0 AND owningItem:2924 AND bundleName:ORIGINAL
>>
>> type:0 - restrict to bitstream views
>> bundleName:ORIGINAL - exclude thumbnail views
>>
>> Have your statistics been sharded into different repos such as
>> statistics-2012?  If so, that requires an additional query parameter in the
>> solr console to view the older shards.
>>
>> On Tue, Nov 28, 2017 at 2:53 PM, Gary Browne 
>> wrote:
>>
>>> Hi all,
>>>
>>>
>>>
>>> I know there are more views and downloads on this item than are
>>> displaying in the browser:
>>>
>>>
>>>
>>> https://ses.library.usyd.edu.au/handle/2123/17600/statistics
>>>
>>>
>>>
>>> How can I query Solr directly to see if the correct figures are in the
>>> Solr index?
>>>
>>>
>>>
>>> In the dspace logs I see this (among other view_item entries):
>>>
>>>
>>>
>>> 2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @
>>> Reading statlets(ids[]=[] handle=2123/17600)
>>>
>>>
>>>
>>> As far as view entries, just from today I have:
>>>
>>>
>>>
>>> $ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
>>>
>>> $ 318
>>>
>>>
>>>
>>> Yet only 20 views display in the browser. I’ve run index-discovery and
>>> index-discovery –o again, but no change.
>>>
>>>
>>>
>>> Any ideas?? The author is quite concerned about the lack of figures.
>>> There are no download figures on the stats page either.
>>>
>>>
>>>
>>> Thanks a lot
>>>
>>> Gary
>>>
>>>
>>>
>>> Gary Browne | Technical Manager, Developments
>>> Online Services
>>> University of Sydney Library
>>> THE UNIVERSITY OF SYDNEY
>>> Level 1, Fisher Library F03, The University of Sydney NSW 2006
>>> T +61 2 9351 5946 | M +61 405 647 868
>>> E gary.bro...@sydney.edu.au
>>> 
>>> Sent from my plain old desktop computer
>>>
>>>
>>>
>>> --
>>> 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 <(425)%20298-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.
>



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


Re: [dspace-tech] Solr item view stats not updating in browser

2017-11-28 Thread Gary Browne
Thanks Terry,

So I'm assuming "bitstream views" equate to "dowloads"? If so, that gives 
me a figure more like what I would expect.

And how would I get item view counts for this particular item?

We haven't sharded our stats.

Ta,
Gary

On Wednesday, November 29, 2017 at 10:21:38 AM UTC+11, Terry Brady wrote:
>
> If you get the database id for the item, you can run the following query 
> from your SOLR console for the statistics repo.
>
> In DSpace 6, the id will be a UUID.  In DSpace 3-5, it will be an 
> integer.  2924 is being used in the sample query below.
>
> type:0 AND owningItem:2924 AND bundleName:ORIGINAL
>
> type:0 - restrict to bitstream views
> bundleName:ORIGINAL - exclude thumbnail views
>
> Have your statistics been sharded into different repos such as 
> statistics-2012?  If so, that requires an additional query parameter in the 
> solr console to view the older shards.
>
> On Tue, Nov 28, 2017 at 2:53 PM, Gary Browne  > wrote:
>
>> Hi all,
>>
>>  
>>
>> I know there are more views and downloads on this item than are 
>> displaying in the browser:
>>
>>  
>>
>> https://ses.library.usyd.edu.au/handle/2123/17600/statistics
>>
>>  
>>
>> How can I query Solr directly to see if the correct figures are in the 
>> Solr index?
>>
>>  
>>
>> In the dspace logs I see this (among other view_item entries):
>>
>>  
>>
>> 2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @ 
>> Reading statlets(ids[]=[] handle=2123/17600)
>>
>>  
>>
>> As far as view entries, just from today I have:
>>
>>  
>>
>> $ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
>>
>> $ 318
>>
>>  
>>
>> Yet only 20 views display in the browser. I’ve run index-discovery and 
>> index-discovery –o again, but no change.
>>
>>  
>>
>> Any ideas?? The author is quite concerned about the lack of figures. 
>> There are no download figures on the stats page either.
>>
>>  
>>
>> Thanks a lot
>>
>> Gary
>>
>>  
>>
>> Gary Browne | Technical Manager, Developments
>> Online Services
>> University of Sydney Library
>> THE UNIVERSITY OF SYDNEY
>> Level 1, Fisher Library F03, The University of Sydney NSW 2006
>> T +61 2 9351 5946 | M +61 405 647 868
>> E gary.bro...@sydney.edu.au 
>> 
>> Sent from my plain old desktop computer
>>
>>  
>>
>> -- 
>> 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.


Re: [dspace-tech] Solr item view stats not updating in browser

2017-11-28 Thread Terry Brady
If you get the database id for the item, you can run the following query
from your SOLR console for the statistics repo.

In DSpace 6, the id will be a UUID.  In DSpace 3-5, it will be an integer.
2924 is being used in the sample query below.

type:0 AND owningItem:2924 AND bundleName:ORIGINAL

type:0 - restrict to bitstream views
bundleName:ORIGINAL - exclude thumbnail views

Have your statistics been sharded into different repos such as
statistics-2012?  If so, that requires an additional query parameter in the
solr console to view the older shards.

On Tue, Nov 28, 2017 at 2:53 PM, Gary Browne 
wrote:

> Hi all,
>
>
>
> I know there are more views and downloads on this item than are displaying
> in the browser:
>
>
>
> https://ses.library.usyd.edu.au/handle/2123/17600/statistics
>
>
>
> How can I query Solr directly to see if the correct figures are in the
> Solr index?
>
>
>
> In the dspace logs I see this (among other view_item entries):
>
>
>
> 2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @
> Reading statlets(ids[]=[] handle=2123/17600)
>
>
>
> As far as view entries, just from today I have:
>
>
>
> $ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
>
> $ 318
>
>
>
> Yet only 20 views display in the browser. I’ve run index-discovery and
> index-discovery –o again, but no change.
>
>
>
> Any ideas?? The author is quite concerned about the lack of figures. There
> are no download figures on the stats page either.
>
>
>
> Thanks a lot
>
> Gary
>
>
>
> Gary Browne | Technical Manager, Developments
> Online Services
> University of Sydney Library
> THE UNIVERSITY OF SYDNEY
> Level 1, Fisher Library F03, The University of Sydney NSW 2006
> T +61 2 9351 5946 <+61%202%209351%205946> | M +61 405 647 868
> <+61%20405%20647%20868>
> E gary.bro...@sydney.edu.au
> 
> Sent from my plain old desktop computer
>
>
>
> --
> 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] Solr item view stats not updating in browser

2017-11-28 Thread Gary Browne
Hi all,

I know there are more views and downloads on this item than are displaying in 
the browser:

https://ses.library.usyd.edu.au/handle/2123/17600/statistics

How can I query Solr directly to see if the correct figures are in the Solr 
index?

In the dspace logs I see this (among other view_item entries):

2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @ Reading 
statlets(ids[]=[] handle=2123/17600)

As far as view entries, just from today I have:

$ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
$ 318

Yet only 20 views display in the browser. I’ve run index-discovery and 
index-discovery –o again, but no change.

Any ideas?? The author is quite concerned about the lack of figures. There are 
no download figures on the stats page either.

Thanks a lot
Gary

Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au
Sent from my plain old desktop computer

-- 
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: Problem activating new users

2017-11-28 Thread Solomon Kapfunde
Hi Nuno

A solution already provided in this thread: 
https://groups.google.com/forum/#!topic/dspace-community/lVLfl_ktBkU

On Monday, November 13, 2017 at 6:31:52 PM UTC+2, Nuno Miguel Carvalho 
wrote:
>
> Hi,
>
> I'm new at DSpace and I have a problem that I'm not finding a solution.
> When I try to activate a new user, as i click to see the profile, i get an 
> Internal Server Error.
>
> I looked in the log file and the error message is :
> javax.servlet.ServletException: org.apache.jasper.JasperException: 
> javax.servlet.ServletException: org.apache.jasper.JasperException: 
> /dspace-cris/commonDetailsPage.jsp (line: 
> [36], column: 
> [8]) [${entity.class.simpleName}.tab.${area.shortName}.label] contains 
> invalid expression(s): [javax.el.ELException: Failed to parse the 
> expression 
> [${entity.class.
> simpleName}.tab.${area.shortName}.label]]  
>
> I get this erro with every user I create.
> Can you help me fixind this?
>
> Regards
> Nuno Carvalho
>

-- 
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: MVN build failure

2017-11-28 Thread Tim Donohue
Hello,

There is a known issue that one of the Maven modules DSpace uses (in DSpace
6) seems to require *git* to be present on the filesystem.

Here's the bug ticket: https://jira.duraspace.org/browse/DS-3418

We are still looking for a volunteer to investigate this further and figure
out a solution. But, in the meantime, as described in the ticket, you can
do ONE of the following:

1) Install Git on your system: https://git-scm.com/downloads

OR

2) Comment out these lines in the dspace-api's "pom.xml" and rebuild
DSpace:
https://github.com/DSpace/DSpace/blob/master/dspace-api/pom.xml#L103-L115

The first solution (installing Git) is likely more correct for now, until
we find a way to work around the issue.

If anyone else is affected by this issue or has time to devote to debugging
it, we could use a volunteer on the ticket!

Tim

On Tue, Nov 28, 2017 at 12:04 AM Santosh Gupta 
wrote:

> This is the problem faced by many people. I tried to solve many ways but
> still, it is unresolved. If someone gets its solution, please mail me to
> santosh.gup...@gmail.com
>
>
> On Saturday, November 11, 2017 at 12:12:32 PM UTC+5:30, Arshad Iqbal wrote:
>>
>> [INFO] DSpace Kernel :: API and Implementation  FAILURE [
>> 4.487 s]
>> [INFO] DSpace Addon Modules ... SKIPPED
>> [INFO] DSpace Kernel :: Additions and Local Customizations  SKIPPED
>> [INFO] DSpace XML-UI (Manakin)  SKIPPED
>> [INFO] DSpace XML-UI (Manakin) :: Local Customizations  SKIPPED
>> [INFO] DSpace JSP-UI .. SKIPPED
>> [INFO] DSpace JSP-UI :: Local Customizations .. SKIPPED
>> [INFO] DSpace RDF . SKIPPED
>> [INFO] DSpace RDF :: Local Customizations . SKIPPED
>> [INFO] DSpace REST :: API and Implementation .. SKIPPED
>> [INFO] DSpace REST :: Local Customizations  SKIPPED
>> [INFO] DSpace SWORD ... SKIPPED
>> [INFO] DSpace SWORD :: Local Customizations ... SKIPPED
>> [INFO] DSpace SWORD v2  SKIPPED
>> [INFO] DSpace SWORD v2 :: Local Customizations  SKIPPED
>> [INFO] Apache Solr Webapp . SKIPPED
>> [INFO] DSpace SOLR :: Local Customizations  SKIPPED
>> [INFO] DSpace OAI-PMH . SKIPPED
>> [INFO] DSpace OAI-PMH :: Local Customizations . SKIPPED
>> [INFO] DSpace Assembly and Configuration .. SKIPPED
>> [INFO] DSpace XML-UI Mirage2 Theme  SKIPPED
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 10.830 s
>> [INFO] Finished at: 2017-11-11T11:31:35+05:00
>> [INFO] Final Memory: 37M/329M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project
>> dspace-api: Cannot get the revision information from the scm repository :
>> [ERROR] Exception while executing SCM command. Error while executing
>> command. Error while executing process. Cannot run program "git" (in
>> directory "/build/dspace-6.2-src-release/dspace-api"): error=2, No such
>> file or directory
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :dspace-api
>>
>> --
> 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.
>
-- 

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://g

Re: [dspace-tech] Re: Submission Problem in DSpace 6.2

2017-11-28 Thread George Kozak
Enes:

I am unfamiliar with hibernate.  I checked the config
file  hibernate.cfg.xml, but did not see anything about changing class from
"lazy" to "eager".  Is there somewhere else where this change should be
made?
Thanks,
George Kozak
Cornell University

On Tue, Nov 28, 2017 at 6:24 AM, eneshukic via DSpace Technical Support <
dspace-tech@googlegroups.com> wrote:

> Hi George,
>
> This is Hibernate error.Try changing initaization in your class from
> lazy to eager.
>
> Regards,
> Enes
>
> On Monday, November 27, 2017 at 5:46:02 PM UTC+1, George Kozak wrote:
>>
>> Hi,
>> We are moving to upgrade our production server (which is running DSpace
>> 5.5) to Dspace 6.2.  In our testing, we have found a problem with
>> submissions.  When someone submits an item the following error appears:
>> "could not initialize proxy - no Session".
>> Has anyone ecountered this before?
>>
>> The underlining stack trace shows:
>> Java stacktrace: org.hibernate.LazyInitializationException: could not
>> initialize proxy - no Session at org.hibernate.proxy.AbstractLa
>> zyInitializer.initialize(AbstractLazyInitializer.java:165) at
>> org.hibernate.proxy.AbstractLazyInitializer.getImplementatio
>> n(AbstractLazyInitializer.java:286) at org.hibernate.proxy.pojo.javas
>> sist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
>> at 
>> org.dspace.content.Bitstream_$$_jvstdfd_c.getID(Bitstream_$$_jvstdfd_c.java)
>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:325)
>> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:280)
>> at 
>> org.dspace.app.xmlui.aspect.versioning.Navigation.getValidity(Navigation.java:129)
>> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606) at
>> org.apache.cocoon.core.container.spring.avalon.PoolableProxy
>> Handler.invoke(PoolableProxyHandler.java:71) at
>> com.sun.proxy.$Proxy226.getValidity(Unknown Source) at
>> org.apache.cocoon.components.pipeline.impl.AbstractCachingPr
>> ocessingPipeline.getValidityForInternalPipeline(AbstractCach
>> ingProcessingPipeline.java:987) at ...
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924 <(607)%20255-8924>
>> gs...@cornell.edu
>>
> --
> 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.
>



-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
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] I NEDD YOUR TECHNICAL SUPPORT

2017-11-28 Thread Terry Brady
Here is the setting that Luiz referenced.

https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1380-L1381

For future messages to this list, I recommend that you describe the issue
you are experiencing in the subject line.  Since the archives are
searchable, it makes it easier for others to discover the answer.

On Tue, Nov 28, 2017 at 12:35 AM, Luiz dos Santos  wrote:

> Until I know dsapce doesn't have a viewer, I'm supposing that you are
> talking about pdf, the behaviour of show the file straight or download the
> file relays on the browser based in the file size.
>
> On 28 Nov 2017 08:03,  wrote:
>
>>  i customize  DSpace for my university, file in the item on DSpace
>> directly downloaded before view the file contents, but i need view the file
>> in the item before downloading how can solve this problems please help me
>>
>> --
>> 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.
>

-- 
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] Error migrating from existing DSpace 5x to DSpace-CRIS-5.8.0

2017-11-28 Thread euler
Dear DSpace-CRIS experts,

I am in the process of migrating my local DSpace 5x (DSpace 5.8) to 
DSpace-CRIS 5.8.0. I have followed the steps as instructed here: Upgrade an 
existent DSpace (not CRIS) installation 
.
 
However, I am encountering errors when I execute dspace database repair and 
dspace 
database migrate ignored even though I have manually applied the 3 sql as 
stated here: 
http://dspace.2283337.n4.nabble.com/DSpace-CRIS-Database-Update-Failure-tp4682902p4682917.html
.

Below is the error log after I ran dspace database repair:

2017-11-28 18:33:33,365 ERROR org.dspace.storage.rdbms.DatabaseManager @ 
SQL getDataSource Error -
java.sql.SQLException: Flyway migration error occurred
at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:493)
at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:400)
at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1473)
at 
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:724)
at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:703)
at org.dspace.core.Context.init(Context.java:155)
at org.dspace.core.Context.(Context.java:129)
at 
org.dspace.storage.rdbms.DatabaseLegacyReindexer.reindex(DatabaseLegacyReindexer.java:52)
at 
org.dspace.storage.rdbms.DatabaseLegacyReindexer.afterRepair(DatabaseLegacyReindexer.java:144)
at 
org.flywaydb.core.internal.command.DbRepair$3.doInTransaction(DbRepair.java:114)
at 
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
at 
org.flywaydb.core.internal.command.DbRepair.repair(DbRepair.java:111)
at org.flywaydb.core.Flyway$6.execute(Flyway.java:994)
at org.flywaydb.core.Flyway$6.execute(Flyway.java:990)
at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
at org.flywaydb.core.Flyway.repair(Flyway.java:990)
at 
org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
Caused by: org.flywaydb.core.api.FlywayException: Validate failed. Found 
differences between applied migrations and available migrations: Migration 
on the classpath has not been applied to database: 1.8.2.0
at org.flywaydb.core.Flyway.doValidate(Flyway.java:912)
at org.flywaydb.core.Flyway.access$400(Flyway.java:50)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:817)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:481)
... 22 more
2017-11-28 18:33:33,365 ERROR 
org.dspace.storage.rdbms.DatabaseLegacyReindexer @ Error attempting to 
reindex all contents for search/browse. You may need to manually reindex 
Lucene or DBMS
java.lang.IllegalStateException: Flyway migration error occurred
at 
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:729)
at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:703)
at org.dspace.core.Context.init(Context.java:155)
at org.dspace.core.Context.(Context.java:129)
at 
org.dspace.storage.rdbms.DatabaseLegacyReindexer.reindex(DatabaseLegacyReindexer.java:52)
at 
org.dspace.storage.rdbms.DatabaseLegacyReindexer.afterRepair(DatabaseLegacyReindexer.java:144)
at 
org.flywaydb.core.internal.command.DbRepair$3.doInTransaction(DbRepair.java:114)
at 
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
at 
org.flywaydb.core.internal.command.DbRepair.repair(DbRepair.java:111)
at org.flywaydb.core.Flyway$6.execute(Flyway.java:994)
at org.flywaydb.core.Flyway$6.execute(Flyway.java:990)
at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
at org.flywaydb.core.Flyway.repair(Flyway.java:990)
at 
org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

[dspace-tech] Re: Submission Problem in DSpace 6.2

2017-11-28 Thread eneshukic via DSpace Technical Support
Hi George,

This is Hibernate error.Try changing initaization in your class from 
lazy to eager.

Regards,
Enes

On Monday, November 27, 2017 at 5:46:02 PM UTC+1, George Kozak wrote:
>
> Hi,
> We are moving to upgrade our production server (which is running DSpace 
> 5.5) to Dspace 6.2.  In our testing, we have found a problem with 
> submissions.  When someone submits an item the following error appears: 
> "could not initialize proxy - no Session".
> Has anyone ecountered this before?
>
> The underlining stack trace shows:
> Java stacktrace: org.hibernate.LazyInitializationException: could not 
> initialize proxy - no Session at 
> org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165)
>  
> at 
> org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286)
>  
> at 
> org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
>  
> at 
> org.dspace.content.Bitstream_$$_jvstdfd_c.getID(Bitstream_$$_jvstdfd_c.java) 
> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:325) 
> at org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:280) 
> at 
> org.dspace.app.xmlui.aspect.versioning.Navigation.getValidity(Navigation.java:129)
>  
> at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  
> at java.lang.reflect.Method.invoke(Method.java:606) at 
> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
>  
> at com.sun.proxy.$Proxy226.getValidity(Unknown Source) at 
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getValidityForInternalPipeline(AbstractCachingProcessingPipeline.java:987)
>  
> at ...
>
> -- 
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> gs...@cornell.edu  
>

-- 
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] Input forms lookup result split into multiple (two) metadata fields based on delimetar (node)

2017-11-28 Thread eneshukic via DSpace Technical Support
I have created controlled vocabulary with several nodes.  Is there any way 
to store selected values into multiple metadata fields?  For example, If 
user selects Node A ::Node B, value of Node A will go into metadata filed 
someshema.somefield.category and value of nod be will go into fields 
someschema.somefield.subcategory.

Thanks,
Enes

-- 
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] I NEDD YOUR TECHNICAL SUPPORT

2017-11-28 Thread Luiz dos Santos
Until I know dsapce doesn't have a viewer, I'm supposing that you are
talking about pdf, the behaviour of show the file straight or download the
file relays on the browser based in the file size.

On 28 Nov 2017 08:03,  wrote:

>  i customize  DSpace for my university, file in the item on DSpace
> directly downloaded before view the file contents, but i need view the file
> in the item before downloading how can solve this problems please help me
>
> --
> 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] I NEDD YOUR TECHNICAL SUPPORT

2017-11-28 Thread ethio . nega
 i customize  DSpace for my university, file in the item on DSpace directly 
downloaded before view the file contents, but i need view the file in the 
item before downloading how can solve this problems please help me 

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