Hey, as long as we're on the subject of config show and tell, here is what
we're using for our AJP settings in Tomcat's server.xml:
<Connector port="8009"
enableLookups="false" redirectPort="8080" protocol="AJP/1.3"
address="127.0.0.1" tomcatAuthentication="false"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>
And here's a snippet from our Apache config, to show our proxy settings:
(SetEnv directives borrowed from this thread:
http://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy may or
may not be helping).
<Location "/xmlui">
ProxyPass ajp://127.0.0.1:8009/xmlui
ProxyPassReverse ajp://127.0.0.1:8009/xmlui
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
<Location "/jspui">
ProxyPass ajp://127.0.0.1:8009/jspui
ProxyPassReverse ajp://127.0.0.1:8009/jspui
</Location>
<Location "/oai">
ProxyPass ajp://127.0.0.1:8009/oai
ProxyPassReverse ajp://127.0.0.1:8009/oai
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
I have a feeling I could do more in this area, to improve stability. I'm very
wary of just restarting DSpace servlets (by touching the context fragment for
the application to force a reload) because in the past I've noticed that doing
so seems to break the proxy connection between Tomcat and Apache. Users see
"503: service unavailable" errors. We instead stop, pause, and start everything
(Tomcat, Apache, Handle), any time we need to load a new version of a DSpace
servlet. Sometimes, erm, we have to do it twice. :-\
Anyone have any tricks for that? I'd love to be able to just reload a servlet,
instead of starting and stopping the whole jalopy. :-)
--Hardy
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech