[dspace-tech] Error to tried to creating a community

2018-05-07 Thread Manuel Hidalgo
Hi,

We finish to install dspace 6.2 but when we tried to create a community on
dspace, shows this error and not create the community.

Someone know how we can resolve that.

Thanks

PostgreSQL 9.6
Dspace 6.2
Tomca 8
Java Runtime Environment Version:  1.8.0_161
Java Runtime Environment Vendor:  OpenJDK 64-Bit Server VM
Operating System Name:  Linux-Centos
Operating System Architecture:  amd64
Operating System Version:  3.10.0-693.21.1.el7.x86_64


Java stacktrace: java.lang.NullPointerException at org.dspace.content.
CommunityServiceImpl.create(CommunityServiceImpl.java:120) at
org.dspace.content.CommunityServiceImpl.create(CommunityServiceImpl.java:71)
at org.dspace.app.xmlui.aspect.administrative.FlowContainerUtils.
processCreateCommunity(FlowContainerUtils.java:859) 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) 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.Abstr

[dspace-tech] Design a workflow

2018-05-07 Thread Rodrigo Sebastian Hidalgo Avila
How can I design a new workflow in JSPUI?

-- 
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] Error deleting a collection

2018-05-07 Thread Stanislav Orlov
Thank you Claudia,

We started ten years ago and went through a few upgrades. I can see how 
this problem might have been created during the process, but we never ran 
into the problem until now.  If I look at foreign keys for 
community2collection table, I see this: 

Name: community2collection_community_id_fkey
Fields: community_id
Referenced Schema: public
Referenced Table: community
Referenced Fields: community_id
On Delete: NO ACTION
On Update: NO ACTION 

What do I need to do to fix this?

Stan

-- 
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: "Distributed" DSpace

2018-05-07 Thread Mark H. Wood
If you are running your Servlet container (e.g. Tomcat) behind Apache HTTPD 
or Nginx or some such, then you could also run that web front-end service 
on a separate host.

You may be able to load-balance across several containers behind a common 
front-end.  I haven't tried that.

Another (small) load that can be separated out is the Handle service.

DSpace used to have storage code to support keeping the assetstore(s) in 
SRB distributed storage.  I don't recall ever hearing that it was used, and 
it was recently removed.  It would have needed refactoring anyway, and SRB 
has been superseded.  It wouldn't be hard to write a Bitstore 
implementation for SRB's successor iRODS.  But before tackling that, there 
is probably a lot you can do to spread I/O load and improve throughput 
using the facilities that your OS already has, perhaps with some small 
rearrangement of hardware and physical storage.

But I'll echo the other advice in this thread:  first determine that you 
have a performance problem, and where it is.  That is not a lot of 
content.  Unless it is extraordinarily popular, you may not have any 
scaling work to do.

-- 
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] Error deleting a collection

2018-05-07 Thread Claudia Jürgen

Hello Stanislav,

are you using Postgres or Oracle and is this an original 4.0
installation or did you upgrade from an older version?
If you are using Postgres and did upgrade there may have been an issue
with the upgrade process.
The constraint is here:
https://github.com/DSpace/DSpace/blob/dspace-4.0/dspace/etc/postgres/database_schema.sql#L410
and was added during 1.5 to 1.6
https://github.com/DSpace/DSpace/blob/dspace-4.0/dspace/etc/postgres/database_schema_15-16.sql#L106

You may  inspect your db  for the foreign keys:
psql [YourDBName]
\d [TableName]
will show you the foreign keys.
\d community2collection

There has been an issue with the upgrade process, maybe your problem in
an aftereffect of this:
http://dspace.2283337.n4.nabble.com/Dspace-tech-running-the-15-to-16-script-td3280357.html

Hope this helps

Claudia


Am 04.05.2018 um 04:07 schrieb Stanislav Orlov:

Greetings!

When I try to delete collections in DSpace 4.0 on Windows Server 2008, I
have the following error:

org.postgresql.util.PSQLException: ERROR: constraint
"comm2coll_collection_fk" does not exist

Our PostgreSQL has a "community2collection" table with one foreign key -
"community_id" - so I don't know what needs to be done to fix it.  You help
will be most welcome.

Stan



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 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] Ayuda con sitemaps

2018-05-07 Thread Leidy Madroñero
Buenos días a todos

Tengo un problema para añadir la propiedad de google sitemaps a mi 
repositorio, el inconveniente radica en el lugar exacto de la instalación 
de Dspace en donde debo alojar el archivo de verificación para sitemaps  ya 
que he probado en algunas secciones de la instalación pero no he tenido 
resultados. En cual carpeta de Dspace exactamente debe estar ese archivo?. 
He asignado como mi sitio web de esta forma: 

Agradezco sus respuestas.

Un saludo, lady.

Método recomendado 

 Métodos alternativos 

*recomendado: *Subir archivo HTMLSube un archivo HTML a tu sitio web.

*1. Descarga* este archivo HTML de verificación 
[googleee64ece564feb7d0.html] .

*2. Sube* el archivo a http://52.191.254.87:8080/.

*3. Confirma* que la subida se ha realizado correctamente a través de la 
página http://52.191.254.87:8080/googleee64ece564feb7d0.html .

*4. Haz clic* en el botón de verificación que aparece a continuación.

Para mantener la verificación, no elimine el archivo HTML aunque la 
verificación se haya realizado correctamente.
VERIFICAR
 
Ahora no

-- 
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] "Distributed" DSpace

2018-05-07 Thread Manuel Subredu
Thanks for suggestions.

Another related question is: does anyone uses any distributed filesystem(s)
to distribute storage of the files across multiple machines ?

On Mon, May 7, 2018 at 10:43 AM, helix84  wrote:

> Do you expect the load to be mainy page views or file downloads?
>
> For anonymous page views, set up Varnish Cache. You can also easily
> move Solr (search, statistics, oai) to a separate machine if it turns
> out to receive much load.
>
> If you expect to have many small files with a small part being
> downloaded constantly, Varnish may help there, too.
> In case of relatively few large files, if you happen to saturate your
> drive's I/O, you can rebalance the assetstore files among several
> assetstores on physically separate volumes. There seems to be a new
> bitstore-migrate tool [1] in DSpace 6 to help you with that, but I
> haven't tried it. It's straightforward to rebalance the assetstore
> files manually, too.
>
> So it all comes down to what turns out to be slow. But avoid
> optimizing what you think may be slow. First measure, only then act
> upon that.
>
> [1] https://wiki.duraspace.org/display/DSDOC6x/Storage+Layer#
> StorageLayer-BitstreamStore
> [2] https://wiki.duraspace.org/display/DSDOC6x/Performance+Tuning+DSpace
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> On Sun, May 6, 2018 at 6:33 PM, Manuel Subredu 
> wrote:
> > Hi,
> >
> > we plan to host a DSpace instance witch is supposed to host around 1-2T
> of
> > content and I'm currently researching how distributed (and scalable) a
> > DSpace instance can be. Besides hosting PostgreSQL on another machine, is
> > there anything else one can do in order to improve scalability ?
> >
> > Regards,
> > --Manuel
> >
> > --
> > 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.
>

-- 
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] "Distributed" DSpace

2018-05-07 Thread helix84
Do you expect the load to be mainy page views or file downloads?

For anonymous page views, set up Varnish Cache. You can also easily
move Solr (search, statistics, oai) to a separate machine if it turns
out to receive much load.

If you expect to have many small files with a small part being
downloaded constantly, Varnish may help there, too.
In case of relatively few large files, if you happen to saturate your
drive's I/O, you can rebalance the assetstore files among several
assetstores on physically separate volumes. There seems to be a new
bitstore-migrate tool [1] in DSpace 6 to help you with that, but I
haven't tried it. It's straightforward to rebalance the assetstore
files manually, too.

So it all comes down to what turns out to be slow. But avoid
optimizing what you think may be slow. First measure, only then act
upon that.

[1] 
https://wiki.duraspace.org/display/DSDOC6x/Storage+Layer#StorageLayer-BitstreamStore
[2] https://wiki.duraspace.org/display/DSDOC6x/Performance+Tuning+DSpace


Regards,
~~helix84

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


On Sun, May 6, 2018 at 6:33 PM, Manuel Subredu  wrote:
> Hi,
>
> we plan to host a DSpace instance witch is supposed to host around 1-2T of
> content and I'm currently researching how distributed (and scalable) a
> DSpace instance can be. Besides hosting PostgreSQL on another machine, is
> there anything else one can do in order to improve scalability ?
>
> Regards,
> --Manuel
>
> --
> 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.

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

2018-05-07 Thread Alex
Hello!
I used JSPUI.
How I can localized CRIS entities in my Dspace CRIS?
Is it possible to add fields to Messages_ru.properties?

Best regards

-- 
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] "Distributed" DSpace

2018-05-07 Thread Manuel Subredu
Hi,

we plan to host a DSpace instance witch is supposed to host around 1-2T of 
content and I'm currently researching how distributed (and scalable) a 
DSpace instance can be. Besides hosting PostgreSQL on another machine, is 
there anything else one can do in order to improve scalability ?

Regards,
--Manuel

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