[dspace-tech] Exception: Server refused connection at: http://localhost:8080/solr/search

2016-08-10 Thread Nor Hazira Mat Noh (HQ)
how i can solve this issue?

Exception: Server refused connection at: http://localhost:8080/solr/search
org.dspace.discovery.SearchServiceException: Server refused connection at: 
http://localhost:8080/solr/search
at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:507)
at org.dspace.discovery.IndexClient.main(IndexClient.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
Caused by: org.apache.solr.client.solrj.SolrServerException: Server refused 
connection at: http://localhost:8080/solr/search
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:559)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at 
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:477)
... 7 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at 
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at 
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:448)
... 12 more

-- 
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] New installation of DSpace 5.5 with migrated data rendering pages after ~40 seconds

2016-08-10 Thread Evelthon Prodromou


Hello,


 I seem to be having an issue with tomcat. It takes ~38+ seconds to load 
pages. I believe it's tomcat since i notice shell scripts ( 
[dspace]/bin/dspace ) executing slow when tomcat is started, and very fast 
(normal I presume) when tomcat is stopped.


The system  is a new installation of DSpace 5.5 on CentOS7. Data and sql 
migrated from an 1.7.0 installation. 

tomcat.conf includes the following JAVA_OPTS

JAVA_OPTS="-Xmx4096m -Xms4096m -XX:MaxPermSize=2048m -Dfile.encoding=UTF-8 
-XX:MaxHeapFreeRatio=70 -XX:+UseConcMarkSweepGC 
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled"

index-discovery was executed and discovery facets show up.


Someone please point me to the right direction to investigate.


Thank you,


Evelthon

-- 
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: Request Copy of Document, but its too big for the mailserver...

2016-08-10 Thread Mark Wood
On Tuesday, August 9, 2016 at 5:34:13 PM UTC-4, Anton Angelo wrote:
>
> If a client wants to release a copy of a document, but it is too large for 
> our puny University mail server, they get the following error:
>
>  
>
> "552 5.3.4 Error writing message - message size exceeds the size limit of 
> 40960 blocks computed for this transaction".
>
>  
>
> I’d like to change that to something like “Please get in touch with the IR 
> admins”.  I can hunt this message down in the source, but is there anything 
> I should be aware of as I do that?
>
>
>
That looks like a message from the mail server itself.  DSpace is probably 
just passing it back as-is.  But you might find the place where the sending 
is done, detect failure, and wrap the MTA's message in something more 
helpful.

Probably you should wrap try/catch around the Transport.send(message) call 
at the end of org.dspace.core.Email.send(), catching MessagingException, 
and throw a new exception that wraps it, providing an appropriate message.

(The "552 5.3.4" bit is what makes me think that that is an MTA message.)

--
Mark H. Wood
Lead Technology Analyst
 
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

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

2016-08-10 Thread Tim Donohue

Hi Keith,

The simple answer is that most of the DSpace XML namespaces are treated 
more like URIs than URLs.  That means they are non-resolvable (and never 
have been, from the time they were created, which was about 10 years ago 
for some).


In more recent years, we have been trying to make a conscious effort to 
include XSDs (XML Schema Definitions) within the DSpace source code 
itself. But, there are still a few that are known to be missing since 
the beginning (e.g. the DSpace Intermediate Metadata or DIM schema never 
seems to have ever been created).


We do welcome contributions to DSpace, and I'd love to see us correct 
existing XSDs or recreate any XSDs that are missing. So, if there are 
particular schemas you are looking for, it may be worth opening up a 
ticket in our JIRA issue tracker 
(https://jira.duraspace.org/projects/DS/issues), so that we can work to 
find a volunteer developer to recreate or update the schema.  If you (or 
anyone else on this list) have any interest in helping recreate these, 
we also welcome code contributions: 
https://wiki.duraspace.org/display/DSPACE/Code+Contribution+Guidelines


- Tim


On 8/10/2016 8:38 AM, Keith Jones wrote:


Hi All,

I was trying to access the Dspace XML namespaces at the following links:

http://www.dspace.org/xmlns/dspace and 
http://www.dspace.org/xmlns/dspace/dlm 
,


but both links are not working.

Does anyone know where I can find this information.

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

--
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: AIP submit not import Hierarchy

2016-08-10 Thread christian criollo
Thanks Claudia for the help

El martes, 9 de agosto de 2016, 14:08:24 (UTC-5), christian criollo 
escribió:
>
> Hi all
>
>
> I am using  the command  [dspace]/bin/dspace packager -s -a -t AIP -e 
>  -p  -o skipIfParentMissing=true 
> C:\dspace\bibdigital\exports\Community_Cine_5770\aip5770.zip to import in 
> a test repository but not import all Hierarchy (colections, items) this is 
> a bug? thanks for the help 
>

-- 
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] AIP submit not import Hierarchy

2016-08-10 Thread Claudia Jürgen

Hi Christian,

can you determine which objects are missing and are there any error in
the logs.
Maybe you had mapped items and in combination with -o
skipIfParentMissing=true this might cause problems:
"When an Item is mapped to one or more Collections, this mapping is
recorded in the AIP using the mapped Collection's handle. Unfortunately,
since the submission mode (-s) assigns new handles to all objects in the
hierarchy, this may mean that the mapped Collection's handle will have
changed (or even that a different Collection will be available at the
original mapped Collection's handle). "
see
https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore#AIPBackupandRestore-SubmittinganAIPHierarchy

Furthermore if you did not disable workflows (-w) items might still be
in workflows.

Hope this helps

Claudia Jürgen

Am 09.08.2016 um 21:08 schrieb christian criollo:

Hi all


I am using  the command  [dspace]/bin/dspace packager -s -a -t AIP -e
 -p  -o skipIfParentMissing=true
C:\dspace\bibdigital\exports\Community_Cine_5770\aip5770.zip to import in a
test repository but not import all Hierarchy (colections, items) this is
a bug? thanks for the help



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