Difference between revisions of "EPP/Wizard/Server"

From Eclipsepedia

< EPP‎ | Wizard
Jump to: navigation, search
m (Modifications)
m (Installation)
Line 16: Line 16:
 
* Logfiles are written to  
 
* Logfiles are written to  
 
** /var/log/tomcat5/base/catalina.out
 
** /var/log/tomcat5/base/catalina.out
** /var/log/tomcat5/base/statistics.log (does not yet work)
+
** /var/log/tomcat5/base/statistics.log
  
 
=== Modifications ===
 
=== Modifications ===

Revision as of 05:38, 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"
   />