Sharing this with the list as well as StackExchange in hopes of a solution. I'm 
not a Java developer, so apologies if there's an obvious answer I'm overlooking 
here.

I'm working on a fresh installation of stock DSpace 5.3 (Windows Server 2012, 
Tomcat 8.0, Maven 3.2.5, Ant 1.9.6). This particular instance will be a dark 
archive without Google Analytics enabled; we don't currently have a GA account 
or analytics key, although we plan to register one eventually for a separate 
public-facing instance.

As per the problem described in DS-2718 
(https://jira.duraspace.org/browse/DS-2718), DSpace hangs with the following 
message in dspace.log when I attempt to download a bitstream:

2015-10-20 09:52:02,324 INFO org.apache.http.impl.execchain.RetryExec @ I/O 
exception (java.net.SocketException) caught when processing request to 
{s}->https://www.google-analytics.com:443: Network is unreachable: connect

2015-10-20 09:52:02,324 INFO org.apache.http.impl.execchain.RetryExec @ 
Retrying request to {s}->https://www.google-analytics.com:443

Since we won't be using GA on this instance, disabling it in Spring is an 
acceptable workaround. As per the instructions, I commented out the Google 
Analytics entry in 
dspace-5.3-src-release\dspace-xmlui\src\main\webapp\WEB-INF\spring\applicationContext.xml,
 disabled Tomcat and rebuilt DSpace. An initial attempt running mvn package 
-Dmirage2.on=true still produced the problem, so I tried a "ground up" rebuild:

cd d:\dspace-5.3-src-release\dspace
mvn clean package -U -Dmirage2.on=true
[successful build]
cd d:\dspace-5.3-src-release\dspace\target\dspace-installer
ant update
[successful update]
[copy webapps to Tomcat 8.0\webapps and start Tomcat]

Even after the rebuild, however, I'm still getting the same error, with the 
same java.net.SocketException in dspace.log.

Not sure why this isn't working. Have I missed a step or setting in the rebuild 
process so that the change to applicationContext.xml isn't being applied?

FWIW, I tried grepping for "google" in 
dspace-5.3-src-release\dspace-xmlui-mirage2 to see if this could be a Mirage 2 
problem, but I don't see anything that looks relevant.

Nicholas Webb
Digital Archivist

Icahn School of Medicine at Mount Sinai
Box 1102 - One Gustave L. Levy Place
New York, NY 10029-6574

(o) 212-241-7239
(f) 212-241-7864
(e) [email protected] 


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to