Re: [dspace-tech] Re: HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved

2016-01-08 Thread Mohamad CHAITOU
Hi Andrea,

I tested the email configuration and it is OK (I received the test email 
sent from dspace to my gmail account).

Then, I tried to log in to dspace using my admin account but it did not 
work as usual. Hence, following your advice I clicked on "forgot password" 
and I placed my gmail address which I previously tested successfully. I 
received nothing.
I examined the dspace log file (please see below); It seems that the 
problem comes from postgresql. It claims that eperson relation does not 
exist. 
Using pgAdmin I examined the database "dspace": I found 90 tables (the 
majority of them begin by cris). However, I did not found epersongroup and 
metadatafieldregistry tables (though I found cris_rp_pdef table which has 
20 columns but with no rows).

Thanks! 
Mohamad

Below is my dspace.log:


2016-01-08 11:02:36,601 INFO  
org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=9D7C3E48034CBFE34449B57211F17B82:ip_addr=127.0.0.1:*authenticate:attempting
 
password auth of user=*
2016-01-08 11:02:36,601 INFO  org.dspace.app.webui.servlet.PasswordServlet 
@ 
anonymous:session_id=9D7C3E48034CBFE34449B57211F17B82:ip_addr=127.0.0.1:*failed_login:email=,
 
result=4*
2016-01-08 11:04:00,101 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
*anonymous:session_id=9D7C3E48034CBFE34449B57211F17B82:ip_addr=127.0.0.1:database_error:org.postgresql.util.PSQLException\colon;
 
ERROR\colon; relation "eperson" does not exist*
  Position\colon; 15
org.postgresql.util.PSQLException: ERROR: relation "eperson" does not exist
  Position: 15
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at 
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:223)
at 
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseManager.java:364)
at 
org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.java:513)
at org.dspace.eperson.EPerson.findByEmail(EPerson.java:193)
at 
org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:222)
at 
org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
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.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:99)
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:1023)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.

[dspace-tech] Re: In DSpace 5.4 something dubious with the crosswalks ?

2016-01-08 Thread Evgeni Dimitrov
My mistake - the generated dspace-api-5.4.jar was not in the classpath...

On Friday, January 8, 2016 at 3:25:05 PM UTC+2, Evgeni Dimitrov wrote:
>
> On ingest I am getting a message
>
> org.dspace.core.PluginInstantiationException: Cannot load plugin class: 
> java.lang.ClassNotFoundException: 
> org.dspace.content.crosswalk.MARCIngestionCrosswalk
>
> But there is a file
>
>
> /dspace/dspace-5.4-src-release/dspace-api/target/classes/org/dspace/content/crosswalk/MARCIngestionCrosswalk.class
>
> And it works in DSpace 5.2 ...
>
> Any ideas?
>
>

-- 
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: Bulk expunge

2016-01-08 Thread helix84
On Fri, Jan 8, 2016 at 4:51 PM, neeta patel  wrote:
>
> But when I am checking in xmlui GUI the item is still there !!! any idea
> why its still showing.
>

I can think of two possibilities:
1) You need to clean XMLUI Cocoon cache
https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-ClearingCocoon(XMLUI)cache

2) Perhaps you interrupted the import process (Ctrl-c) or there was an
error (check dspace.log). Despite the success message (EXPUNGED!), the
changes are actually only commited at the end of import due to its
transactional nature. Try running the import on the same csv file again. If
you get "No changes detected", it should be OK. If not, just run the import
again.


Regards,
~~helix84

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

-- 
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: Bulk expunge

2016-01-08 Thread Andrea Bollini
If you have the list of items id you can do that using the build csv 
edit feature:

https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-Performing'actions'onitems

please note that the expunge action need to be enabled explicitly in the 
dspace.cfg

Hope this help,
Andrea

Il 08/01/2016 14:08, neeta patel ha scritto:


Hi All ,

I have to permanently delete items from the Dspace 4.1 . From Admin 
interface of Dspace we can only expunge single Item . Please someone 
help me to guide me .Is there any way to expunge bulk items ? How to 
use expunge command ?


Thanks in advance,

Kind Regards,

Neeta

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



--
Andrea Bollini
International Business Development, Deputy Leader
Open Source & Open Standards Strategy, Head
Cineca

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

--
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: Bulk expunge

2016-01-08 Thread neeta patel
Hi Helix84,

Thanks for your reply . I have alredy tried the method you specified .

./dspace metadata-import -f items.csv
---
Changes for item: 446 (/400)
 - EXPUNGE!

1 item(s) will be changed

Do you want to make these changes? [y/n] y
---
Changes for item: 446 (/400)
 - EXPUNGED!

But when I am checking in xmlui GUI the item is still there !!! any idea 
why its still showing.

Thanks,
Neeta

On Friday, 8 January 2016 13:38:14 UTC, helix84 wrote:
>
> For DSpace 5 and newer I'd recommend you to use the REST API. But in 
> DSpace 4, REST API can't delete yet.
>
> Another alternative is CSV export/import:
> https://wiki.duraspace.org/display/DSDOC5x/Batch+Metadata+Editing
>
> 1) Export the collection/community/site you want to edit. Try to restrict 
> the number of exported items so that the CSV is smaller than 10 MBs, 
> otherwise GUI tools like Excel or Calc will be very slow to work with it.
>
> 2) This is not strictly necessary, but will make it easier to work with 
> the CSV both for you and for DSpace: Delete all columns except "id", 
> "collection" (those are required) and "action". Columns that are not 
> present during import will be left unmodified.
>
> 3) Add the value "expunge" into the "action" column of those items you 
> want to delete.
>
> 4) Use the CLI to run the import. If you want to use the web UI instead, 
> make sure to set allowexpunge = true and gui-item-limit in 
> [dspace]/config/modules/bulkedit.cfg and restart dspace.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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: Bulk expunge

2016-01-08 Thread helix84
For DSpace 5 and newer I'd recommend you to use the REST API. But in DSpace
4, REST API can't delete yet.

Another alternative is CSV export/import:
https://wiki.duraspace.org/display/DSDOC5x/Batch+Metadata+Editing

1) Export the collection/community/site you want to edit. Try to restrict
the number of exported items so that the CSV is smaller than 10 MBs,
otherwise GUI tools like Excel or Calc will be very slow to work with it.

2) This is not strictly necessary, but will make it easier to work with the
CSV both for you and for DSpace: Delete all columns except "id",
"collection" (those are required) and "action". Columns that are not
present during import will be left unmodified.

3) Add the value "expunge" into the "action" column of those items you want
to delete.

4) Use the CLI to run the import. If you want to use the web UI instead,
make sure to set allowexpunge = true and gui-item-limit in
[dspace]/config/modules/bulkedit.cfg and restart dspace.


Regards,
~~helix84

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

-- 
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] In DSpace 5.4 something dubious with the crosswalks ?

2016-01-08 Thread Evgeni Dimitrov
On ingest I am getting a message

org.dspace.core.PluginInstantiationException: Cannot load plugin class:
java.lang.ClassNotFoundException:
org.dspace.content.crosswalk.MARCIngestionCrosswalk

But there is a file

/dspace/dspace-5.4-src-release/dspace-api/target/classes/org/dspace/content/crosswalk/MARCIngestionCrosswalk.class

And it works in DSpace 5.2 ...

Any ideas?

-- 
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: Missing dependency in DSpace 5.4 ??

2016-01-08 Thread Evgeni Dimitrov
I added
   servlet-api-2.5-20081211.jar

And it seems this problem was resolved...

On Friday, January 8, 2016 at 1:28:36 PM UTC+2, Evgeni Dimitrov wrote:
>
> I have a small application, which adds items to DSpace. It works in DSpace 
> 5.2.
>
> In DSpace 5.4 it fails at
>
> ( DSpaceKernelInit.getKernel(null) )
>  .start(ConfigurationManager.getProperty("dspace.dir"));
>
> with
>  java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
>
> I am building the application with Maven with a single dependency:
>
> 
>   org.dspace
>   dspace-api
>   5.4
> 
>
> And I see that there is a difference in the .jars when building for 5.2 
> and 5.4
>
> What can be done in this case?
>
>

-- 
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: Bulk expunge

2016-01-08 Thread neeta patel
 

Hi All ,

 

I have to permanently delete items from the Dspace 4.1 . From Admin 
interface of Dspace we can only expunge single Item . Please someone help 
me to guide me .Is there any way to expunge bulk items ? How to use expunge 
command ?

 

Thanks in advance,

 

Kind Regards,

Neeta

-- 
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] Missing dependency in DSpace 5.4 ??

2016-01-08 Thread Evgeni Dimitrov
I have a small application, which adds items to DSpace. It works in DSpace
5.2.

In DSpace 5.4 it fails at

( DSpaceKernelInit.getKernel(null) )
 .start(ConfigurationManager.getProperty("dspace.dir"));

with
 java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

I am building the application with Maven with a single dependency:


  org.dspace
  dspace-api
  5.4


And I see that there is a difference in the .jars when building for 5.2 and
5.4

What can be done in this case?

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