<%@ page import="org.apache.geronimo.samples.daytrader.util.TradeConfig" session="false" isThreadSafe="true" isErrorPage="false"%>
DayTrader Configuration DayTrader

<% String status; status = (String) request.getAttribute("status"); if (status != null) { %>
<% out.print(status); %>
<% } %>
<% String configParm = null; String names[] = null; int index; %>
The current DayTrader runtime configuration is detailed below. View and optionally update run-time parameters.  

NOTE: Parameters settings will return to default on server restart. To make configuration settings persistent across application server stop/starts, edit the servlet init parameters for each DayTrader servlet. This is described in the DayTrader FAQ.

Scenario Workload Mix

<%configParm = "WorkloadMix"; names = TradeConfig.workloadMixNames; index = TradeConfig.workloadMix; for (int i = 0; i < names.length; i++) { out.print( " " + names[i] + "
"); } %>

This setting determines the runtime workload mix of DayTrader operations when driving the benchmark through TradeScenarioServlet. See DayTrader FAQ for details.
WebInterface

<%configParm = "WebInterface"; names = TradeConfig.webInterfaceNames; index = TradeConfig.webInterface; for (int i = 0; i < names.length; i++) { out.print( " " + names[i] + "
"); } %>

This setting determines the Web interface technology used, JSPs or JSPs with static images and GIFs.
Miscellaneous Settings
DayTrader Max Users

Trade Max Quotes
By default the DayTrader database is populated with 200 users (uid:0 - uid:199) and 400 quotes (s:0 - s:399).
Market Summary Interval
< 0 Do not perform Market Summary Operations.
= 0 Perform market Summary on every request.

> 0 number of seconds between Market Summary Operations
Primitive Iteration
By default the DayTrader primitives are execute one operation per web request. Change this value to repeat operations multiple times per web request.
name="EnableLongRun"> Enable long run support
Enable long run support by disabling the show all orders query performed on the Account page.
name="EnableActionTrace"> Enable operation trace
name="EnableTrace"> Enable full trace
Enable DayTrader processing trace messages

DayTrader Configuration DayTrader