Re: [Dspace-tech] SOLR Browse Error after upgrade to 3.2 from 1.8.2

2014-01-29 Thread Andrea Bollini

I have seen this thread only now...
the issue is related to the right awareness feature introduced in 
discovery and affect both the search and the browse system (when 
solrbrowsedao are used, optionally in 3.x, by default in 4.0).
The group composition doesn't really matter, the issue here is that a 
single user is included in several group that mean that the solr query 
will include a filter to limit the results to only items that are 
visible by group1, group2,  groupN.
If the number of group is hight you can reach the HTTP header limit 
already managed in this thread or a tooManyClause Exception in solr, 
that can be solved incrementing this parameter.

https://github.com/DSpace/DSpace/blob/master/dspace/solr/search/conf/solrconfig.xml#L474
When the number is to large you could also consider to disable the 
awareness right feature, commenting this line

https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L25
Hope this help,
Andrea

Il 27/01/2014 13.58, Hilton Gibson ha scritto:


On 27 January 2014 12:48, Hilton Gibson hilton.gib...@gmail.com 
mailto:hilton.gib...@gmail.com wrote:


Going to update this wiki doc quickly and then ask one of the
group to test with a native login.


The test so far are good.

Thx Helix for the quick fix.

Cheers

hg


*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk


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



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

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] SOLR Browse Error after upgrade to 3.2 from 1.8.2

2014-01-29 Thread Hilton Gibson
On 29 January 2014 10:19, Andrea Bollini a.boll...@cineca.it wrote:

 If the number of group is hight you can reach the HTTP header limit
 already managed in this thread or a tooManyClause Exception in solr, that
 can be solved incrementing this parameter.

 https://github.com/DSpace/DSpace/blob/master/dspace/solr/search/conf/solrconfig.xml#L474
 When the number is to large you could also consider to disable the
 awareness right feature, commenting this line

 https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L25


​Updated this wiki page:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations/Tomcat#Http_Header_Errors
​


*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] SOLR Browse Error after upgrade to 3.2 from 1.8.2

2014-01-29 Thread helix84
Thanks for the details, Andrea. I added your explanation and
solutions to the FAQ as I expect this to pop up again in the future:

https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-I'mgettingSolrException:BadRequestfollowedbyalongqueryoratooManyClausesExceptionhttps://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-I'mgetting


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread helix84
Hi Bhavesh,

as Hilton pointed out, you have to use psql to run the .sql file.
In addition, the problem you're facing looks like you haven't updated
your Solr index (Step 11 in [1])

[1] https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0


Regards,
~~helix84

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread Bhavesh Patel
Thanks a lot Hilton,

Now the database schema is upgraded to DSpace 4.

Now the physical files are stored into external hard disk on current live
DSpace server. So is that possible to use that physical files by mounting
that external hard disk on this current Dspace 4 new server ...?


Thanks,
Bhavesh



Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*


On Wed, Jan 29, 2014 at 12:43 PM, Hilton Gibson hilton.gib...@gmail.comwrote:

 Hi Bhavesh

 This is how I ran my database schema upgrades.

 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/Repository_Software#Step_3_-_Database_upgrades

 You will have to modify the paths to suit your installation.
 This would not be needed if we all agreed to use:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture
 Just my little rant after an upgrade ordeal ;-)

 Regards

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025D
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://scholar.sun.ac.za
 http://bit.ly/goodir
 http://library.sun.ac.za
 http://za.linkedin.com/in/hiltongibson


 On 29 January 2014 07:21, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Dear Tech team,

 I have install DSpace 4.0 and restore the database of DSpace 3.X.

 It's listed all the community and collection but It's not showing the
 items under the collection. even I have enable itemcounter but it's still
 showing the 0.

 I have read the Document :
 https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0

 I have to update the Database Schema from 3 to 4.

 I have follow the steps [ I am using PostgreSQL 9.3 ]

 The database schema has changed in 4.0.  So, you will need to update your
 existing DSpace 3.x database. Please run one of the following scripts to
 update your database:

- PostgreSQL:
[dspace-source]/dspace/etc/postgres/database_schema_3-4.sql


 It's shows me command not found or permission deny.. I have set 777
 permission to that [dspace-src] folder. See the Attached Image for detail.

 Please help me on that..


 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*



--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] dspace storage.

2014-01-29 Thread NSwetha
I would like to store dspace content into Amzon webservices storage.

Which way is preferable?dspace pluggable storage or Duracloud?

Please suugest.

Thanks,
Swetha



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/dspace-storage-tp4670769.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread helix84
On Wed, Jan 29, 2014 at 10:31 AM, Bhavesh Patel
bhavesh.bece...@gmail.com wrote:
 Now the database schema is upgraded to DSpace 4.

Don't forget to update the index.

 Now the physical files are stored into external hard disk on current live
 DSpace server. So is that possible to use that physical files by mounting
 that external hard disk on this current Dspace 4 new server ...?

Sure, just point assetstore.dir in your dspace.cfg to the assetstore
mount point.


Regards,
~~helix84

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread Hilton Gibson
Hi Bhavesh

Yes in theory but not advised for a production system.

Regards

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 29 January 2014 11:31, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Thanks a lot Hilton,

 Now the database schema is upgraded to DSpace 4.

 Now the physical files are stored into external hard disk on current live
 DSpace server. So is that possible to use that physical files by mounting
 that external hard disk on this current Dspace 4 new server ...?


 Thanks,
 Bhavesh



 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 On Wed, Jan 29, 2014 at 12:43 PM, Hilton Gibson 
 hilton.gib...@gmail.comwrote:

 Hi Bhavesh

 This is how I ran my database schema upgrades.

 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/Repository_Software#Step_3_-_Database_upgrades

 You will have to modify the paths to suit your installation.
 This would not be needed if we all agreed to use:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture
 Just my little rant after an upgrade ordeal ;-)

 Regards

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025D
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 http://scholar.sun.ac.za
 http://bit.ly/goodir
 http://library.sun.ac.za
 http://za.linkedin.com/in/hiltongibson


 On 29 January 2014 07:21, Bhavesh Patel bhavesh.bece...@gmail.comwrote:

 Dear Tech team,

 I have install DSpace 4.0 and restore the database of DSpace 3.X.

 It's listed all the community and collection but It's not showing the
 items under the collection. even I have enable itemcounter but it's still
 showing the 0.

 I have read the Document :
 https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0

 I have to update the Database Schema from 3 to 4.

 I have follow the steps [ I am using PostgreSQL 9.3 ]

 The database schema has changed in 4.0.  So, you will need to update
 your existing DSpace 3.x database. Please run one of the following scripts
 to update your database:

- PostgreSQL:
[dspace-source]/dspace/etc/postgres/database_schema_3-4.sql


 It's shows me command not found or permission deny.. I have set 777
 permission to that [dspace-src] folder. See the Attached Image for detail.

 Please help me on that..


 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*




--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread Bhavesh Patel
Yes helix84,

I have updated solr index as per the document..

Thanks for your help.

Is there anything I have to update.. because Currently We have DSpace 3.2
and I have install DSpace 4 on other system..
I have just import the database from 3.2 to 4 and follow the steps as
Hilton and you suggest me.. Now the database is working fine.

Now anything else need to update..? currently the physical files are stored
into one external HDD.

Bhavesh

Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*


On Wed, Jan 29, 2014 at 2:53 PM, helix84 heli...@centrum.sk wrote:

 Hi Bhavesh,

 as Hilton pointed out, you have to use psql to run the .sql file.
 In addition, the problem you're facing looks like you haven't updated
 your Solr index (Step 11 in [1])

 [1] https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0


 Regards,
 ~~helix84

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread helix84
On Wed, Jan 29, 2014 at 10:37 AM, helix84 heli...@centrum.sk wrote:
 Now the physical files are stored into external hard disk on current live
 DSpace server. So is that possible to use that physical files by mounting
 that external hard disk on this current Dspace 4 new server ...?

 Sure, just point assetstore.dir in your dspace.cfg to the assetstore
 mount point.

Wait, you mean using the same assetstore on two DSpace systems at the
same time? I'd definitely advise against that. Unless you want to
mount one of them as read-only.


Regards,
~~helix84

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] SOLR Browse Error after upgrade to 3.2 from 1.8.2

2014-01-29 Thread Andrea Bollini

Thanks Ivan to keep our wiki up-to-date!
Andrea

Il 29/01/2014 09.58, helix84 ha scritto:

Thanks for the details, Andrea. I added your explanation and
solutions to the FAQ as I expect this to pop up again in the future:

https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-I'mgettingSolrException:BadRequestfollowedbyalongqueryoratooManyClausesException 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-I%27mgetting



Regards,
~~helix84

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



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

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Upgrade to 1.7.3

2014-01-29 Thread helix84
If you're upgrading from 1.5, you can go all the way to 4.
If you're using Solr statistics (since 1.6) or Discovery (since 1.7),
you'll need to upgrade to DSpace 3, run Solr optimize and then upgrade
to DSpace 4. See DSpace 3 - 4 upgrade steps.


Regards,
~~helix84

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

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread helix84
See this thread:

http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-duplicated
-entries-td4660235.html


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Error 'java.lang.ClassNotFoundException'

2014-01-29 Thread Daniel Garcia Mejia

Hi,

I'm developing a new step in workflow submit of DSpace. I create a new 
class, develop the code, compile again and everything it's OK. But when 
I go to my worklow and I go step that I've created, if I'll go to next 
step, I get this error:


java.lang.ClassNotFoundException: org.dspace.submit.step.LicenseStep2
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at 
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at 
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at 
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at 
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
at org.mozilla.javascript.Context.call(Context.java:538)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:698)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 

Re: [Dspace-tech] Upgrade to 1.7.3

2014-01-29 Thread Sergio Belkin
Hi Ivan,

I am not sure if 'ant fresh_install'  if a good choice because I have a db
in use, unless that you're talking about of do that and then restore the db
from a backup dump...

TIA


2014-01-29 helix84 heli...@centrum.sk

 If you're using Solr statistics:
 1) upgrade to DSpace 3
 2) wget http://localhost:8080/solr/statistics/update?optimize=true;
 3) upgrade to DSpace 4

 If you don't care about keeping the Solr statistics data and are doing
 ant fresh_install, it doesn't matter.


 Regards,
 ~~helix84

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




-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Editing the Community and Collection creation pages

2014-01-29 Thread Shazia Sathar
Hello All,

I am trying to remove sections from the community and collection creation
wizard that does not apply to our implementation. I am running DSpace 4 and
use the JSPUI version. Here is what I tried to do

*edit-community,jsp*
Comment out sections for Copyright and sidebar text

*edit-collection.jsp*
Comment out sections for Harvesting settings
Remove Item Template and Collection curations from the Collection's settings

When I did the above I got an Internal Server Error. Any suggestions on how
I can remove the above sections from the JSP files? Is there any parameter
for Harvest settings in the config files that I can disable (similar to
disabling RSS feeds)?

Thanks in advance for the help!

Following is the stacktrace:
--

Jan 29, 2014 10:40:04 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet [edit-communities] in context with
path [/jspuiv4] threw exception [java.lang.NullPointerException] with root
cause
java.lang.NullPointerException
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:525)
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:206)
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:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

--

Regards,
Shazia
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Problems adding static page

2014-01-29 Thread Guillermo Esteban Murillo Goussen
Hi folks, I hope someone could help me with this.

I'm adding static content to my dspace, so I'm modifying the file at

webapps/xmlui/themes/Mirage/lib/xsl/core/page-structure.xsl

I'v had added the title and the breadcrumb without problems, and test
adding the HTML for the body at

!-- Check for the custom pages --
xsl:choose
   xsl:when test?starts-with($request-uri, 'page/acerca')
  divh1TESTING TESTING/h1/div
   /xsl:when

Now, I don't want to copy here all the content of my different static
pages, I want to import the content from the html files.

I did it once using this sentence:
xsl:copy-of select=document('acerca.html')/

But now it isn't working, I don't know if there are permission isues or
where do this html need to be.

Thanks,

Guillermo

-- 
La pureza del alma no se pierde sin consentimiento
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] SOLR problem Dspace 3.x

2014-01-29 Thread Hernan Carvajal Briceño
Hi,

I've installed Dspace 3.x and when I try to execute the following command:

/usr/share/dspace/bin/dspace oai import

I'm getting the following error.

[root@dspace-d1 dspace]# /usr/share/dspace/bin/dspace oai import
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=b71ace5d-2ed0-4727-8118-ff63b84f7569,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/usr/share/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading:
/usr/share/dspace/config/log4j.properties
OAI 2.0 manager action started
org.dspace.xoai.solr.exceptions.DSpaceSolrIndexerException: Error executing
query
at org.dspace.xoai.app.XOAI.index(XOAI.java:160)
at org.dspace.xoai.app.XOAI.main(XOAI.java:439)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.dspace.xoai.solr.exceptions.DSpaceSolrException: Error
executing query
at
org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:39)
at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
... 6 more
Caused by: org.apache.solr.client.solrj.SolrServerException: Error
executing query
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at
org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:34)
... 7 more
Caused by: org.apache.solr.common.SolrException: Not Found

Not Found

request:
http://localhost/oai/select?q=*:*fl=item.lastmodifiedsort=item.lastmodifieddesc,
item.id ascrows=1wt=javabinversion=2
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
... 9 more


The SOLR server is up and runnig. I've checket it in the Web browser:
http://localhost/solr/search/admin/
I can execute querys from there.
Any ideas?

Thanks in advance for your help!

Hernán


-- 
Hernán Carvajal Briceño.
hernan.hcarva...@gmail.com
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] SOLR problem Dspace 3.x

2014-01-29 Thread Andrea Schweer

  
  
Hi Hernn,

On 30/01/14 12:41, Hernan Carvajal
  Briceo wrote:


  Caused by: org.apache.solr.common.SolrException:
Not Found


  
  
  Not Found
  
  
  request: http://localhost/oai/select?q=*:*fl=item.lastmodifiedsort=item.lastmodified
desc,item.id
ascrows=1wt=javabinversion=2
  at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
  at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
  at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
  ... 9 more



  
  
  
  The SOLR server is up and runnig. I've checket it in the
Web browser:
  http://localhost/solr/search/admin/
  I can execute querys from there.
  Any ideas?

  


Looks like you left out a 'solr' when you told OAI where to connect.
I'd expect to see
http://localhost/solr/oai/select?q=*:*
rather than
http://localhost/oai/select?q=*:*
as given in your error message.

What is your value of solr.server in [dspace-src]/build.properties?
I'd expect it to be
solr.server=http://localhost/solr
Also, what is your value of solr.url in
[dspace-src]/dspace/config/modules/oai.cfg? This should be
solr.url="">

Just to be extra certain, also check the oai core in solr
(the url you gave goes to the search/discovery core): 
http://localhost/solr/oai/admin/

cheers,
Andrea
  

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Error importing statistics

2014-01-29 Thread Shaun Donovan
Hi all.

I am trying to import old statistics into version 3.2. I have run 
[dspace]/bin/dspace stats-log-converter on my log files, and it creates 
the intermediate file as:


20101126164959890,view_community,22,2010-11-26T16:49:59,anonymous,163.200.216.114
20101126165016503,view_community,84,2010-11-26T16:50:16,anonymous,163.200.216.114
20101126165029623,view_collection,143,2010-11-26T16:50:29,anonymous,163.200.216.114
20101126170546800,view_collection,143,2010-11-26T17:05:46,sha...@teqcle.co.za,163.200.216.114
20101126170630951,view_bitstream,1235,2010-11-26T17:06:30,sha...@teqcle.co.za,163.200.216.114
20101126170630951,view_bitstream,1041,2010-11-26T17:06:30,sha...@teqcle.co.za,163.200.216.114


When I run [dspace]/bin/dspace stats-log-importer on this file, I get:


[dspace@umkn-dsp01 bin]$ ./dspace stats-log-importer -s -i 
/dspace-run/bin/dspace.log.2010-11-26
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=575c4966-ed00-46ef-9547-fbe21927b2e8,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from 
classloader: file:/dspace-run/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided 
log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading: 
/dspace-run/config/log4j.properties
Processing file: /dspace-run/bin/dspace.log.2010-11-26
Error seeking country while seeking 2747848818
Error seeking country while seeking 2747848818
Error seeking country while seeking 2747848818
Error seeking country while seeking 2747848818
Error seeking country while seeking 2747848818
Error seeking country while seeking 2747848818
Exception: null
java.lang.NullPointerException
 at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:343)
 at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:511)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)


Can anybody help with this please?

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error importing statistics

2014-01-29 Thread Hilton Gibson
Hi Shaun

Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Statistics/Old_Versions

Regards

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 30 January 2014 07:43, Shaun Donovan sha...@teqcle.co.za wrote:

 Hi all.

 I am trying to import old statistics into version 3.2. I have run
 [dspace]/bin/dspace stats-log-converter on my log files, and it creates
 the intermediate file as:


 

 20101126164959890,view_community,22,2010-11-26T16:49:59,anonymous,163.200.216.114

 20101126165016503,view_community,84,2010-11-26T16:50:16,anonymous,163.200.216.114

 20101126165029623,view_collection,143,2010-11-26T16:50:29,anonymous,163.200.216.114
 20101126170546800,view_collection,143,2010-11-26T17:05:46,
 sha...@teqcle.co.za,163.200.216.114
 20101126170630951,view_bitstream,1235,2010-11-26T17:06:30,
 sha...@teqcle.co.za,163.200.216.114
 20101126170630951,view_bitstream,1041,2010-11-26T17:06:30,
 sha...@teqcle.co.za,163.200.216.114

 

 When I run [dspace]/bin/dspace stats-log-importer on this file, I get:


 
 [dspace@umkn-dsp01 bin]$ ./dspace stats-log-importer -s -i
 /dspace-run/bin/dspace.log.2010-11-26
   INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:

 DSpaceKernel:org.dspace:name=575c4966-ed00-46ef-9547-fbe21927b2e8,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
   INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/dspace-run/config/dspace.cfg
   INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
   INFO [main] (ConfigurationManager.java:1224) - Loading:
 /dspace-run/config/log4j.properties
 Processing file: /dspace-run/bin/dspace.log.2010-11-26
 Error seeking country while seeking 2747848818
 Error seeking country while seeking 2747848818
 Error seeking country while seeking 2747848818
 Error seeking country while seeking 2747848818
 Error seeking country while seeking 2747848818
 Error seeking country while seeking 2747848818
 Exception: null
 java.lang.NullPointerException
  at

 org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:343)
  at

 org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:511)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

 

 Can anybody help with this please?


 --
 WatchGuard Dimension instantly turns raw network data into actionable
 security intelligence. It gives you real-time visual feedback on key
 security issues and trends.  Skip the complicated setup - simply import
 a virtual appliance and go from zero to informed in seconds.

 http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread Hilton Gibson
Hi Bhavesh

You do not mention on your website in the footer which version of DSpace
you are using.
So I am assuming it is 3.2 after an upgrade.
If you have selected to use SOLR for both the browse and search indexes,
then you need to keep tomcat running when doing the index updates.
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/3.2#Step_1_-_Select_DAO_.28Data_Access_Objects.29_Engine

This is confusing.

The migration to using SOLR for advanced and simple search via the
discovery feature is the MAJOR thing that happened with the release of
DSpace 3.2.
Just keep that in mind.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 30 January 2014 09:42, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Dear helix84,

 I have go through that given thread (
 http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-duplicated-entries-td4660235.html
 )

 Local System
 
 STEP : 1 Stop the Apache Tomcat service
 STEP : 2 First I run [dspace]/bin/dspace index-init
 STEP : 3 [dspace]/bin/dspace update-discovery-index
 STEP : 4 Start the Apache Tomcat service

 Result : No Result..
 BUT

 I Remove the Solr index file from /SOlr/data/Index/
 and again I try the same above 4 steps then It's Working (It's show me
 recent submission one time on community  collection home page)... But it's
 not showing the Recent Submission on Home Page  searching is not
 working...

 LIVE :
 
 Even I have follow the same steps on server (I have not removed the
 data/index - because may be the searching will not work..so I have not try
 to delete )

 STEP : 1 Stop the Apache Tomcat service
 STEP : 2 First I run [dspace]/bin/dspace index-init
 STEP : 3 [dspace]/bin/dspace update-discovery-index
 STEP : 4 Start the Apache Tomcat service

 While executing SETP : 3 then I got one error (Attached Image) same error
 message I received on local after delete the solr/index entry .. What may
 be the issue..?

 You may check our repository : http://vslir.iimahd.ernet.in:8080/xmlui/

 But on Video Archieve :
 http://vslir.iimahd.ernet.in:8080/xmlui/handle/123456789/11706  (it's
 showing duplicate title).

 Please help me what I have to do..

 Thanks for your support..

 Thanks,
 Bhavesh

 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 On Wed, Jan 29, 2014 at 4:07 PM, helix84 heli...@centrum.sk wrote:

 See this thread:

 http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-
 duplicated-entries-td4660235.html


 Regards,
 ~~helix84

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



--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Update Database Schema from DSpace 3.X to 4.0

2014-01-29 Thread Hilton Gibson
PS: So it means that you keep the tomcat server running when doing index
updates.


*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 30 January 2014 09:42, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Dear helix84,

 I have go through that given thread (
 http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-duplicated-entries-td4660235.html
 )

 Local System
 
 STEP : 1 Stop the Apache Tomcat service
 STEP : 2 First I run [dspace]/bin/dspace index-init
 STEP : 3 [dspace]/bin/dspace update-discovery-index
 STEP : 4 Start the Apache Tomcat service

 Result : No Result..
 BUT

 I Remove the Solr index file from /SOlr/data/Index/
 and again I try the same above 4 steps then It's Working (It's show me
 recent submission one time on community  collection home page)... But it's
 not showing the Recent Submission on Home Page  searching is not
 working...

 LIVE :
 
 Even I have follow the same steps on server (I have not removed the
 data/index - because may be the searching will not work..so I have not try
 to delete )

 STEP : 1 Stop the Apache Tomcat service
 STEP : 2 First I run [dspace]/bin/dspace index-init
 STEP : 3 [dspace]/bin/dspace update-discovery-index
 STEP : 4 Start the Apache Tomcat service

 While executing SETP : 3 then I got one error (Attached Image) same error
 message I received on local after delete the solr/index entry .. What may
 be the issue..?

 You may check our repository : http://vslir.iimahd.ernet.in:8080/xmlui/

 But on Video Archieve :
 http://vslir.iimahd.ernet.in:8080/xmlui/handle/123456789/11706  (it's
 showing duplicate title).

 Please help me what I have to do..

 Thanks for your support..

 Thanks,
 Bhavesh

 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*


 On Wed, Jan 29, 2014 at 4:07 PM, helix84 heli...@centrum.sk wrote:

 See this thread:

 http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-
 duplicated-entries-td4660235.html


 Regards,
 ~~helix84

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



--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette