[dspace-tech] Re: internal system error after converting port 8080 to 80 in windows

2018-08-30 Thread Ze Victor Harry
On Fri, Aug 31, 2018 at 8:28 AM Ze Victor Harry 
wrote:

> HI everyone i have just replaced port 8080 in server.xml to port 80
> because i want to change 127.0.0.1/8080/jspui/ into
> http://127.0.0.1/jspui/ but what got wrong was i got this internal system
> error in my dspace after changing 8080 to 80 when i tried to access
> 127.0.0.1/80/jspui.what else is left to configure?
>

-- 
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] internal system error after converting port 8080 to 80 in windows

2018-08-30 Thread Ze Victor Harry
 HI everyone i have just replaced port 8080 in server.xml to port 80
because i want to change 127.0.0.1/8080/jspui/ into  http://127.0.0.1/jspui/
but what got wrong was i got this internal system error in my dspace after
changing 8080 to 80 when i tried to access 127.0.0.1/80/jspui.what else is
left to configure?

-- 
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] DSpace error harvesting

2018-08-30 Thread diegoaraujo
Hello everyone

We're getting sporadic errors that prevent the complete harvesting 
(import). Usually for large repositories in long processes (+ 100k items)

If increase the servers.xml  parameters maxThreads, 
minSpareThreads e maxSpareThreads the error error appears faster. The same 
occurs with default values and they were tested environments with java 7 or 
8 and Tomcat 7.x or 8.x

Could you give us an idea of what might be happening in our environment?

Debian 8 16GB 16vCPU
JVM args "-Xms1G -Xmx12G -XX:PermSize=128m -XX:MaxPermSize=512m"

$ ./dspace version
DSpace version:  6.3
  SCM revision:  813800ce1736ec503fdcfbee4d86de836788f87c
SCM branch:  UNKNOWN
OS:  Linux(amd64) version 3.16.0-4-amd64
  Applications:
 Discovery:  enabled.
   JRE:  Oracle Corporation version 1.7.0_181
   Ant version:  Apache Ant(TM) version 1.9.4 compiled on August 4 2018
 Maven version:  3.0.5

$ ./tomcat-7/bin/version.sh
 Server version: Apache Tomcat/7.0.90
Server built:   Jul 2 2018 17:05:37 UTC
Server number:  7.0.90.0
OS Name:Linux
OS Version: 3.16.0-4-amd64
Architecture:   amd64
JVM Version:1.7.0_181-b01
JVM Vendor: Oracle Corporation

$ pg_config --version
PostgreSQL 9.4.19


*2018-08-23 10:10:25,477 ERROR org.dspace.harvest.OAIHarvester @ Error 
occurred while generating an OAI response: possible non-threadsafe acce*
*ss to session null*
org.hibernate.AssertionFailure: possible non-threadsafe access to session
at 
org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:92)
at 
org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:395)
at 
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:387)
at 
org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:303)
at 
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:349)
at 
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1195)
at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:352)
at com.sun.proxy.$Proxy76.flush(Unknown Source)
at 
org.dspace.core.HibernateDBConnection.commit(HibernateDBConnection.java:83)
at org.dspace.core.Context.commit(Context.jav:qa:435)
at 
org.dspace.harvest.OAIHarvester.intermediateCommit(OAIHarvester.java:439)
at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:370)
at 
org.dspace.app.xmlui.aspect.administrative.FlowContainerUtils.processRunCollectionHarvest(FlowContainerUtils.java:309)
at 
org.dspace.app.xmlui.aspect.administrative.FlowContainerUtils.processReimportCollection(FlowContainerUtils.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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:55)
   

[dspace-tech] Problem with finding authors

2018-08-30 Thread MaX Verner
Good day.

When adding an author to a collection (for example Washin), the search 
works very slowly and as a result does not give results.
If I'm looking for Washington. As a result, the author is found, but very 
slowly (about 1 minute).

Someone could help? Thank you in advance.

-- 
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] RESTapi list of items

2018-08-30 Thread Jose Blanco
Thank you very much, Michael.  This is very helpful!

-Jose

On Thu, Aug 30, 2018 at 10:26 AM, Plate, Michael
 wrote:
> Hi Jose,
>
> I struggled with this, too - I think it is not documented, but you can
> append the parameter "limit", e.g.
>
> /rest/communities?limit=500
>
> should return 500 entries (I only tried the "communities" and "collections"
> endpoints). There is also a parameter "offset", I think.
> Have a look into
> [dspace-source]/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java
>
> CU
>
> Michael
>
>
> On Thu, 30 Aug 2018 09:26:34 -0400
>  Jose Blanco  wrote:
>>
>> When I do RESTapi/items on a browser, I only see a small portion of
>> items on the display. How do I get a full list of all the items in our
>> dspace instance using the RESTapi?
>
> […]
>
> --
> 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.

-- 
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] RESTapi list of items

2018-08-30 Thread Plate, Michael

Hi Jose,

I struggled with this, too - I think it is not documented, but you can 
append the parameter "limit", e.g.


/rest/communities?limit=500

should return 500 entries (I only tried the "communities" and "collections" 
endpoints). There is also a parameter "offset", I think.

Have a look into
[dspace-source]/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java

CU

Michael

On Thu, 30 Aug 2018 09:26:34 -0400
 Jose Blanco  wrote:

When I do RESTapi/items on a browser, I only see a small portion of
items on the display. How do I get a full list of all the items in 
our

dspace instance using the RESTapi?

[…]

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


smime.p7s
Description: S/MIME cryptographic signature


[dspace-tech] RESTapi list of items

2018-08-30 Thread Jose Blanco
When I do RESTapi/items on a browser, I only see a small portion of
items on the display. How do I get a full list of all the items in our
dspace instance using the RESTapi?

-- 
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] how to make dspace run on port 80 rather than 8080

2018-08-30 Thread Shaun donovan

Hi Harry.

Last time I ran it on Windows was a long time ago, but the process must 
still be the same. In the directory where Tomcat is installed (depends 
on how you installed it), there will be a conf folder, and inside that 
folder will be a server.xml file. If you edit this file and find the 
setting that starts with ''8080 to 80. You will also need to ensure that your firewall allows 
connection in on port 80.


Here is a short tutorial on it as well: 
http://www.ntu.edu.sg/home/ehchua/programming/howto/tomcat_howto.html


Hope that helps.

Shaun.


On 30/08/2018 10:07, Ze Victor Harry wrote:
hi can anybody tell me in simple englsh how to make dspace run on port 
80 rather than 8080 on windows? i have tried solutions provided in 
this link but most of them seems to be for linux .

can someone help?
--
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.


--
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] how to make dspace run on port 80 rather than 8080

2018-08-30 Thread Ze Victor Harry
hi can anybody tell me in simple englsh how to make dspace run on port 80
rather than 8080 on windows? i have tried solutions provided in this link
but most of them seems to be for linux .
can someone help?

-- 
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] Identify records with empty fields

2018-08-30 Thread Freddy Guerrero
Hi friends

Please I need to identify records with empty fields, that is, records that 
do not have the field "dc.type", "dc.creator"

I appreciate your help

Freddy

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