I've been having a look at using Authbind instead of Apache
redirection and everything seems to work, except for solr. I'm getting
errors like this:

2012-08-28 11:50:13,438 INFO
org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @
facets for scope, null: 3
2012-08-28 11:50:13,441 ERROR
org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @
anonymous:session_id=E1D048ED3932EEB9056581718EA2017E:ip_addr=10.4.36.33:Error
in discovery while setting up date facet range:date facet\colon;
dateIssued.year
org.dspace.discovery.SearchServiceException:
java.net.ConnectException: Connection refused

I'm using Tomcat 7 on Ubuntu 12.04. Tomcat is configured as follows:

(Thanks Hilton:
<http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05>)

/etc/default/tomcat6
AUTHBIND=yes

touch /etc/authbind/byport/80
touch /etc/authbind/byport/443
chmod 0755 /etc/authbind/byport/80
chmod 0755 /etc/authbind/byport/443
chown tomcat7:tomcat7 /etc/authbind/byport/80
chown tomcat7:tomcat7 /etc/authbind/byport/443

/etc/tomcat7/server.xml
<Connector port="80" protocol="HTTP/1.1"
connectiontimeout="20000" uriencoding="UTF-8"
redirectport="8443">
</Connector>
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />

/dspace/config/modules/solr-statistics.cfg
server = http://localhost/solr/statistics


wget http://127.0.0.1/solr/statistics/select?q=*:*
--2012-08-28 13:47:12--  http://127.0.0.1/solr/statistics/select?q=*:*
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/xml]
Saving to: `select?q=*:*.1'

    [ <=>
          ] 631         --.-K/s   in 0s

2012-08-28 13:47:12 (25,4 MB/s) - `select?q=*:*.1' saved [631]

I must have omitted something, but what?

Sean
-- 
Sean Carte
DUT E-Repository Administrator
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
ir.dut.ac.za

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to