EPP/Wizard/Server

From Eclipsepedia

< EPP‎ | Wizard
Revision as of 05:40, 25 September 2008 by Mknauer.innoopract.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>