Jump to: navigation, search

Difference between revisions of "EPP/Wizard/Server"

< EPP‎ | Wizard
m (Installation)
m (Modifications)
 
Line 32: Line 32:
 
* Adding CATALINA_OPTS ('''/etc/sysconfig/j2ee''')
 
* Adding CATALINA_OPTS ('''/etc/sysconfig/j2ee''')
 
** CATALINA_OPTS="-Dorg.eclipse.epp.wizard.configuration=/opt/eppwizard/eppwizard.properties -Dorg.eclipse.epp.wizard.installerbuilder.configuration=/opt/eppwizard/installerbuilder.properties -Dlog4j.configuration=file:/opt/eppwizard/log4j.properties"
 
** CATALINA_OPTS="-Dorg.eclipse.epp.wizard.configuration=/opt/eppwizard/eppwizard.properties -Dorg.eclipse.epp.wizard.installerbuilder.configuration=/opt/eppwizard/installerbuilder.properties -Dlog4j.configuration=file:/opt/eppwizard/log4j.properties"
* Tomcat server configuration ('''/srv/www/tomcat5/base/conf/server.xml''')
+
* Tomcat server configuration  
 +
** '''/srv/www/tomcat5/base/conf/server.xml'''
 
     <Connector
 
     <Connector
 
       port="8080"
 
       port="8080"
Line 40: Line 41:
 
       compression="off"
 
       compression="off"
 
     />
 
     />
 +
** '''/srv/www/tomcat5/base/conf/web.xml'''
 +
    <session-config>
 +
        <session-timeout>10</session-timeout>
 +
    </session-config>
  
  
  
 
[[Category:EPP]]
 
[[Category:EPP]]

Latest revision as of 04:40, 25 September 2008

Description of server modifications for the EPP Download Wizard

Requirements

  • Linux (currently using SUSE Linux Enterprise Server 10)
  • JVM >= 1.5 (currently: IBM J9 2.3 SR8)
  • Tomcat >= 5, running with UID tomcat, listening on port 8080, all requests are 'proxied' by the eclipse.org webservers (currently build.eclipse.org)

Installation

Modifications

  • Open port 8080 (/root/firewall.sh)
    • iptables -t filter -I input_ext 14 -p tcp --dport 8080 -j ACCEPT
  • Dangling symbolic links in /srv/www/tomcat5/base/server/lib/ moved to /srv/www/tomcat5/base/server/lib/mknauer/
    • [jaas].jar -> /usr/lib/jvm-exports/java/jaas.jar
    • jaas.jar -> /usr/lib/jvm-exports/java/jaas.jar
  • Dangling symbolic links in /srv/www/tomcat5/base/common/lib/ moved to /srv/www/tomcat5/base/common/lib/mknauer/
    • [jdbc-stdext].jar -> /usr/lib/jvm-exports/java/jdbc-stdext.jar
    • [jndi].jar -> /usr/lib/jvm-exports/java/jndi.jar
    • jdbc-stdext.jar -> /usr/lib/jvm-exports/java/jdbc-stdext.jar
    • jndi.jar -> /usr/lib/jvm-exports/java/jndi.jar
  • Adding CATALINA_OPTS (/etc/sysconfig/j2ee)
    • CATALINA_OPTS="-Dorg.eclipse.epp.wizard.configuration=/opt/eppwizard/eppwizard.properties -Dorg.eclipse.epp.wizard.installerbuilder.configuration=/opt/eppwizard/installerbuilder.properties -Dlog4j.configuration=file:/opt/eppwizard/log4j.properties"
  • Tomcat server configuration
    • /srv/www/tomcat5/base/conf/server.xml
   <Connector
      port="8080"
      proxyName="build.eclipse.org"
      proxyPort="80"
      enableLookups="false"
      compression="off"
   />
    • /srv/www/tomcat5/base/conf/web.xml
   <session-config>
       <session-timeout>10</session-timeout>
   </session-config>