Re: [dspace-tech]: advanced search boolean operators

2016-01-20 Thread Tim Donohue

Hello Nada,

AND/OR searches are still supported in DSpace, but they now must be 
typed into the search box (similar to you'd do in Google or similar). 
The search form itself has changed to better support the new Solr-based 
search engine (added in recent versions of DSpace). The new Solr based 
search engine gives us many distinct advantages, in that our entire 
browse/search system utilizes it (so that Search/Browse become more 
similar in nature) and we are able to now support the "Discover" facets 
on homepages / Community/Collection pages, and better searching within 
content (including hit highlighting).


But, in terms of boolean searching, you can still use it by simply 
typing it into the search box, for example:


qatar AND thesis

You also can limit by fields (if you know the field name/value), for 
example:


qatar AND type:thesis OR type:article

At this point in time, the boolean options are not selectable in the 
"Filters" section itself.  That might be possible to implement in the 
future, but we'd want to determine if enough of our users see that as a 
useful addition or not (and then locate a volunteer developer to help 
make that happen).


Tim

On 1/10/2016 7:27 AM, Nada Abo-Eita wrote:

Dear DSpace community,

We have upgraded our Dspace to version 5.4 . With the previous version 
we had (1.8), we noticed that we can combine search filters using 
Boolean search operators (OR, AND,NOT).
But with the upgraded version, we don't have the ability to combine 
search filters using Boolean search operators (OR, AND).


In DSpace version 1.8 :
--


​

In DSpace version 5.4 :
--

​

So what if I want to search for this query "qatar" then filter the 
results to get only Article *OR * Master Thesis How can I do this with 
DSpace version 5.4?




​


Could you please explain why combing search filters using Boolean 
operators feature is not supported with v. 5.4?


Regards,

Nada Abo Eita
 
	This email has been sent from a virus-free computer protected by Avast.
www.avast.com 
 



--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
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: DSpace Solr browse indexes

2016-01-20 Thread Poulter, Dale
Good morning all,

I have a perplexing issue.  Working in our development environment the system 
(v5) is working as expected except for the browse indexes.  The reindex 
(./bin/dspace index-discovery) completed without an error and files are created 
in the solr/search/index directories.  However, when attempting to browse  
dspace shows no items available.I can see the solr admin interface and a 
wget http://dev-da.library.vanderbilt.edu:8080/solr will return results.  The 
dspace.log does not show any errors and the solr.log is empty.  The only 
indication of an issue is from the solr admin interface (see below) and appears 
to have occurred after the reindex.Any suggestions as to the issue?  Thanks.



1/20/2016, 8:36:17 AM
WARN
BinaryResponseWriter
Error reading a field from document : 
SolrDocument{DSIndexer.lastIndexed=[1433625942221],? 
DSIndexer.status=[archived],? type=[2]}
1/20/2016, 8:36:17 AM
WARN
BinaryResponseWriter
Error reading a field from document : 
SolrDocument{DSIndexer.lastIndexed=[1433625942246],? 
DSIndexer.status=[archived],? type=[2]}
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
   at java.lang.String.charAt(String.java:658)
   at 
org.apache.solr.util.NumberUtils.SortableStr2int(NumberUtils.java:163)
   at 
org.apache.solr.schema.SortableIntField.toObject(SortableIntField.java:98)
   at 
org.apache.solr.schema.SortableIntField.toObject(SortableIntField.java:56)
   at 
org.apache.solr.response.BinaryResponseWriter$Resolver.getValue(BinaryResponseWriter.java:233)
   at 
org.apache.solr.response.BinaryResponseWriter$Resolver.getDoc(BinaryResponseWriter.java:196)
   at 
org.apache.solr.response.BinaryResponseWriter$Resolver.writeResultsBody(BinaryResponseWriter.java:156)
   at 
org.apache.solr.response.BinaryResponseWriter$Resolver.writeResults(BinaryResponseWriter.java:183)
   at 
org.apache.solr.response.BinaryResponseWriter$Resolver.resolve(BinaryResponseWriter.java:88)
   at 
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:158)
   at 
org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:148)
   at 
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:242)
   at 
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
   at 
org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:96)
   at 
org.apache.solr.response.BinaryResponseWriter.write(BinaryResponseWriter.java:52)
   at 
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:758)
   at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:426)
   at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:50)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
   at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
   at 
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:334)
   at 
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:119)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
   at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
   at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
   at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at 

Re: [dspace-tech] Upgrade 3.2 to 5.4 database problem...

2016-01-20 Thread Tim Donohue

Hi Karol,

Sorry for the delayed response.  It looks like your DSpace database has 
one (or more) non-standard "views" created that are getting in the way 
of the automatic database migration process.  As we have now moved to 
this automatic database migration, we are unfortunately not able to 
support non-standard, custom tables or views.


Specifically, the problematic custom view in this case is one called 
"stats.v_workflow", which according to the error "depends on table 
community column short_description".  In DSpace 5, that database column 
no longer exists, and all Community metadata is now stored in Dublin 
Core (dc).


If you still require custom tables or views, I'd recommend creating your 
own custom Flyway (http://flywaydb.org/) SQL or Java migration scripts 
to manage those custom tables/views.  DSpace will automatically look for 
custom Flyway scripts in the following areas:

* In the [dspace]/etc/postgres/ folder (it looks for *.sql files)
* In the Java classpath under the Java package (or subpackages): 
"org.dspace.storage.rdbms.migration"


I just added some additional documentation about managing custom DB 
migrations (via Flyway) to our official documentation at:

https://wiki.duraspace.org/display/DSDOC5x/Storage+Layer#StorageLayer-CustomRDBMStables,columsorviews

In order to proceed with the upgrade, you likely will need to review 
that custom view at least temporarily. Then the question is just whether 
you need to recreate it (via a custom Flyway migration), or if your 
custom DSpace can live without it.


Good luck,

Tim

On 1/10/2016 2:54 AM, Karol Sokalski wrote:

Hi everyone,

I have problem with upgrade database from DSpace 3.2 to DSpace 5.4

I using /dspace/bin/dspace database migrate
*
*
*database info *

| 3.0| Initializing from DSpace 3 | 2016-01-10 09:45:33 | 
Success |
| 4.0| Upgrade to DSpace 4.x sche | 2016-01-10 09:45:34 | 
Success |
| 5.0.2014.08.08 | DS-1945 Helpdesk Request a | 2016-01-10 09:45:35 | 
Success |
| 5.0.2014.09.25 | DS 1582 Metadata For All O | 2016-01-10 09:45:35 | 
Success |

*| 5.0.2014.09.26 | DS-1582 Metadata For All O | * *| Pending |*
*
*
*LOG:*
*
*
2016-01-10 09:45:40,741 ERROR 
org.flywaydb.core.internal.command.DbMigrate @ Migration of schema 
"public" to version 5.0.2014.09.26 failed! Changes successfully rolled 
back.
2016-01-10 09:45:40,753 ERROR org.dspace.storage.rdbms.DatabaseManager 
@ Failed to initialize the database:

java.sql.SQLException: Flyway migration error occurred
Caused by: 
org.flywaydb.core.internal.dbsupport.FlywaySqlScriptException: Error 
executing statement at line 84: alter table community drop column 
introductory_text, drop column short_description, drop column 
side_bar_text, drop column copyright_text, drop column name
Caused by: org.postgresql.util.PSQLException: ERROR: cannot drop table 
community column short_description because other objects depend on it
  Detail: view stats.v_workflow depends on table community column 
short_description

  Hint: Use DROP ... CASCADE to drop the dependent objects too.




*
*

--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
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] DSpace-CRIS: Compilation error?

2016-01-20 Thread Michael White
Hi,

> OK, so we switched to Tomcat 7 and Oracle JDK 7, but I'm still seeing the 
> same Compilation errors when trying compile DSpace CRIS API :-(

I now, finally, have DSpace-CRIS compiling :-)

I did a bit of poking about on the interweb and stumbled across a link to the 
explicit DSpace-CRIS v5.3 code 
(https://github.com/Cineca/DSpace/tree/dspace-cris-5.3.0), whereas I was 
previously using https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris . . . 

So, I started again from scratch using the explicit version 5.3 and this time 
it all worked perfectly and it has now compiled!

I don't know if 5.x.x is expected to work (it appears to be the version that is 
linked to from all the obvious places?) but it didn't for me - v5.3 did 
however, so I hope there isn't some unknown reason why I shouldn't be using 
this version (and why it was so hard to find ;-) ).

I also don't know if this version would have worked under Open JDK and Tomcat 8 
or not, but I may try that as well at some stage as my sys admin colleagues 
would rather I used these (well, Tomcat 8 at least) going forwards - but this 
is only an "investigation instance" at this point, so I can save all that for 
another day!

Anyway, on to the next steps!

Cheers,

Mike

Michael White
eLearning Developer
Information Services

T: (01786) 466877
E: michael.wh...@stir.ac.uk
A: S8, Library, University of Stirling, Stirling, FK9 4LA 


> -Original Message-
> From: Michael White
> Sent: 20 January 2016 13:01
> To: Andrea Bollini ; dspace-tech@googlegroups.com
> Subject: RE: [dspace-tech] DSpace-CRIS: Compilation error?
> 
> Hi again,
> 
> > I guess that your problems come with JAVA 8 and OpenJDK. My experience
> is that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7.
> 
> OK, so we switched to Tomcat 7 and Oracle JDK 7, but I'm still seeing the same
> Compilation errors when trying compile DSpace CRIS API :-(
> 
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 34.675s
> [INFO] Finished at: Wed Jan 20 12:51:23 GMT 2016 [INFO] Final Memory:
> 75M/837M [INFO] 
> 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
> plugin:3.1:compile (default-compile) on project dspace-cris-api: Compilation
> failure: Compilation failure:
> [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-
> cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint
> erOU.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is
> not abstract and does not override abstract method
> getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja
> va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-
> cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint
> erPJ.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is
> not abstract and does not override abstract method
> getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja
> va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-
> cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint
> erRP.java:[19,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is
> not abstract and does not override abstract method
> getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja
> va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> [ERROR] /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-
> cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPoint
> erDO.java:[20,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is
> not abstract and does not override abstract method
> getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,ja
> va.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> 
> I've double checked the Java version and it seems to be correct:
> 
> tomcat7@cris:/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent$ java -
> version java version "1.7.0_79"
> Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-
> Bit Server VM (build 24.79-b02, mixed mode)
> 
> Does anyone have any other ideas as I'm completely stuck at this point?! :-(
> 
> Cheers,
> 
> Mike
> 
> Michael White
> eLearning Developer
> Information Services
> 
> T: (01786) 466877
> E: michael.wh...@stir.ac.uk
> A: S8, Library, University of Stirling, Stirling, FK9 4LA
> 
> 
> > -Original Message-
> > From: Andrea Bollini [mailto:a.boll...@cineca.it]
> > Sent: 19 January 2016 22:40
> > To: Michael White ; dspace-
> > t...@googlegroups.com
> > Subject: Re: [dspace-tech] DSpace-CRIS: 

RE: [dspace-tech] DSpace-CRIS: Compilation error?

2016-01-20 Thread Michael White
Hi Andrea,

> My experience is
> that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7

Many thanks for getting back to me, much appreciated - and thanks for the 
pointers regarding using Tomcat 7 and Oracle JDK 7 - I'll discuss this with my 
Sys Admin (the box I'm using is provided by our Systems and Networks team) and 
see if we can change to these more supported options :-).

Cheers,

Mike

Michael White
eLearning Developer
Information Services

T: (01786) 466877
E: michael.wh...@stir.ac.uk
A: S8, Library, University of Stirling, Stirling, FK9 4LA 


> -Original Message-
> From: Andrea Bollini [mailto:a.boll...@cineca.it]
> Sent: 19 January 2016 22:40
> To: Michael White ; dspace-
> t...@googlegroups.com
> Subject: Re: [dspace-tech] DSpace-CRIS: Compilation error?
> 
> Hi Michael,
> you are posting in the right list. DSpace-CRIS is an extension of DSpace and 
> we
> want to work as close as possible to the wide DSpace community to share
> experience and code where appropriate. For these reasons we have
> prefered to avoid the setup of separate mailing list for DSpace-CRIS.
> 
> I guess that your problems come with JAVA 8 and OpenJDK. My experience is
> that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. Others have
> reported some issues with tomcat 8 but at the end they were able to run it.
> Unfortunately we have not received patch or bug fix for that and we haven't
> had yet time to look to this specific issue.
> 
> Let me know if Tomcat7 and Oracle Java JDK 7 is not an option for you, in the
> case we will try to schedule a debug session on the java/tomcat 8 issues by
> the end of January/start of February.
> Andrea
> 
> Il 19/01/2016 15:35, Michael White ha scritto:
> > Hi,
> >
> > Again, apologies if this isn't the correct forum to ask about this :-)
> >
> > I've been trying to compile/build DSpace-CRIS (from
> https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris) - when I run "mvn
> package" in the source directory, it now proceeds OK up to "Building DSpace
> CRIS :: API CRIS-5.3.1-SNAPSHOT", at which point it is failing with a 
> Compilation
> Error:
> >
> > [INFO] -
> > [ERROR] COMPILATION ERROR :
> > [INFO] -
> > [ERROR]
> > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma
> > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerOU.java:[1
> > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is not
> > abstract and does not override abstract method
> > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer
> > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> > [ERROR]
> > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma
> > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerPJ.java:[1
> > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is not
> > abstract and does not override abstract method
> > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer
> > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> > [ERROR]
> > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma
> > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerRP.java:[1
> > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is not
> > abstract and does not override abstract method
> > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer
> > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> > [ERROR]
> > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma
> > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerDO.java:[2
> > 0,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is not
> > abstract and does not override abstract method
> > getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaSer
> > vice,java.lang.String) in it.cilea.osd.jdyna.widget.WidgetPointer
> > [INFO] 4 errors
> >
> > I've been trying to pick this apart and understand what the problem might
> be, but no joy so far, so I'm really hoping that someone out there can help?
> >
> > If anyone has any thoughts or suggestions as to what the problem might be
> (and how to get past it!) they would be very welcome!
> >
> > Cheers,
> >
> > Mike
> >
> > Michael White
> > Research Systems Developer
> > Information Services
> >
> > T: (01786) 466877
> > E: michael.wh...@stir.ac.uk
> > A: S8, Library, University of Stirling, Stirling, FK9 4LA
> >
> >
> >
> 
> 
> --
> 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


-- 
The University is ranked in the QS World Rankings of the top 5% of universities 
in the world (QS World University Rankings, 2014)
The University 

RE: [dspace-tech] DSpace-CRIS: Compilation error?

2016-01-20 Thread Michael White
Hi again,

> I guess that your problems come with JAVA 8 and OpenJDK. My experience is 
> that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7.

OK, so we switched to Tomcat 7 and Oracle JDK 7, but I'm still seeing the same 
Compilation errors when trying compile DSpace CRIS API :-(

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 34.675s
[INFO] Finished at: Wed Jan 20 12:51:23 GMT 2016
[INFO] Final Memory: 75M/837M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project dspace-cris-api: Compilation failure: Compilation failure:
[ERROR] 
/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerOU.java:[19,8]
 org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is not abstract and 
does not override abstract method 
getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String)
 in it.cilea.osd.jdyna.widget.WidgetPointer
[ERROR] 
/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerPJ.java:[19,8]
 org.dspace.app.cris.model.jdyna.widget.WidgetPointerPJ is not abstract and 
does not override abstract method 
getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String)
 in it.cilea.osd.jdyna.widget.WidgetPointer
[ERROR] 
/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerRP.java:[19,8]
 org.dspace.app.cris.model.jdyna.widget.WidgetPointerRP is not abstract and 
does not override abstract method 
getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String)
 in it.cilea.osd.jdyna.widget.WidgetPointer
[ERROR] 
/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/main/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerDO.java:[20,8]
 org.dspace.app.cris.model.jdyna.widget.WidgetPointerDO is not abstract and 
does not override abstract method 
getImportPropertyEditor(it.cilea.osd.jdyna.service.IPersistenceDynaService,java.lang.String)
 in it.cilea.osd.jdyna.widget.WidgetPointer

I've double checked the Java version and it seems to be correct:

tomcat7@cris:/usr/src/DSpace-dspace-5_x_x-cris/dspace-parent$ java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

Does anyone have any other ideas as I'm completely stuck at this point?! :-(

Cheers,

Mike

Michael White
eLearning Developer
Information Services

T: (01786) 466877
E: michael.wh...@stir.ac.uk
A: S8, Library, University of Stirling, Stirling, FK9 4LA 


> -Original Message-
> From: Andrea Bollini [mailto:a.boll...@cineca.it]
> Sent: 19 January 2016 22:40
> To: Michael White ; dspace-
> t...@googlegroups.com
> Subject: Re: [dspace-tech] DSpace-CRIS: Compilation error?
> 
> Hi Michael,
> you are posting in the right list. DSpace-CRIS is an extension of DSpace and 
> we
> want to work as close as possible to the wide DSpace community to share
> experience and code where appropriate. For these reasons we have
> prefered to avoid the setup of separate mailing list for DSpace-CRIS.
> 
> I guess that your problems come with JAVA 8 and OpenJDK. My experience is
> that DSpace-CRIS run well with Oracle JDK 7 and Tomcat 7. Others have
> reported some issues with tomcat 8 but at the end they were able to run it.
> Unfortunately we have not received patch or bug fix for that and we haven't
> had yet time to look to this specific issue.
> 
> Let me know if Tomcat7 and Oracle Java JDK 7 is not an option for you, in the
> case we will try to schedule a debug session on the java/tomcat 8 issues by
> the end of January/start of February.
> Andrea
> 
> Il 19/01/2016 15:35, Michael White ha scritto:
> > Hi,
> >
> > Again, apologies if this isn't the correct forum to ask about this :-)
> >
> > I've been trying to compile/build DSpace-CRIS (from
> https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris) - when I run "mvn
> package" in the source directory, it now proceeds OK up to "Building DSpace
> CRIS :: API CRIS-5.3.1-SNAPSHOT", at which point it is failing with a 
> Compilation
> Error:
> >
> > [INFO] -
> > [ERROR] COMPILATION ERROR :
> > [INFO] -
> > [ERROR]
> > /usr/src/DSpace-dspace-5_x_x-cris/dspace-parent/dspace-cris/api/src/ma
> > in/java/org/dspace/app/cris/model/jdyna/widget/WidgetPointerOU.java:[1
> > 9,8] org.dspace.app.cris.model.jdyna.widget.WidgetPointerOU is not
> > abstract 

[dspace-tech] rest servlet exception

2016-01-20 Thread Monika Mevenkamp
I get the following servlet exception   when I access /rest on my site 

I can’t see any differences in my dspace/config directory that look like they 
might  impact this. Of cause dspace.cfg and the likes are heavily changed .. I 
did not touch the dspace-rest code at all 

I did change the rest api to run on http   - I know I shouldn’t do that - but 
haven’t set the server up with certificates 

What might be the issue ? 

Monika
 

type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)

com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:669)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache 
Tomcat/7.0.62 logs.


==
the full stack trace is not much more informative 

Jan 20, 2016 9:34:40 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [DSpace REST API] in context with path 
[/rest] threw exception [Servlet execution threw an exception] with root cause
java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:669)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:744)



-


-- 
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] Harvester stops

2016-01-20 Thread Franziska Ackermann

Dear list,

When I initiate a harvest process from the command line (DSpace 5.3), 
the harvester stops after some time and throws an error.

/"java.lang.OutOfMemoryError: Java heap space"/
or
/"java.lang.OutOfMemoryError: GC overhead limit exceeded" .//
/
When I reboot and start the harvest process from the command line again, 
the harvester works but after some time it stops again and throws one of 
the above errors.


Did others have the same problem? How did you fix it?
We've checked the allocated heap memory, which should be fine.
/JAVA_OPTS="-Xmx2048M -Xms2048M  -XX:MaxPermSize=512m/

Is the problem related to https://jira.duraspace.org/browse/DS-1802 ?

Best regards,
Franziska Ackermann

--
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] oai and access restricted items

2016-01-20 Thread Claudia Jürgen

Hello Jose,

you need not add this (unless you customized your xoai.xml and removed
it or using another context). This is the default filter for the default
context.
Have you checked your oai solr data? The restricted item should have the
field
item.public set to false


Claudia


Am 19.01.2016 um 21:18 schrieb Jose Blanco:

I just tried putting this:

 
 
 
 
 
 
 
 
 
 
 
 

in xoai.xml

but when I do oai/request?verb=Identify

I get:

2016-01-19 15:14:05,433 ERROR org.dspace.xoai.app.BasicConfiguration @ Not
able to start XOAI normal cache service.
org.dspace.xoai.services.api.config.XOAIManagerResolverException:
com.lyncode.xoai.dataprovider.exceptions.ConfigurationException: Unexpected
element LeftCondition


On Tue, Jan 19, 2016 at 4:04 AM, Claudia Jürgen <
claudia.juer...@tu-dortmund.de> wrote:


Hello Jose,

I think the harvest.includedrestricted.oai dspace.cfg parameter is no
longer valid since the xoai is in use.
You can achieve it with xoai.xml setting. The default filter applied to
the default context:

 
 
 
 
 
 
 
 
 
 
 
 
 

already contains an itemAccessCondition, which is based afair on the
DEFAULT_ITEM_READ and not on the acutal rights.

If you are using 5.1 and running
[dspace]/bin/dspace oai import -c
you might just be stuck with this error
https://jira.duraspace.org/browse/DS-2543
which was resolved in 5.3.

Hope this helps

Claudia Jürgen




Am 18.01.2016 um 18:40 schrieb Jose Blanco:


Going to re-post this question.

-Jose

On Wed, Jan 6, 2016 at 4:11 PM, Jose Blanco  wrote:

I tried it on 5.1.  I had an item that was completely restricted to a

group that was not Anonymous and I did:

./dspace oai -c import

And the restricted item showed up.

Do I need to make any changes to this file:



https://github.com/DSpace/DSpace/blob/master/dspace/config/crosswalks/oai/xoai.xml#L51

Or should it just work by default.

Thank you!

On Thu, Dec 17, 2015 at 10:08 AM, helix84  wrote:

On Tue, Dec 15, 2015 at 5:10 PM, Jose Blanco  wrote:

harvest.includerestricted.oai = false

I can't find where in the code it's used.

I couldn't find any uses, either.

We'll probably have to do a review of configuration properties for
DSpace
6, so I expect we'll deal with it there.


Is there any documentation on how to have oai not provide restricted

items?

Since DSpace 5.0, that should be the case by default (DS-1856). If it

isn't so, please, reopen that bug or file a new one.

https://jira.duraspace.org/browse/DS-1856

Slightly related:

https://jira.duraspace.org/browse/DS-950


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.



--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential.
It is solely intended for the recipient. If you are not the intended
recipient of this e-mail please contact the sender and delete this message.
Thank you. Without prejudice of e-mail correspondence, our statements are
only legally binding when they are made in the conventional written form
(with personal signature) or when such documents are sent by fax.


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