Re: [Dspace-tech] enable statistics

2014-12-31 Thread Ahmed Maher
It returns
 ERROR 500: Internal Server Error

also ,
what do mean with
try the same wget as the use that runs your DSPACE instance
?

thanks

On Tue, Dec 30, 2014 at 5:11 PM, Monika C. Mevenkamp moni...@princeton.edu
wrote:

  Trywget '
 http://localhost/solr/statistics/select?q=*:*wt=jsonindent=true'

  If that works solr is up and happy and knows about the statistics core

  If not - try the same wget as the use that runs your DSPACE instance


  Monika



  Monika Mevenkamp
 phone: 609-258-4161
 693 Alexander Road, Princeton University, Princeton, NJ 08544


  On Dec 30, 2014, at 4:14 AM, Ahmed Maher ama...@kwareict.com wrote:

  thanks Monika,

  the command returns http://localhost/solr/statistics

  i use port 80 for tomcat

  and the wget command return

  Resolving localhost (localhost)... ::1, 127.0.0.1
 Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
 Connecting to localhost (localhost)|127.0.0.1|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 2014-12-30 09:11:01 ERROR 404: Not Found.

  although the command
  wget http://localhost/solr
  works successfully



 On Mon, Dec 29, 2014 at 5:39 PM, Monika C. Mevenkamp 
 moni...@princeton.edu wrote:

 Ahmed,

  Dspace uses the solar server as defined in
 /dspace/config/modules/solr-statistics.cfg

  In our case we deployed the solr web app under tomcat such that it
 becomes accessible under

  http://localhost:8080/solr

  and we set the solar server
 in /dspace/config/modules/solr-statistics.cfg to

   http://localhost:8080/solr/statistics


  you can check on the solr server setting in your installation with

  /dspace/bin/dspace dsprop  -module solr-statistics -property server


   you can test your setting on the command line of the deployment server
 by running

  wget  your-solr-server-url


  I hope this helps

  Monika


  
  Monika Mevenkamp
 phone: 609-258-4161
 693 Alexander Road, Princeton University, Princeton, NJ 08544


   On Dec 24, 2014, at 6:46 AM, Ahmed Maher ama...@kwareict.com wrote:

Hi All ,

  i have problem when enabling statistics
 when  running solr optimization command

 dspace stats-util -o

  it returns this error

   ERROR org.dspace.statistics.SolrLogger @ Server at
 http://localhost/solr/statistics returned non ok status:500,
 message:Internal Server Error

  thanks

 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now.
 http://goparallel.sourceforge.net___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] enable statistics

2014-12-30 Thread Ahmed Maher
thanks Monika,

the command returns http://localhost/solr/statistics

i use port 80 for tomcat

and the wget command return

Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-30 09:11:01 ERROR 404: Not Found.

although the command
 wget http://localhost/solr
 works successfully



On Mon, Dec 29, 2014 at 5:39 PM, Monika C. Mevenkamp moni...@princeton.edu
wrote:

  Ahmed,

  Dspace uses the solar server as defined in
 /dspace/config/modules/solr-statistics.cfg

  In our case we deployed the solr web app under tomcat such that it
 becomes accessible under

  http://localhost:8080/solr

  and we set the solar server
 in /dspace/config/modules/solr-statistics.cfg to

   http://localhost:8080/solr/statistics


  you can check on the solr server setting in your installation with

  /dspace/bin/dspace dsprop  -module solr-statistics -property server


   you can test your setting on the command line of the deployment server
 by running

  wget  your-solr-server-url


  I hope this helps

  Monika


  
  Monika Mevenkamp
 phone: 609-258-4161
 693 Alexander Road, Princeton University, Princeton, NJ 08544


  On Dec 24, 2014, at 6:46 AM, Ahmed Maher ama...@kwareict.com wrote:

  Hi All ,

  i have problem when enabling statistics
 when  running solr optimization command

 dspace stats-util -o

  it returns this error

   ERROR org.dspace.statistics.SolrLogger @ Server at
 http://localhost/solr/statistics returned non ok status:500,
 message:Internal Server Error

  thanks

 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now.
 http://goparallel.sourceforge.net___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] enable statistics

2014-12-30 Thread Monika C. Mevenkamp
Trywget 'http://localhost/solr/statistics/select?q=*:*wt=jsonindent=true'

If that works solr is up and happy and knows about the statistics core

If not - try the same wget as the use that runs your DSPACE instance


Monika



Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544


On Dec 30, 2014, at 4:14 AM, Ahmed Maher 
ama...@kwareict.commailto:ama...@kwareict.com wrote:

thanks Monika,

the command returns http://localhost/solr/statistics

i use port 80 for tomcat

and the wget command return

Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-30 09:11:01 ERROR 404: Not Found.

although the command
 wget http://localhost/solr
 works successfully



On Mon, Dec 29, 2014 at 5:39 PM, Monika C. Mevenkamp 
moni...@princeton.edumailto:moni...@princeton.edu wrote:
Ahmed,

Dspace uses the solar server as defined in  
/dspace/config/modules/solr-statistics.cfg

In our case we deployed the solr web app under tomcat such that it becomes 
accessible under

http://localhost:8080/solr

and we set the solar server in /dspace/config/modules/solr-statistics.cfg to

http://localhost:8080/solr/statistics


you can check on the solr server setting in your installation with

/dspace/bin/dspace dsprop  -module solr-statistics -property server


you can test your setting on the command line of the deployment server by 
running

wget  your-solr-server-url


I hope this helps

Monika



Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544


On Dec 24, 2014, at 6:46 AM, Ahmed Maher 
ama...@kwareict.commailto:ama...@kwareict.com wrote:

Hi All ,

i have problem when enabling statistics
when  running solr optimization command

dspace stats-util -o

it returns this error

 ERROR org.dspace.statistics.SolrLogger @ Server at 
http://localhost/solr/statistics returned non ok status:500, message:Internal 
Server Error

thanks
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 
http://goparallel.sourceforge.net___http://goparallel.sourceforge.net___/
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] enable statistics

2014-12-29 Thread Monika C. Mevenkamp
Ahmed,

Dspace uses the solar server as defined in  
/dspace/config/modules/solr-statistics.cfg

In our case we deployed the solr web app under tomcat such that it becomes 
accessible under

http://localhost:8080/solr

and we set the solar server in /dspace/config/modules/solr-statistics.cfg to

http://localhost:8080/solr/statistics


you can check on the solr server setting in your installation with

/dspace/bin/dspace dsprop  -module solr-statistics -property server


you can test your setting on the command line of the deployment server by 
running

wget  your-solr-server-url


I hope this helps

Monika



Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544


On Dec 24, 2014, at 6:46 AM, Ahmed Maher 
ama...@kwareict.commailto:ama...@kwareict.com wrote:

Hi All ,

i have problem when enabling statistics
when  running solr optimization command

dspace stats-util -o

it returns this error

 ERROR org.dspace.statistics.SolrLogger @ Server at 
http://localhost/solr/statistics returned non ok status:500, message:Internal 
Server Error

thanks
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 
http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] enable statistics

2014-12-24 Thread Ahmed Maher
Hi All ,

i have problem when enabling statistics
when  running solr optimization command

dspace stats-util -o

it returns this error

 ERROR org.dspace.statistics.SolrLogger @ Server at
http://localhost/solr/statistics returned non ok status:500,
message:Internal Server Error

thanks
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette