Servlet Container Benchmark - Web Performance
Menu

Servlet Container Benchmark

Installation, Configuration and startup of each Server

Tomcat 4.1.12

  1. Run the Windows executable installer
  2. Change the HTTP port number to 80 during the installation
  3. After installation, edit the server.xml file to set maxProcessors=1000
  4. Edit the Start Menu launcher to add JVM flags:
    -ms350M -mx350M
  5. Place ServletBenchmark.war file into <tomcat>/webapps folder
  6. Start Tomcat using the Start Menu icon

Orion 1.5.2

  1. Unpack distribution file
  2. Edit the default-web-site.xml configuration file to add the following within the <web-site> tags:
    <web-app application="default" name="benchmark" root="/ServletBenchmark"/>
  3. Edit the application.xml configuration file to add the following within the <orion-application> tags:
    <web-module id="benchmark" path="../applications/ServletBenchmark.war"/>
  4. Place ServletBenchmark.war file into <orion>/applications folder
  5. Edit server.xml file to configure the maximum connections:
    <max-http-connections value=100000>
  6. Start Orion from the command line:
    java -ms350M -mx350M -jar orion.jar

Resin 2.1.5

  1. Unpack distribution file
  2. Place ServletBenchmark.war file into <resin>/webapps folder
  3. cd to the <resin>/bin folder
  4. execute:
    httpd -J-ms350M -J-mx350M

Jetty 4.1.1

  1. Unpack distribution file
  2. Copy application configuration file, ServletBenchmarkJetty.xml, into the Jetty folder
  3. Set environment variables:
    JETTY_HOME=D:\Jetty-4.1.1
    JAVA_HOME=C:\Program Files\j2sdk1.4.1\jre
  4. Edit the jetty.bat file to pass memory limit flags to the JVM:
    set RUNME="%JAVA_HOME%\bin\java" -ms350M -mx350M -cp %CP% %OPTIONS% org.mortbay.jetty.Server %ARGS%
  5. cd to the JETTY_HOME diretory
  6. execute:
    bin/jetty.bat ServletBenchmarkJetty.xml

WebSphere Advanced Single-Server 4.0

  1. Run the Windows executable installer
  2. Start the IBM (apache) Web Server via Start Menu icon
  3. Start the Websphere Application Server via Start Menu icon
  4. Goto administration console via the browser: http://localhost:9090/admin
  5. Navigate to Nodes->(servername)->ApplicationServers->Default Server->Web Containers->HTTP Transports
  6. Change the default HTTP transport from port 9080 to port 80
  7. Navigate to Nodes->(servername)->EnterpriseApplications
  8. Click the Install button
  9. Provide the WAR file (ServletBenchmark.war), application name ("Test Servlets") and context-path ("/ServletBenchmark")
  10. Navigate to Nodes->(servername)->ApplicationServers
  11. Stop the default server (wait for page to show error)
  12. Restart the Websphere Application Server (see #3 above)

SunOne Platform Edition 7.0

  1. Unpack and run the Windows executable installer
  2. Start the Sun ONE application server and open the administration console
  3. Login and nagivate to: AppServer Instance->server1->Application->WebApps
  4. Add a web application
  5. Select the ServletBanchmark.war file on disk, enter the application name and path "/ServletBenchmark"

Resources

Copyright © 2024 Web Performance, Inc.

A Durham web design company

×

(1) 919-845-7601 9AM-5PM EST

Just complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
How Many Concurrent Users