[dspace-tech] DSpace Dev Show and Tell - Aug 28 - DSpace and Docker

2018-08-06 Thread Terry Brady
The August 28 DSpace Developer Show and Tell will be a demonstration
of the DSpace
Docker Tutorial .
Meeting logistics are here.

   -
   
https://wiki.duraspace.org/display/DSPACE/Dev+Show+and+Tell+-+Aug+28%2C+2018+-+1500UTC+-+DSpace+On+DockerHub

The video from the last developer show and tell has been posted.  Thanks to
Art and James for presenting and thanks to Tim for posting the video.

   -
   
https://wiki.duraspace.org/display/DSPACE/Dev+Show+and+Tell+-+July+31%2C+2018+-+1500UTC+-+REST+API+Tools

I would like to schedule additional Developer Show and Tell meetings for
the remainder of the year.  Please send me your topic ideas.

-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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] Subida de archivos fallida - file upload failed.

2018-08-06 Thread frguerrero89
Hola, alguien conoce la causa del siguiente error: *2018-08-06 14:35:44,194 
WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
sopo...@metabiblioteca.com:session_id=07C53C7F776068762993B0FAC96D25FC:ip_addr=190.159.7.172:general_jspui_error:java.lang.NullPointerException*
 
- Está ocurriendo al intentar subir un archivo, ya sea un logo de una 
comunidad o colección, o un documento de un ítem, adjunto el stack trace de 
del mismo, ya revisé los archivos dspace.cfg y bitstore.xml y en ninguna 
parte me dice algo sobre el almacenamiento temporal de archivos cargados, 
solo el maximo de carga, los permisos de las carpetas estan correctamente 
configurados (chmod 765) y el propietario es el usuario tomcat7, ¿que mas 
puedo hacer para encontrar la causa? gracias por la ayuda comunidad.


Hello, someone knows the cause of the following error: *2018-08-06 
14:35:44,194 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
sopo...@metabiblioteca.com:session_id=07C53C7F776068762993B0FAC96D25FC:ip_addr=190.159.7.172:general_jspui_error:java.lang.NullPointerException*
 
- It is happening when trying to upload a file, either a logo of a 
community or collection, or a document of an item, attached the stack trace 
of it, and I checked the files dspace.cfg and bitstore.xml and nowhere does 
it tell me something about the temporary storage of uploaded files, only 
the maximum load, the permissions of the folders are correctly configured 
(chmod 765) and the owner is the user tomcat7, what else can I do to find 
the cause? 
thanks for the help community


Stack trace:

2018-08-06 14:35:44,194 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
sopo...@metabiblioteca.com:session_id=07C53C7F776068762993B0FAC96D25FC:ip_addr=190.159.7.172:general_jspui_error:java.lang.NullPointerException
java.lang.NullPointerException
at 
org.dspace.storage.bitstore.BitstreamStorageServiceImpl.store(BitstreamStorageServiceImpl.java:107)
at 
org.dspace.content.BitstreamServiceImpl.create(BitstreamServiceImpl.java:101)
at 
org.dspace.content.BitstreamServiceImpl.create(BitstreamServiceImpl.java:120)
at 
org.dspace.content.ItemServiceImpl.createSingleBitstream(ItemServiceImpl.java:331)
at 
org.dspace.submit.step.UploadStep.processUploadFile(UploadStep.java:545)
at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:314)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:122)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
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:221)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run

Re: [dspace-tech] Mirage2 & xmlui "file not found" error

2018-08-06 Thread Tim Donohue
Hello Sorin,

If you need further help, I'd recommend sending along more information to
this list about your build environment.  You said you are using Ubuntu
18.04 and DSpace 6.  But, what version of Java are you using (java
-version)? What version of Maven (mvn -v)?  What version of Ant (ant
-version)? Is this DSpace 6.0, 6.1, 6.2 or 6.3?

Oftentimes, build issues have something to do with invalid/incorrect
dependencies.  So, it's possible you are using either an unsupported
version of Maven or Java.

Take a close look at the versions of Java, Maven, etc that are listed on
the DSpace 6 installation guide:
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace

- Tim

On Mon, Aug 6, 2018 at 6:53 AM Sorin Solomon  wrote:

> Actually, it didn't.
> Nothing worked. None of the things others did in previous posts on the
> same subject.
>
> At the moment, pretty much lost.
> Any help would be greatly appreciated.
>
> Thanks in advance.
>
> On Sunday, August 5, 2018 at 5:04:25 PM UTC+3, Eugene Jose Espinoza wrote:
>
>> Hi! Has this been resolved? If it isn't, Ican share to you tomorrow
>> morning what I did installing Dpace 6.x with Mirage2 in Ubuntu.
>> Thanks and cheers!
>>
>> On Sun, Jul 15, 2018, 9:32 PM Sorin Solomon  wrote:
>>
>>> The promised update:
>>>
>>> I tried to install manually the prerequisites following the Mirage2
>>> instructions
>>> .
>>> It did not changed the result, I get the same error message.
>>> Will try to look deeper in to the known issues article, but will be more
>>> than happy for ideas how to solve it.
>>>
>>> TIA,
>>>
>>> Sorin
>>>
>>> On Sunday, July 15, 2018 at 9:01:32 AM UTC+3, Sorin Solomon wrote:

  Thanks, Tim, for your prompt response.

 I checked and I have git installed. Will look later into supported
 versions and will check that I have what's needed.
 I thought that with the command mvn package -Dmirage2.on=true there's
 no need to install manually the prerequisites. I didn't install any of 
 them.
 I will also look into the links you gave me and come back with
 results.

 Thanks again.


 On Thursday, July 12, 2018 at 6:04:51 PM UTC+3, Tim Donohue wrote:
>
> Hi Sorin,
>
> To me, this sounds like a possible build issue with the Mirage 2
> theme.  You might want to double check some of the warnings/notes here
> about building Mirage 2.
>
>
> https://wiki.duraspace.org/display/DSDOC6x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-ThebuildprocessandenablingMirage2
>
>
> For example, Mirage 2 has its own prerequisites listed there (for
> example, you need a more recent version of Maven and you must have Git
> installed)
>
> Additionally, there are some other tips / hints from others who've had
> build issues with Mirage 2 in the past.  See this "Common build issues"
> section:
>
> https://wiki.duraspace.org/display/DSDOC6x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues
>
>
> If you are still encountering issues, I'd recommend giving us more
> information about your build environment (Operating system, version of
> Java, version of Maven, etc) on this mailing list.  Hopefully others here
> could help figure out what the issue may be.
>
> Tim
>
>
> On Thu, Jul 12, 2018 at 7:19 AM Sorin Solomon 
> wrote:
>
>> Hi, everyone.
>>
>> I installed DSpace 6 on Ubuntu 18.04, following the instructions in
>> the wiki
>> .
>> All finished successfully, but when I go to [IP Address]:8080/xmlui I
>> get the error message shown in the attached screenshot.
>> I searched the Support Forum and I found this issue in the past.
>> I checked, it's not an issue of permissions
>> .
>> I also tried to change permissions on the /root folder (like in this
>> article
>> ),
>> same result. I even tried to run mvn -U clean package -Dmirage2.on=
>> true (like shown here
>> ),
>> but the result is the same.
>>
>> I'm pretty out of ideas here. Help?
>>
>> Thank you in advance for your assistance.
>>
>> Sorin Solomon
>>
>>
>>
>> --
>> 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...@googlegroups.com.
>> T

Re: [dspace-tech] Error OAI identify

2018-08-06 Thread christian criollo
Hi Emilio

I have applied the changes in the archives that in the ticket are mencioned 
but when I compile and replace in the test enviroment the error continues 
appear

El martes, 24 de julio de 2018, 17:47:36 (UTC-5), christian criollo 
escribió:
>
> Thank you very much Emilio
>
> El martes, 24 de julio de 2018, 13:37:16 (UTC-5), Emilio Lorenzo escribió:
>>
>> Hi christian, 
>>
>> See  patches for version 6 in https://jira.duraspace.org/browse/DS-3453
>>
>> an version 5 in https://jira.duraspace.org/browse/DS-2549
>>
>> hope that helps
>>
>> Emilio
>>
>>
>> El 24/07/2018 a las 18:46, christian criollo escribió:
>>
>>
>> Good morning
>>
>>  I have a error 500 when I try access to the url OAI, I dont know what 
>> can be happening  the error is the next: 
>>
>> Estado HTTP 500 - Request processing failed; nested exception is 
>> org.hibernate.exception.SQLGrammarException: could not extract ResultSet
>>
>> type Informe de Excepción
>>
>> mensaje Request processing failed; nested exception is 
>> org.hibernate.exception.SQLGrammarException: could not extract ResultSet
>>
>> descripción El servidor encontró un error interno que hizo que no pudiera 
>> rellenar este requerimiento.
>>
>> excepción
>>
>> org.springframework.web.util.NestedServletException: Request processing 
>> failed; nested exception is org.hibernate.exception.SQLGrammarException: 
>> could not extract ResultSet
>> 
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:963)
>> 
>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>> 
>> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>
>> causa raíz
>>
>> org.hibernate.exception.SQLGrammarException: could not extract ResultSet
>> 
>> org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:82)
>> 
>> org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
>> 
>> org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)
>> 
>> org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
>> 
>> org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:88)
>> org.hibernate.loader.Loader.getResultSet(Loader.java:2062)
>> org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1859)
>> org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)
>> org.hibernate.loader.Loader.doQuery(Loader.java:906)
>> 
>> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348)
>> org.hibernate.loader.Loader.doList(Loader.java:2550)
>> org.hibernate.loader.Loader.doList(Loader.java:2536)
>> org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2366)
>> org.hibernate.loader.Loader.list(Loader.java:2361)
>> org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495)
>> 
>> org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357)
>> 
>> org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198)
>> org.hibernate.internal.SessionImpl.list(SessionImpl.java:1230)
>> org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
>> 
>> org.hibernate.internal.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:909)
>> 
>> org.dspace.content.dao.impl.MetadataValueDAOImpl.getMinimum(MetadataValueDAOImpl.java:78)
>> 
>> org.dspace.content.MetadataValueServiceImpl.getMinimum(MetadataValueServiceImpl.java:115)
>> 
>> org.dspace.xoai.services.impl.DSpaceEarliestDateResolver.getEarliestDate(DSpaceEarliestDateResolver.java:36)
>> 
>> org.dspace.xoai.services.impl.xoai.DSpaceRepositoryConfiguration.getEarliestDate(DSpaceRepositoryConfiguration.java:99)
>> 
>> com.lyncode.xoai.dataprovider.handlers.IdentifyHandler.handle(IdentifyHandler.java:44)
>> 
>> com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.java:198)
>> 
>> org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:104)
>> sun.reflect.GeneratedMethodAccessor5812.invoke(Unknown Source)
>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> java.lang.reflect.Method.invoke(Method.java:606)
>> 
>> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
>> 
>> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
>> 
>> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
>> 

[dspace-tech] can i migrate my library

2018-08-06 Thread Ze Victor Harry
hello there dspacers
i have installed and customized my dspace library in my personal computer
.but know i want to install it in server.do i have to install it from the
scratch or there is a way i can migrate this to my server?

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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] Mirage2 & xmlui "file not found" error

2018-08-06 Thread Sorin Solomon
Actually, it didn't.
Nothing worked. None of the things others did in previous posts on the same 
subject.

At the moment, pretty much lost. 
Any help would be greatly appreciated.

Thanks in advance.

On Sunday, August 5, 2018 at 5:04:25 PM UTC+3, Eugene Jose Espinoza wrote:
>
> Hi! Has this been resolved? If it isn't, Ican share to you tomorrow 
> morning what I did installing Dpace 6.x with Mirage2 in Ubuntu.
> Thanks and cheers!
>
> On Sun, Jul 15, 2018, 9:32 PM Sorin Solomon  > wrote:
>
>> The promised update:
>>
>> I tried to install manually the prerequisites following the Mirage2 
>> instructions 
>> . 
>> It did not changed the result, I get the same error message.
>> Will try to look deeper in to the known issues article, but will be more 
>> than happy for ideas how to solve it.
>>
>> TIA,
>>
>> Sorin
>>
>> On Sunday, July 15, 2018 at 9:01:32 AM UTC+3, Sorin Solomon wrote:
>>>
>>>  Thanks, Tim, for your prompt response.
>>>
>>> I checked and I have git installed. Will look later into supported 
>>> versions and will check that I have what's needed.
>>> I thought that with the command mvn package -Dmirage2.on=true there's 
>>> no need to install manually the prerequisites. I didn't install any of them.
>>> I will also look into the links you gave me and come back with results.  
>>>
>>> Thanks again.
>>>
>>>
>>> On Thursday, July 12, 2018 at 6:04:51 PM UTC+3, Tim Donohue wrote:

 Hi Sorin,

 To me, this sounds like a possible build issue with the Mirage 2 
 theme.  You might want to double check some of the warnings/notes here 
 about building Mirage 2. 


 https://wiki.duraspace.org/display/DSDOC6x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-ThebuildprocessandenablingMirage2
  

 For example, Mirage 2 has its own prerequisites listed there (for 
 example, you need a more recent version of Maven and you must have Git 
 installed)

 Additionally, there are some other tips / hints from others who've had 
 build issues with Mirage 2 in the past.  See this "Common build issues" 
 section:

 https://wiki.duraspace.org/display/DSDOC6x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues
  

 If you are still encountering issues, I'd recommend giving us more 
 information about your build environment (Operating system, version of 
 Java, version of Maven, etc) on this mailing list.  Hopefully others here 
 could help figure out what the issue may be.

 Tim


 On Thu, Jul 12, 2018 at 7:19 AM Sorin Solomon  wrote:

> Hi, everyone.
>
> I installed DSpace 6 on Ubuntu 18.04, following the instructions in 
> the wiki 
> .
> All finished successfully, but when I go to [IP Address]:8080/xmlui I 
> get the error message shown in the attached screenshot.
> I searched the Support Forum and I found this issue in the past. 
> I checked, it's not an issue of permissions 
> .
>  
> I also tried to change permissions on the /root folder (like in this 
> article 
> ), 
> same result. I even tried to run mvn -U clean package -Dmirage2.on=
> true (like shown here 
> ), 
> but the result is the same. 
>
> I'm pretty out of ideas here. Help?
>
> Thank you in advance for your assistance.
>
> Sorin Solomon
>
>
>
> -- 
> 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...@googlegroups.com.
> To post to this group, send email to dspac...@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

>>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to dspac...@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] XSLT, XPath, and XQuery Functions available for Dspace (theming)

2018-08-06 Thread Vusani Mutshinya
Good day,

I am theming our implementation of Dspace, have done a lot. Working through 
a tutorial in this link 
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006017#app-switcher , 
I have managed to get the Community list to expand and collapse.
Although the tutorial uses character I went a step further and used images 
which works well on the front page and the "community-list" page. However, 
if I select a community with sub-communities; the images appear as broken 
links in the sub-communities list.

I have an xsl algorithm I want to employ to make the only appear in the 
front and communities-list pages (see attached code snippet). 



 
 
 
 
 
 
 
 

I want to use xsl test fuction combined with either the 
base-uri()
or 
document-uri()

functions to get the current page URL, if the page URL contains the word "
*handle*" I will know the user has selected a particular community, so the 
image for expanding and collapsing the sub-community should not be 
displayed.

So my question then is, does Dspace have it's own equivalent of the two 
functions above or is there a list of xsl functions specific to dspace?

Many thanks
~Vusani

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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.