Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

    <Connector port="8080" protocol="HTTP/1.1"
                maxThreads="150"
                minSpareThreads="25"
                maxSpareThreads="75"
                enableLookups="false"
                redirectPort="8443"
                acceptCount="100"
                connectionTimeout="20000"
                disableUploadTimeout="true"
                URIEncoding="UTF-8" />

Panel

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />

Once again i found more reasonable not to copy (or symlink) webapps to tomcat appBase dir as suggests dspace official documentation. Instead i'm changin tomcat appBase to point to dspace webapps. Also put tomcat logs with other www/apache logs. Original lines are commented out and my lines marked bold.

Panel

      <!-- <Host name="localhost"  appBase="webapps" -->
      <Host name="localhost"  appBase="/data/dspace/webapps"
            unpackWARs="true" autoDeploy="true">
        <!-- <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log." suffix=".txt"
                pattern="%h %l %u %t "%r" %s %b" /> -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="/var/log/apache2"
               prefix="tomcat_access." suffix=".log"
               pattern="%h %l %u %t "%r" %s %b" />

...

Open /data/dspace-1.8.1-src-release/dspace/config/dspace.cfg and make Your changes:

dspace.dir

=

/data/dspace


dspace.hostname

=

dspace.example.com


dspace.baseUrl

=

[

http://dspace.example.com

]


dspace.url

=

${dspace.baseUrl}/xmlui


dspace.name

=

Dspace

at

Example.Com


db.name

=

postgres


db.url

=

jdbc:postgresql://localhost:5432/dspacedb


db.driver

=

org.postgresql.Driver


db.username

=

dspace


db.password

=

s0mepw


db.maxconnections

=

30


db.maxwait

=

5000


db.maxidle

=

\

-1


db.statementpool

=

true


mail.server

=

smtp.example.com


mail.server.port

=

25


mail.from.address

=

dspace-noreply@example.com


feedback.recipient

=

dspace-help@example.com


mail.admin

=

dspace-help@example.com


alert.recipient

=

postmaster@example.com


registration.notify

=

dspace-help@example.com


mail.charset

=

UTF-8


mail.allowed.referrers

=

localhost,dspace.example.com


mail.server.disabled

=

false


default.language

=

en_US


assetstore.dir

=

${dspace.dir}/assetstore


log.init.config

=

${dspace.dir}/config/log4j.properties


log.dir

=

/var/log/apache2/


search.dir

=

${dspace.dir}/search


/*/


handle.canonical.prefix

=

[

http://hdl.handle.net/

]


handle.prefix

=

12345


handle.dir

=

${dspace.dir}/handle-server


/*/


upload.max

=

536870912


default.locale

=

en


xmlui.supported.locales

=

en


xmlui.force.ssl

=

true


xmlui.user.registration=false

Panel
Wiki Markup

Configure LDAP module. As i'm writing its not possible to configure multiple ldap servers in order to achieve failover (eg. ldap://ldapserver1 ldapserver2/?blah?blah).

...