Re: [Dspace-tech] statistics generation question

2010-12-15 Thread Jason Nugent
Hi again,

I had a look, and I see one example at:  
http://ir.uz.ac.zw:8080/xmlui/handle/10646/512/statistics which is indeed 
blank.  

This could be caused by a few things.  When you changed the solr server 
reference in your dspace.cfg file, did you restart Tomcat, or just reload the 
jspui webapp?  The Manakin xmlui front end may still be using the old 
container.   A blank page such as yours was the problem I had before I set my 
solr server to the full URL of my SOLR instance. 
  
Is your dstat.cfg file set up correctly?   You are correctly logging stats for 
the various dc.types you want?  Is there anything in your DSpace or Tomcat log 
files?  An obvious indication that DSpace is connecting to SOLR when you view 
stats is that you will see many lines of logs for SOLR queries on each page 
load.  You may have to increase the log level.

Regards,

Jason

On 2010-12-15, at 3:19 AM, amutsikiwa wrote:

 Hi Jason,
  
 I am able to view the  general statistics  page which is available on 
 http://ir.uz.ac.zw:8080/jspui/statistics or on 
 http://ir.uz.ac.zw:8080/dspace/statistics (as you have noted. I created a 
 symbolic link dspace to the jspui interface). My problem is when viewing  
 item-level statistics. Before upgrading from DSpace 1.6.1 to 1.6.2 , I was 
 able to view item-level statistics but now I am getting a blank page .
  
  
  
 From: Jason Nugent [mailto:jnug...@unb.ca] 
 Sent: Tuesday, December 14, 2010 9:45 PM
 To: Jason Nugent
 Cc: DSpace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] statistics generation question
  
 Actually, I just quickly tested your DSpace installation, and your statistics 
 are available at:
  
 http://ir.uz.ac.zw:8080/dspace/statistics
  
 or also
  
 http://ir.uz.ac.zw:8080/xmlui/statistics
  
 Depending on which front end you prefer to use.
  
 Jason
  
 On 2010-12-14, at 3:00 PM, Jason Nugent wrote:
 
 
  
 Hello,
  
 The URL for /solr/statistics is only used by DSpace itself, for generation of 
 statistics.  It's not the URL that you use for viewing them.  If you want to 
 view them, there should be a link for statistics on the bottom right of the 
 menu on the front of your DSpace installation.  
  
 In your case, it would probably be: 
  
 http://ir.uz.ac.zw:8080/statistics
  
 Regards,
  
 Jason
  
 On 2010-12-14, at 2:46 PM, amutsikiwa wrote:
 
 
 I was very happy to bumb into this thread. I am experiencing the same
 problems as Jason was experiencing. I checked on my solr.log.server in the
 dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
 modified it to  http://localhost:8080/solr/statistics as directed below. I
 rebuild dspace (mvn  package) and them run ant update. When I point my
 browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
 description Access to the specified resource () has been forbidden. Iam at a
 loss as to where I am getting it wrong.
  
 --
 Jason Nugent
 jnug...@unb.ca
 Programmer/Analyst, UNB Libraries
 (506) 447-3177
  
  
 --
 Jason Nugent
 jnug...@unb.ca
 Programmer/Analyst, UNB Libraries
 (506) 447-3177
  
 
 -- 
 This message has been scanned for viruses and 
 dangerous content by MailScanner, and is 
 believed to be clean.


Jason Nugent
jnug...@unb.ca
506 447 3177
Programmer/Analyst, Harriet Irving Library
University of New Brunswick


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-14 Thread amutsikiwa
I was very happy to bumb into this thread. I am experiencing the same
problems as Jason was experiencing. I checked on my solr.log.server in the
dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
modified it to  http://localhost:8080/solr/statistics as directed below. I
rebuild dspace (mvn  package) and them run ant update. When I point my
browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
description Access to the specified resource () has been forbidden. Iam at a
loss as to where I am getting it wrong.
-Original Message-
From: Jason Nugent [mailto:jnug...@unb.ca] 
Sent: Friday, December 10, 2010 3:57 PM
To: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] statistics generation question

Hi Stuart,

I've tracked down what my issue was.  SOLR was properly deployed, but the
1.6.0 dspace.cfg file appeared to default to the baseUrl property, not
localhost:8080, so my instance was bumping into the
LocalHostRestrictionFilter.enabled property, which is not disabled by
default in the web.xml file that ships with the webapp.

solr.log.server = ${dspace.baseUrl}/solr/statistics

With that filter in place, anything other than localhost for a domain will
fail silently.  I haven't checked to see if this is still the case in newer
DSpace releases.

Cheers,

Jason

On 2010-12-09, at 5:00 PM, Stuart Lewis wrote:

 Hi Jason,
 
 In 1.6+ there are two forms of statistics.  There is the 'classic'
statistics that used to be there and continues to be, and the new 'solr'
statistics.
 
 The classic statistics are available from /statistics and are generated
nightly from your dspace.log files.
 
 The solr statistics rely on a new webapp being deployed.  The solr webapp
needs to be deployed, and is configured in dspace.cfg: 
 
 - solr.log.server = http://localhost:8080/solr/statistics
 
 This collects events 'as they happen', and logs them into a solr index in
real-time so that the statics are always up to date.  It is these statistics
that are shown on the community / collection / item pages.  The solr stats
also perform other tasks that Minho stats provided, such as logging of the
geographical location of the visits.
 
 I hope this helps,
 
 
 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
 
 
 
 On 10/12/2010, at 8:04 AM, Jason Nugent wrote:
 
 Hi everyone,
 
 I am curious about the stats reporting in DSpace 1.6.x.  I'm running  a
1.6.0 installation and I've noticed that the general stats pages do have
stats, but if I drill down into a particular collection at a particular
handle, I also have a statistics link that points to a URL with a handle in
it.  Clicking that link gives me a Manakin themed page which is empty.
 
 My top level pages do show stats, and I can browse by month without
problem.  
 
 Is this simply a UI issue and that link shouldn't exist? maybe a relative
path to statistics instead of an absolute one to the top of my DSpace
installation?  Bug in the UI, maybe?  Here's an example of that:
 
 http://dspace.hil.unb.ca:8080/handle/1882/38
 
 The link in the lower right (you'd need to log in to see it) points to
 
 http://dspace.hil.unb.ca:8080/handle/1882/38/statistics 
 
 which doesn't seem right.
 
 My./stats-* report generation tools run just fine.
 
 Also, I was wondering if the add-on for statistics, originally created by
the University of Minho, will ever be updated for newer versions?  Has
anyone looked at creating a Manakin-compatible stats addon?
 
 Thanks,
 
 Jason
 -
 Programmer/Analyst
 University of New Brunswick Libraries
 jnug...@unb.ca
 (506) 447 3177
 
 


--
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 



--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-14 Thread Jason Nugent

Hello,

The URL for /solr/statistics is only used by DSpace itself, for generation of 
statistics.  It's not the URL that you use for viewing them.  If you want to 
view them, there should be a link for statistics on the bottom right of the 
menu on the front of your DSpace installation.  

In your case, it would probably be: 

 http://ir.uz.ac.zw:8080/statistics


Regards,

Jason

On 2010-12-14, at 2:46 PM, amutsikiwa wrote:

 I was very happy to bumb into this thread. I am experiencing the same
 problems as Jason was experiencing. I checked on my solr.log.server in the
 dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
 modified it to  http://localhost:8080/solr/statistics as directed below. I
 rebuild dspace (mvn  package) and them run ant update. When I point my
 browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
 description Access to the specified resource () has been forbidden. Iam at a
 loss as to where I am getting it wrong.

--
Jason Nugent
jnug...@unb.ca
Programmer/Analyst, UNB Libraries
(506) 447-3177

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-14 Thread Jason Nugent
Actually, I just quickly tested your DSpace installation, and your statistics 
are available at:

http://ir.uz.ac.zw:8080/dspace/statistics

or also

http://ir.uz.ac.zw:8080/xmlui/statistics

Depending on which front end you prefer to use.

Jason

On 2010-12-14, at 3:00 PM, Jason Nugent wrote:

 
 Hello,
 
 The URL for /solr/statistics is only used by DSpace itself, for generation of 
 statistics.  It's not the URL that you use for viewing them.  If you want to 
 view them, there should be a link for statistics on the bottom right of the 
 menu on the front of your DSpace installation.  
 
 In your case, it would probably be: 
 
 http://ir.uz.ac.zw:8080/statistics
 
 
 Regards,
 
 Jason
 
 On 2010-12-14, at 2:46 PM, amutsikiwa wrote:
 
 I was very happy to bumb into this thread. I am experiencing the same
 problems as Jason was experiencing. I checked on my solr.log.server in the
 dspace.cfg file. It was set to  ${dspace.baseUrl}/solr/statistics and I
 modified it to  http://localhost:8080/solr/statistics as directed below. I
 rebuild dspace (mvn  package) and them run ant update. When I point my
 browser to http://ir.uz.ac.zw:8080/solr/statistics, I get a HTTP Status 403-
 description Access to the specified resource () has been forbidden. Iam at a
 loss as to where I am getting it wrong.
 
 --
 Jason Nugent
 jnug...@unb.ca
 Programmer/Analyst, UNB Libraries
 (506) 447-3177
 

--
Jason Nugent
jnug...@unb.ca
Programmer/Analyst, UNB Libraries
(506) 447-3177

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] statistics generation question

2010-12-10 Thread Jason Nugent
Hi Stuart,

I've tracked down what my issue was.  SOLR was properly deployed, but the 1.6.0 
dspace.cfg file appeared to default to the baseUrl property, not 
localhost:8080, so my instance was bumping into the 
LocalHostRestrictionFilter.enabled property, which is not disabled by default 
in the web.xml file that ships with the webapp.

solr.log.server = ${dspace.baseUrl}/solr/statistics

With that filter in place, anything other than localhost for a domain will fail 
silently.  I haven't checked to see if this is still the case in newer DSpace 
releases.

Cheers,

Jason

On 2010-12-09, at 5:00 PM, Stuart Lewis wrote:

 Hi Jason,
 
 In 1.6+ there are two forms of statistics.  There is the 'classic' statistics 
 that used to be there and continues to be, and the new 'solr' statistics.
 
 The classic statistics are available from /statistics and are generated 
 nightly from your dspace.log files.
 
 The solr statistics rely on a new webapp being deployed.  The solr webapp 
 needs to be deployed, and is configured in dspace.cfg: 
 
 - solr.log.server = http://localhost:8080/solr/statistics
 
 This collects events 'as they happen', and logs them into a solr index in 
 real-time so that the statics are always up to date.  It is these statistics 
 that are shown on the community / collection / item pages.  The solr stats 
 also perform other tasks that Minho stats provided, such as logging of the 
 geographical location of the visits.
 
 I hope this helps,
 
 
 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
 
 
 
 On 10/12/2010, at 8:04 AM, Jason Nugent wrote:
 
 Hi everyone,
 
 I am curious about the stats reporting in DSpace 1.6.x.  I'm running  a 
 1.6.0 installation and I've noticed that the general stats pages do have 
 stats, but if I drill down into a particular collection at a particular  
 handle, I also have a statistics link that points to a URL with a handle in 
 it.  Clicking that link gives me a Manakin themed page which is empty.
 
 My top level pages do show stats, and I can browse by month without problem. 
  
 
 Is this simply a UI issue and that link shouldn't exist? maybe a relative 
 path to statistics instead of an absolute one to the top of my DSpace 
 installation?  Bug in the UI, maybe?  Here's an example of that:
 
 http://dspace.hil.unb.ca:8080/handle/1882/38
 
 The link in the lower right (you'd need to log in to see it) points to
 
 http://dspace.hil.unb.ca:8080/handle/1882/38/statistics 
 
 which doesn't seem right.
 
 My./stats-* report generation tools run just fine.
 
 Also, I was wondering if the add-on for statistics, originally created by 
 the University of Minho, will ever be updated for newer versions?  Has 
 anyone looked at creating a Manakin-compatible stats addon?
 
 Thanks,
 
 Jason
 -
 Programmer/Analyst
 University of New Brunswick Libraries
 jnug...@unb.ca
 (506) 447 3177
 
 
 --
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 


--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] statistics generation question

2010-12-09 Thread Jason Nugent
Hi everyone,

I am curious about the stats reporting in DSpace 1.6.x.  I'm running  a 1.6.0 
installation and I've noticed that the general stats pages do have stats, but 
if I drill down into a particular collection at a particular  handle, I also 
have a statistics link that points to a URL with a handle in it.  Clicking that 
link gives me a Manakin themed page which is empty.

My top level pages do show stats, and I can browse by month without problem.  

Is this simply a UI issue and that link shouldn't exist? maybe a relative path 
to statistics instead of an absolute one to the top of my DSpace 
installation?  Bug in the UI, maybe?  Here's an example of that:

http://dspace.hil.unb.ca:8080/handle/1882/38

The link in the lower right (you'd need to log in to see it) points to

http://dspace.hil.unb.ca:8080/handle/1882/38/statistics 

which doesn't seem right.

My./stats-* report generation tools run just fine.

Also, I was wondering if the add-on for statistics, originally created by the 
University of Minho, will ever be updated for newer versions?  Has anyone 
looked at creating a Manakin-compatible stats addon?

Thanks,

Jason
-
Programmer/Analyst
University of New Brunswick Libraries
jnug...@unb.ca
(506) 447 3177


--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech