geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo v2.1: SPECjAppServer2004 (page edited)
Date Wed, 20 Feb 2008 01:16:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence" />
    <style type="text/css">
    <!--
    body, p, td, table, tr, .bodytext, .stepfield {
	font-family: Verdana, arial, sans-serif;
	font-size: 11px;
	line-height: 16px;
	color: #000000;
	font-weight: normal;
}
#PageContent {
	text-align: left;
	background-color: #fff;
	padding: 0px;
	margin: 0px;
    padding-bottom:20px;
}
/*
** when this stylesheet is used for the Tiny MCE Wysiwyg editor's edit area, we can't
** use an id=PageContent or class=wiki-content, so we must
** set the body style to that used for PageContent, and p to that used for wiki-content.
*/

body {
	margin: 0px;
	padding: 0px;
	text-align: center;
    background-color: #f0f0f0;
}

@media print {

body {
    background-color: #fff;
}

}

.monospaceInput {
    font:12px monospace
}

.wiki-content p, .commentblock p {
    margin: 16px 0px 16px 0px;
    padding: 0px;
}

.wiki-content-preview {
    padding: 5px;
    border-left: 1px solid #3c78b5;
    border-right: 1px solid #3c78b5;
}

ul, ol {
    margin-top: 2px;
    margin-bottom: 2px;
    padding-top: 0px;
    padding-bottom: 0px;
}

pre {
    padding: 0px;
    margin-top: 5px;
    margin-left: 15px;
    margin-bottom: 5px;
    margin-right: 5px;
    text-align: left;
}

.helpheading {
    font-weight: bold;
    background-color: #D0D9BD;
        border-bottom: 1px solid #3c78b5;
        padding: 4px 4px 4px 4px;
        margin: 0px;
        margin-top: 10px;
}
.helpcontent {
        padding: 4px 4px 20px 4px;
    background-color: #f5f7f1;
}

.code {
 	border: 1px dashed #3c78b5;
    font-size: 11px;
	font-family: Courier;
    margin: 10px;
	line-height: 13px;
}

.focusedComment {
    background: #ffffce;
}

.commentBox, .focusedComment {
    padding: 10px;
    margin: 5px 0 5px 0;
    border: 1px #bbb solid;
}

.codeHeader {
    background-color: #f0f0f0;
 	border-bottom: 1px dashed #3c78b5;
    padding: 3px;
	text-align: center;
}

.codeContent {
    text-align: left;
    background-color: #f0f0f0;
    padding: 3px;
}

.preformatted {
 	border: 1px dashed #3c78b5;
    font-size: 11px;
	font-family: Courier;
    margin: 10px;
	line-height: 13px;
}

.preformattedHeader {
    background-color: #f0f0f0;
 	border-bottom: 1px dashed #3c78b5;
    padding: 3px;
	text-align: center;
}

.preformattedContent {
    background-color: #f0f0f0;
    padding: 3px;
}

.panel {
 	border: 1px dashed #3c78b5;
    margin: 10px;
    margin-top: 0px;
}

.panelHeader {
    background-color: #f0f0f0;
 	border-bottom: 1px dashed #3c78b5;
    padding: 3px;
	text-align: center;
}

.panelContent {
    background-color: #f0f0f0;
    padding: 5px;
}

.anonymousAlert {
    background-color: #f0f0f0;
 	border: 1px dashed red;
    font-size: 11px;
    padding: 10px 5px 10px 5px;
    margin: 4px;
	line-height: 13px;
}

.lockAlert {
    background-color: #f0f0f0;
    width: 50%;
 	border: 1px dashed red;
    font-size: 11px;
    padding: 10px 5px 10px 5px;
    margin: 4px;
	line-height: 13px;
}


.code-keyword {
  color: #000091;
  background-color: inherit;
}

.code-object {
  color: #910091;
  background-color: inherit;
}

.code-quote {
  color: #009100;
  background-color: inherit;
}

.code-comment {
  color: #808080;
  background-color: inherit;
}


.code-xml .code-keyword {
  color: inherit;
  font-weight: bold;
}

.code-tag {
  color: #000091;
  background-color: inherit;
}

.breadcrumbs {
    background-color: #f0f0f0;
 	border-color: #3c78b5;
	border-width: 1px 0px 1px 0px;
	border-style: solid;
    font-size: 11px;
    padding: 3px 0px 3px 0px;
}

.navmenu {
    border: 1px solid #ccc;
}

.menuheading {
    font-weight: bold;
    background-color: #f0f0f0;
 	border-bottom: 1px solid #3c78b5;
	padding: 4px 4px 2px 4px;
}

.menuitems {
	padding: 4px 4px 20px 4px;
}

.rightpanel {
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#helpheading {
    text-align: left;
    font-weight: bold;
    background-color: #D0D9BD;
 	border-bottom: 1px solid #3c78b5;
	padding: 4px 4px 4px 4px;
	margin: 0px;
}
#helpcontent {
	padding: 4px 4px 4px 4px;
    background-color: #f5f7f1;
}
.helptab-unselected {
    font-weight: bold;
	padding: 5px;
    background-color: #f5f7f1;
}
.helptab-selected {
    font-weight: bold;
    background-color: #D0D9BD;
	padding: 5px;
}
.helptabs {
    margin: 0px;
    background-color: #f5f7f1;
	padding: 5px;
}
.infopanel-heading {
    font-weight: bold;
	padding: 4px 0px 2px 0px;
}

.pagebody {
}

.pageheader {
	padding: 5px 5px 5px 0px;
 	border-bottom: 1px solid #3c78b5;
}

.pagetitle {
	font-size: 22px;
	font-weight: bold;
	font-family: Arial, sans-serif;
	color: #003366;
}

.newpagetitle {
    color: #ccc !important;
}

.steptitle {
	font-size: 18px;
	font-weight: bold;
	font-family: Arial, sans-serif;
	color: #003366;
	margin-bottom: 7px;
}

.substeptitle {
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #003366;
    margin: 2px 4px 4px 4px;
    padding: 2px 4px 1px 4px;
}

.stepdesc {
    font-family: Verdana, arial, sans-serif;
	font-size: 11px;
	line-height: 16px;
	font-weight: normal;
    color: #666666;
    margin-top: 7px;
    margin-bottom: 7px;
}

.steplabel {
    font-weight: bold;
    margin-right: 4px;
    color: black;
    float: left;
    width: 15%;
    text-align: right;
}

.stepfield {
    background: #f0f0f0;
    padding: 5px;
}

.submitButtons{
    margin-top:5px;
    text-align:right;
}

.formtitle {
	font-size: 12px;
	font-weight: bold;
	font-family: Arial, sans-serif;
	color: #003366;
}

.sectionbottom {
    border-bottom: 1px solid #3c78b5;
}

.topRow {
    border-top: 2px solid #3c78b5;
}

.tabletitle {
	font-size: 14px;
	font-weight: bold;
	font-family: Arial, sans-serif;
    padding: 3px 0px 2px 0px;
    margin: 8px 4px 2px 0px;
	color: #003366;
	border-bottom: 2px solid #3c78b5;
}
.pagesubheading {
    color: #666666;
    font-size: 10px;
    padding: 0px 0px 5px 0px;
}

HR {
	color: 3c78b5;
	height: 1;
}

A:link, A:visited, A:active, A:hover {
	color: #003366;
}

h1 A:link, h1 A:visited, h1 A:active {
	text-decoration: none;
}

h1 A:hover {
    border-bottom: 1px dotted #003366;
}

.wiki-content > :first-child, .commentblock > :first-child {
    margin-top: 3px;
}

.logocell {
    padding: 10px;
}

input {
	font-family: verdana, geneva, arial, sans-serif;
	font-size: 11px;
	color: #000000;
}

textarea, textarea.editor {
	font-family: verdana, geneva, arial, sans-serif;
	font-size: 11px;
	color: #333333;
}

/* use logoSpaceLink instead.
.spacenametitle {
	font: 21px/31px Impact, Arial, Helvetica;
    font-weight: 100;
    color: #999999;
	margin: 0px;
}
.spacenametitle img {
  margin: 0 0 -4px 0;
}
.spacenametitle a {
    text-decoration: none;
    color: #999999;
}
.spacenametitle a:visited {
    text-decoration: none;
    color: #999999;
}*/

.spacenametitle-printable {
	font: 20px/25px Impact, Arial, Helvetica;
    font-weight: 100;
    color: #999999;
	margin: 0px;
}
.spacenametitle-printable a {
    text-decoration: none;
    color: #999999;
}
.spacenametitle-printable a:visited {
    text-decoration: none;
    color: #999999;
}

.blogDate {
	font-weight: bold;
	text-decoration: none;
	color: black;
}

.blogSurtitle {
    background: #f0f0f0;
 	border: 1px solid #ddd;
	padding: 3px;
	margin: 1px 1px 10px 1px;
}

.blogHeading {
    font-size: 20px;
    line-height: normal;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
}

.blogHeading a {
   text-decoration: none;
   color: black;
}

.endsection {
	align: right;
	color: #666666;
	margin-top: 10px;
}
.endsectionleftnav {
	align: right;
	color: #666666;
	margin-top: 10px;
}

h1 {
	font-size: 24px;
	line-height: normal;
	font-weight: bold;
	background-color: #f0f0f0;
	color: #003366;
 	border-bottom: 1px solid #3c78b5;
	padding: 2px;
	margin: 36px 0px 4px 0px;
}

h2 {
	font-size: 18px;
	line-height: normal;
	font-weight: bold;
	background-color: #f0f0f0;
 	border-bottom: 1px solid #3c78b5;
	padding: 2px;
	margin: 27px 0px 4px 0px;
}

h3 {
	font-size: 14px;
	line-height: normal;
	font-weight: bold;
	background-color: #f0f0f0;
	padding: 2px;
	margin: 21px 0px 4px 0px;
}

h4 {
	font-size: 12px;
	line-height: normal;
	font-weight: bold;
	background-color: #f0f0f0;
	padding: 2px;
	margin: 18px 0px 4px 0px;
}

h4.search {
	font-size: 12px;
	line-height: normal;
	font-weight: normal;
	background-color: #f0f0f0;
	padding: 4px;
	margin: 18px 0px 4px 0px;
}

h5 {
	font-size: 10px;
	line-height: normal;
	font-weight: bold;
	background-color: #f0f0f0;
	padding: 2px;
	margin: 14px 0px 4px 0px;
}

h6 {
	font-size: 8px;
	line-height: normal;
	font-weight: bold;
	background-color: #f0f0f0;
	padding: 2px;
	margin: 14px 0px 4px 0px;
}

.smallfont {
    font-size: 10px;
}
.descfont {
    font-size: 10px;
    color: #666666;
}
.smallerfont {
    font-size: 9px;
}
.smalltext {
    color: #666666;
    font-size: 10px;
}
.smalltext a {
    color: #666666;
}
.smalltext-blue {
    color: #3c78b5;
    font-size: 10px;
}
.surtitle {
    margin-left: 1px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666666;
}

/* css hack found here:  http://www.fo3nix.pwp.blueyonder.co.uk/tutorials/css/hacks/ */
.navItemOver { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #003366; cursor: hand; voice-family: '\'}\''; voice-family:inherit; cursor: pointer;}
.navItemOver a { color: #ffffff; background-color:#003366; text-decoration: none; }
.navItemOver a:visited { color: #ffffff; background-color:#003366; text-decoration: none; }
.navItemOver a:hover { color: #ffffff; background-color:#003366; text-decoration: none; }
.navItem { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; }
.navItem a { color: #ffffff; text-decoration: none; }
.navItem a:hover { color: #ffffff; text-decoration: none; }
.navItem a:visited { color: #ffffff; text-decoration: none; }

div.padded { padding: 4px; }
div.thickPadded { padding: 10px; }
h3.macrolibrariestitle {
    margin: 0px 0px 0px 0px;
}

div.centered { text-align: center; margin: 10px; }
div.centered table {margin: 0px auto; text-align: left; }

.tableview table {
    margin: 0;
}

.tableview th {
    text-align: left;
    color: #003366;
    font-size: 12px;
    padding: 5px 0px 0px 5px;
    border-bottom: 2px solid #3c78b5;
}
.tableview td {
    text-align: left;
    border-color: #ccc;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    margin: 0;
    padding: 4px 10px 4px 5px;
}

.grid {
    margin: 2px 0px 5px 0px;
    border-collapse: collapse;
}
.grid th  {
    border: 1px solid #ccc;
    padding: 2px 4px 2px 4px;
    background: #f0f0f0;
    text-align: center;
}
.grid td  {
    border: 1px solid #ccc;
    padding: 3px 4px 3px 4px;
}
.gridHover {
	background-color: #f9f9f9;
}

td.infocell {
    background-color: #f0f0f0;
}
.label {
	font-weight: bold;
	color: #003366;
}

label {
	font-weight: bold;
	color: #003366;
}

.error {
	background-color: #fcc;
}

.errorBox {
	background-color: #fcc;
    border: 1px solid #c00;
    padding: 5px;
    margin: 5px;
}

.errorMessage {
	color: #c00;
}

.success {
	background-color: #dfd;
}

.successBox {
	background-color: #dfd;
    border: 1px solid #090;
    padding: 5px;
    margin-top:5px;
    margin-bottom:5px;
}

blockquote {
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 5px;
	margin-right: 0px;
	border-left: 1px solid #3c78b5;
}

table.confluenceTable
{
    margin: 5px;
    border-collapse: collapse;
}

/* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */
table.confluenceTable td.confluenceTd
{
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    padding: 3px 4px 3px 4px;
}

/* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */
table.confluenceTable th.confluenceTh
{
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    padding: 3px 4px 3px 4px;
    background-color: #f0f0f0;
    text-align: center;
}

td.confluenceTd
{
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    padding: 3px 4px 3px 4px;
}

th.confluenceTh
{
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    padding: 3px 4px 3px 4px;
    background-color: #f0f0f0;
    text-align: center;
}

DIV.small {
	font-size: 9px;
}

H1.pagename {
	margin-top: 0px;
}

IMG.inline  {}

.loginform {
    margin: 5px;
    border: 1px solid #ccc;
}

/* The text how the "This is a preview" comment should be shown. */
.previewnote { text-align: center;
                font-size: 11px;
                    color: red; }

/* How the preview content should be shown */
.previewcontent { background: #E0E0E0; }

/* How the system messages should be shown (DisplayMessage.jsp) */
.messagecontent { background: #E0E0E0; }

/* How the "This page has been modified..." -comment should be shown. */
.conflictnote { }

.createlink {
    color: maroon;
}
a.createlink {
    color: maroon;
}
.templateparameter {
    font-size: 9px;
    color: darkblue;
}

.diffadded {
    background: #ddffdd;
    padding: 1px 1px 1px 4px;
	border-left: 4px solid darkgreen;
}
.diffdeleted {
    color: #999;
    background: #ffdddd;
    padding: 1px 1px 1px 4px;
	border-left: 4px solid darkred;
}
.diffnochange {
    padding: 1px 1px 1px 4px;
	border-left: 4px solid lightgrey;
}
.differror {
    background: brown;
}
.diff {
    font-family: lucida console, courier new, fixed-width;
	font-size: 12px;
	line-height: 14px;
}
.diffaddedchars {
    background-color:#99ff99;
    font-weight:bolder;
}
.diffremovedchars {
    background-color:#ff9999;
    text-decoration: line-through;
    font-weight:bolder;
}

.greybackground {
    background: #f0f0f0
}

.greybox {
 	border: 1px solid #ddd;
	padding: 3px;
	margin: 1px 1px 10px 1px;
}

.borderedGreyBox {
    border: 1px solid #cccccc;
    background-color: #f0f0f0;
    padding: 10px;
}

.greyboxfilled {
 	border: 1px solid #ddd;
    background: #f0f0f0;
    padding: 3px;
	margin: 1px 1px 10px 1px;
}

.navBackgroundBox {
    padding: 5px 5px 5px 5px;
    font-size: 22px;
	font-weight: bold;
	font-family: Arial, sans-serif;
	color: white;
    background: #3c78b5;
    text-decoration: none;
}

.previewBoxTop {
	background-color: #f0f0f0;
    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-color: #3c78b5;
    padding: 5px;
    margin: 5px 0px 0px 0px;
    text-align: center;
}
.previewContent {
    background-color: #fff;
 	border-color: #3c78b5;
	border-width: 0px 1px 0px 1px;
	border-style: solid;
	padding: 10px;
	margin: 0px;
}
.previewBoxBottom {
	background-color: #f0f0f0;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: #3c78b5;
    padding: 5px;
    margin: 0px 0px 5px 0px;
    text-align: center;
}

.functionbox {
    background-color: #f0f0f0;
 	border: 1px solid #3c78b5;
	padding: 3px;
	margin: 1px 1px 10px 1px;
}

.functionbox-greyborder {
    background-color: #f0f0f0;
 	border: 1px solid #ddd;
	padding: 3px;
	margin: 1px 1px 10px 1px;
}

.search-highlight {
    background-color: #ffffcc;
}

/* normal (white) background */
.rowNormal {
    background-color: #ffffff;
 }

/* alternate (pale yellow) background */
.rowAlternate {
    background-color: #f7f7f7;
}

/* used in the list attachments table */
.rowAlternateNoBottomColor {
    background-color: #f7f7f7;
}

.rowAlternateNoBottomNoColor {
}

.rowAlternateNoBottomColor td {
    border-bottom: 0px;
}

.rowAlternateNoBottomNoColor td {
    border-bottom: 0px;
}

/* row highlight (grey) background */
.rowHighlight {
    background-color: #f0f0f0;

}

TD.greenbar {FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER: 1px solid #9c9c9c; PADDING: 0px; }
TD.redbar {FONT-SIZE: 2px; BACKGROUND: #df0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; }
TD.darkredbar {FONT-SIZE: 2px; BACKGROUND: #af0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; }

TR.testpassed {FONT-SIZE: 2px; BACKGROUND: #ddffdd; PADDING: 0px; }
TR.testfailed {FONT-SIZE: 2px; BACKGROUND: #ffdddd; PADDING: 0px; }

.toolbar  {
    margin: 0px;
    border-collapse: collapse;
}

.toolbar td  {
    border: 1px solid #ccc;
    padding: 2px 2px 2px 2px;
    color: #ccc;
}

td.noformatting {
    border-width: 0px;
    border-style: none;
    text-align: center;
	padding: 0px;
}

.commentblock {
    margin: 12px 0 12px 0;
}

/*
 * Divs displaying the license information, if necessary.
 */
.license-eval, .license-none, .license-nonprofit {
    border-top: 1px solid #bbbbbb;
    text-align: center;
    font-size: 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.license-eval, .license-none {
    background-color: #ffcccc;
}

.license-eval b, .license-none b {
    color: #990000
}

.license-nonprofit {
    background-color: #ffffff;
}

/*
 * The shadow at the bottom of the page between the main content and the
 * "powered by" section.
 */
.bottomshadow {
    height: 12px;
    background-image: url("$req.contextPath/images/border/border_bottom.gif");
    background-repeat: repeat-x;
}

/*
 * Styling of the operations box
 */
.navmenu .operations li, .navmenu .operations ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.navmenu .operations ul {
    margin-bottom: 9px;
}

.navmenu .label {
    font-weight: inherit;
}

/*
 * Styling of ops as a toolbar
 */
.toolbar div {
    display: none;
}

.toolbar .label {
    display: none;
}

.toolbar .operations {
    display: block;
}

.toolbar .operations ul {
    display: inline;
    list-style: none;
    margin-left: 10px;
    padding-left: 0;
}

.toolbar .operations li {
    list-style: none;
    display: inline;
}

/* list page navigational tabs */
#foldertab {
padding: 3px 0px 3px 8px;
margin-left: 0;
border-bottom: 1px solid #3c78b5;
font: bold 11px Verdana, sans-serif;
}

#foldertab li {
list-style: none;
margin: 0;
display: inline;
}

#foldertab li a {
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #3c78b5;
border-bottom: none;
background: #3c78b5;
text-decoration: none;
}

#foldertab li a:link { color: #ffffff; }
#foldertab li a:visited { color: #ffffff; }

#foldertab li a:hover {
color: #ffffff;
background: #003366;
border-color: #003366;
}

#foldertab li a.current {
background: white;
border-bottom: 1px solid white;
color: black;
}

#foldertab li a.current:link { color: black; }
#foldertab li a.current:visited { color: black; }
#foldertab li a.current:hover {
background: white;
border-bottom: 1px solid white;
color: black;
}

/* alphabet list */
ul#squaretab {
margin-left: 0;
padding-left: 0;
white-space: nowrap;
font: bold 8px Verdana, sans-serif;
}

#squaretab li {
display: inline;
list-style-type: none;
}

#squaretab a {
padding: 2px 6px;
border: 1px solid #3c78b5;
}

#squaretab a:link, #squaretab a:visited {
color: #fff;
background-color: #3c78b5;
text-decoration: none;
}

#squaretab a:hover {
color: #ffffff;
background-color: #003366;
border-color: #003366;
text-decoration: none;
}

#squaretab li a#current {
background: white;
color: black;
}

.blogcalendar * {
    font-family:verdana, arial, sans-serif;
    font-size:x-small;
    font-weight:normal;
    line-height:140%;
    padding:2px;
}


table.blogcalendar {
    border: 1px solid #3c78b5;
}

.blogcalendar th.calendarhead, a.calendarhead {
    font-size:x-small;
    font-weight:bold;
    padding:2px;
    text-transform:uppercase;
    background-color: #3c78b5;
    color: #ffffff;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.calendarhead:visited {color: white;}
.calendarhead:active {color: white;}
.calendarhead:hover {color: white;}

.blogcalendar th {
    font-size:x-small;
    font-weight:bold;
    padding:2px;
    background-color:#f0f0f0;
}

.blogcalendar td {
    font-size:x-small;
    font-weight:normal;
}

.searchGroup { padding: 0 0 10px 0; background: #f0f0f0; }
.searchGroupHeading { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; padding: 2px 4px 1px 4px; }
.searchItem { padding: 1px 4px 1px 4px; }
.searchItemSelected { padding: 1px 4px 1px 4px; font-weight: bold; background: #ddd; }

/* permissions page styles */
.permissionHeading {
    border-bottom: #bbb; border-width: 0 0 1px 0; border-style: solid; font-size: 16px; text-align: left;
}
.permissionTab {
    border-width: 0 0 0 1px; border-style: solid; background: #3c78b5; color: #ffffff; font-size: 10px;
}
.permissionSuperTab {
    border-width: 0 0 0 1px; border-style: solid; background: #003366; color: #ffffff;
}
.permissionCell {
    border-left: #bbb; border-width: 0 0 0 1px; border-style: solid;
}

/* warning panel */
.warningPanel { background: #FFFFCE; border:#F0C000 1px solid; padding: 8px; margin: 10px; }
/* alert panel */
.alertPanel { background: #FFCCCC; border:#C00 1px solid; padding: 8px; margin: 10px; }
/* info panel */
.infoPanel { background: #D8E4F1; border:#3c78b5 1px solid; padding: 8px; margin: 10px; }

/* side menu highlighting (e.g. space content screen) */
.optionPadded { padding: 2px; }
.optionSelected { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; margin: -1px; }
.optionSelected a { font-weight: bold; text-decoration: none; color: black; }

/* information macros */
.noteMacro { border-style: solid; border-width: 1px; border-color: #F0C000; background-color: #FFFFCE; text-align:left; margin-top: 5px; margin-bottom: 5px}
.warningMacro { border-style: solid; border-width: 1px; border-color: #c00; background-color: #fcc; text-align:left; margin-top: 5px; margin-bottom: 5px}
.infoMacro { border-style: solid; border-width: 1px; border-color: #3c78b5; background-color: #D8E4F1; text-align:left; margin-top: 5px; margin-bottom: 5px}
.tipMacro { border-style: solid; border-width: 1px; border-color: #090; background-color: #dfd; text-align:left; margin-top: 5px; margin-bottom: 5px}
.informationMacroPadding { padding: 5px 0 0 5px; }

table.infoMacro td, table.warningMacro td, table.tipMacro td, table.noteMacro td, table.sectionMacro td {
    border: none;
}

table.sectionMacroWithBorder td.columnMacro { border-style: dashed; border-width: 1px; border-color: #cccccc;}

.pagecontent
{
    padding: 10px;
    text-align: left;
}

/* styles for links in the top bar */
.topBarDiv a:link {color: #ffffff;}
.topBarDiv a:visited {color: #ffffff;}
.topBarDiv a:active {color: #ffffff;}
.topBarDiv a:hover {color: #ffffff;}
.topBarDiv {color: #ffffff;}

.topBar {
    background-color: #003366;
}


/* styles for extended operations */
.greyLinks a:link {color: #666666; text-decoration:underline;}
.greyLinks a:visited {color: #666666; text-decoration:underline;}
.greyLinks a:active {color: #666666; text-decoration:underline;}
.greyLinks a:hover {color: #666666; text-decoration:underline;}
.greyLinks {color: #666666; display:block; padding: 10px}

.logoSpaceLink {color: #999999; text-decoration: none}
.logoSpaceLink a:link {color: #999999; text-decoration: none}
.logoSpaceLink a:visited {color: #999999; text-decoration: none}
.logoSpaceLink a:active {color: #999999; text-decoration: none}
.logoSpaceLink a:hover {color: #003366; text-decoration: none}

/* basic panel (basicpanel.vmd) style */
.basicPanelContainer {border: 1px solid #3c78b5; margin-top: 2px; margin-bottom: 8px; width: 100%}
.basicPanelTitle {padding: 5px; margin: 0px; background-color: #f0f0f0; color: black; font-weight: bold;}
.basicPanelBody {padding: 5px; margin: 0px}

.separatorLinks a:link {color: white}
.separatorLinks a:visited {color: white}
.separatorLinks a:active {color: white}

.greynavbar {background-color: #f0f0f0; border-top: 1px solid #3c78b5; margin-top: 2px}

div.headerField {
    float: left;
    width: auto;
    height: 100%;
}

.headerFloat {
    margin-left: auto;
    width: 50%;
}

.headerFloatLeft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

#headerRow {
    padding: 10px;
}

div.license-personal {
   background-color: #003366;
   color: #ffffff;
}

div.license-personal a {
   color: #ffffff;
}

.greyFormBox {
    border: 1px solid #cccccc;
    padding: 5px;
}

/* IE automatically adds a margin before and after form tags. Use this style to remove that */
.marginlessForm {
    margin: 0px;
}

.openPageHighlight {
    background-color: #ffffcc;
    padding: 2px;
    border: 1px solid #ddd;
}

.editPageInsertLinks, .editPageInsertLinks a
{
    color: #666666;
    font-weight: bold;
    font-size: 10px;
}

/* Style for label heatmap. */
.top10 a {
    font-weight: bold;
    font-size: 2em;
    color: #003366;
}
.top25 a {
    font-weight: bold;
    font-size: 1.6em;
    color: #003366;
}
.top50 a {
    font-size: 1.4em;
    color: #003366;
}
.top100 a {
    font-size: 1.2em;
    color: #003366;
}

.heatmap {
    list-style:none;
    width: 95%;
    margin: 0px auto;
}

.heatmap a {
    text-decoration:none;
}

.heatmap a:hover {
    text-decoration:underline;
}

.heatmap li {
    display: inline;
}

.minitab {
padding: 3px 0px 3px 8px;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0px;
border-bottom: 1px solid #3c78b5;
font: bold 9px Verdana, sans-serif;
text-decoration: none;
float:none;
}
.selectedminitab {
padding: 3px 0.5em;
margin-left: 3px;
margin-top: 1px;
border: 1px solid #3c78b5;
background: white;
border-bottom: 1px solid white;
color: #000000;
text-decoration: none;
}
.unselectedminitab {
padding: 3px 0.5em;
margin-left: 3px;
margin-top: 1px;
border: 1px solid #3c78b5;
border-bottom: none;
background: #3c78b5;
color: #ffffff;
text-decoration: none;
}

a.unselectedminitab:hover {
color: #ffffff;
background: #003366;
border-color: #003366;
}

a.unselectedminitab:link { color: white; }
a.unselectedminitab:visited { color: white; }

a.selectedminitab:link { color: black; }
a.selectedminitab:visited { color: black; }

.linkerror { background-color: #fcc;}

a.labelOperationLink:link {text-decoration: underline}
a.labelOperationLink:active {text-decoration: underline}
a.labelOperationLink:visited {text-decoration: underline}
a.labelOperationLink:hover {text-decoration: underline}

a.newLabel:link {background-color: #ddffdd}
a.newLabel:active {background-color: #ddffdd}
a.newLabel:visited {background-color: #ddffdd}
a.newLabel:hover {background-color: #ddffdd}

ul.square {list-style-type: square}

.inline-control-link {
    background: #ffc;
    font-size: 9px;
    color: #666;
    padding: 2px;
    text-transform: uppercase;
    text-decoration: none;
}


.inline-control-link a:link {text-decoration: none}
.inline-control-link a:active {text-decoration: none}
.inline-control-link a:visited {text-decoration: none}
.inline-control-link a:hover {text-decoration: none}

.inline-control-link {
    background: #ffc;
    font-size: 9px;
    color: #666;
    padding: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

div.auto_complete {
    width: 350px;
    background: #fff;
}
div.auto_complete ul {
    border: 1px solid #888;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
}
div.auto_complete ul li {
    margin: 0;
    padding: 3px;
}
div.auto_complete ul li.selected {
    background-color: #ffb;
}
div.auto_complete ul strong.highlight {
    color: #800;
    margin: 0;
    padding: 0;
}

/******* Edit Page Styles *******/
.toogleFormDiv{
    border:1px solid #A7A6AA;
    background-color:white;
    padding:5px;
    margin-top: 5px;
}

.toogleInfoDiv{
    border:1px solid #A7A6AA;
    background-color:white;
    display:none;
    padding:5px;
    margin-top: 10px;
}

.inputSection{
    margin-bottom:20px;
}

#editBox{
   border:1px solid lightgray;
   background-color:#F0F0F0;
}

/******* Left Navigation Theme Styles ********/
.leftnav li a {
    text-decoration:none;
    color:white;
    margin:0px;
    display:block;
    padding:2px;
    padding-left:5px;
    background-color: #3c78b5;
    border-top:1px solid #3c78b5;
}

.leftnav li a:active {color:white;}
.leftnav li a:visited {color:white;}
.leftnav li a:hover {background-color: #003366; color:white;}

/* Added by Shaun during i18n */
.replaced
{
    background-color: #33CC66;
}

.topPadding
{
    margin-top: 20px;
}

/* new form style */
.form-block {
    padding: 6px;
}
.form-error-block {
    padding: 6px;
    background: #fcc;
    border-top: #f0f0f0 1px solid;
    border-bottom: #f0f0f0 1px solid;
    margin-bottom: 6px;
    padding: 0 12px 0 12px;
}
.form-element-large {
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #003366;
}

.form-element-small {
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #003366;
}

.form-header {
    background: lightyellow;
    border-top: #f0f0f0 1px solid;
    border-bottom: #f0f0f0 1px solid;
    margin-bottom: 6px;
    padding: 0 12px 0 12px;
}
.form-header p, .form-block p, .form-error-block p {
    line-height: normal;
    margin: 12px 0 12px 0;
}
.form-example {
    color: #888;
    font-size: 11px;
}
.form-divider {
    border-bottom: #ccc 1px solid;
    margin-bottom: 6px;
}
.form-buttons {
    margin-top: 6px;
    border-top: #ccc 1px solid;
    border-bottom: #ccc 1px solid;
    background: #f0f0f0;
    padding: 10px;
    text-align: center;
}
.form-buttons input {
    width: 100px;
}
.form-block .error {
    padding: 6px;
    margin-bottom: 6px;
}
    -->
    </style>
</head>
<body>

<div id="PageContent">
<table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
<td valign="top" class="pagebody">

    <div class="pageheader">
        <span class="pagetitle">
            Page Edited :
            <a href="http://cwiki.apache.org/confluence/display/GMOxDOC21">GMOxDOC21</a> :
            <a href="http://cwiki.apache.org/confluence/display/GMOxDOC21/SPECjAppServer2004">SPECjAppServer2004</a>
        </span>
    </div>

     <p>
        <a href="http://cwiki.apache.org/confluence/display/GMOxDOC21/SPECjAppServer2004">SPECjAppServer2004</a>
        has been edited by             <a href="http://cwiki.apache.org/confluence/display/~vmz">Vasily Zakharov</a>
            <span class="smallfont">(Feb 19, 2008)</span>.
     </p>
    
     <p>
                 <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=77088&originalVersion=2&revisedVersion=3">(View changes)</a>
     </p>

    <span class="label">Content:</span><br/>
    <div class="greybox wiki-content"><style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color: #f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td class='ScrollbarPrevIcon'><a href="/confluence/display/GMOxDOC21/Apache+Harmony"><img border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td width='33%' class='ScrollbarPrevName'><a href="/confluence/display/GMOxDOC21/Apache+Harmony">Apache Harmony</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a href="/confluence/display/GMOxDOC21/Sample+applications"><img border='0' align='middle' src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a href="/confluence/display/GMOxDOC21/Sample+applications">Sample applications</a></td><td width='33%' class='ScrollbarNextName'>&nbsp;</td></tr></table></div>
<p><a name="SPECjAppServer2004-top"></a></p>
<table cellpadding='5' width='85%' cellspacing='8px' class='warningMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>This article is a copy of the <span class="nobr"><a href="http://cwiki.apache.org/GMOxDOC12/specjappserver2004.html" title="Visit page outside Confluence" rel="nofollow">version<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> v1.05 and <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v12-release.html" title="Visit page outside Confluence" rel="nofollow">v1.2<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>. It's now being updated for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">v1.08<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> and <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v21-release.html" title="Visit page outside Confluence" rel="nofollow">v2.1<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, but the updating process is not yet complete.</td></tr></table>

<h1><a name="SPECjAppServer2004-RunningSPECjAppServer2004benchmarkonGeronimo"></a>Running SPECjAppServer2004 benchmark on Geronimo</h1>

<h2><a name="SPECjAppServer2004-Stillnotasuccess%2Cyourhelpneeded%21"></a>Still not a success, your help needed!</h2>

<p><b>This article shows how to measure the performance of the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> application server using the industry standard <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> benchmark.</b></p>

<table cellpadding='5' width='85%' cellspacing='8px' class='warningMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Issues still exist that prevent <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> from running on <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.

<p>This article is not a success story, but a collection of notes on the progress that has been made in this direction.</p>

<p>Current issue that requires your help is: <a href="#SPECjAppServer2004-Runningthebenchmark" title="Running the benchmark on SPECjAppServer2004">Running the benchmark</a></p></td></tr></table>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Disclaimer:</b> This article is created to write down the existing experience and to make it reproducible. It is not targeted to be a comprehensive guide on either product or on merging them together. It's not also a replacement to the products' documentation, but just a step-by-step guide on how to make things work in a simple configuration, as it worked for me. Make sure you at least look through the documentation on both products before you proceed.</td></tr></table>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>SPECjAppServer</b> is a trademark of the <b>Standard Performance Evaluation Corp.</b> (<span class="nobr"><a href="http://www.spec.org" title="Visit page outside Confluence" rel="nofollow">SPEC<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>). The official web site for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is located at <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.

<p><b>SPECjAppServer2004</b> version <b>1.08</b> introduces a reduced workload called <b>EAStress2004</b> that relaxes run and reporting rules, enabling informal results to be shared more easily in open-source research and development projects.</p>

<p>The <b>EAStress2004</b> workload in <b>SPECjAppServer2004 v1.08</b> can be used as a tool to optimize performance of products under development and to share results in public forums.  Unlike <b>SPECjAppServer2004</b> results, testing results from the <b>EAStress2004</b> workload do not need to be reviewed by <b>SPEC</b> prior to being made public.</p>

<p>Results from the <b>EAStress2004</b> workload cannot be used for marketing purposes, and comparisons to other <b>SPECjAppServer2004</b> results are not permitted.</p>

<p>See full press release on <b>SPECjAppServer2004/EAStress2004 v1.08</b> here: <span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/jAppServer2004v108.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.</p>

<p>All logs, stacks and result files in this article are extracted from <b>EAStress2004 v1.08</b> runs.</p></td></tr></table>

<p>This article is written for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">v1.08<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> and <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v21-release.html" title="Visit page outside Confluence" rel="nofollow">v2.1<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>. For other versions some stages may be different. Older versions of this article for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> v1.05 and older versions of <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> can be found here: <span class="nobr"><a href="http://cwiki.apache.org/confluence/display/GMOxDOC10/SPECjAppServer2004" title="Visit page outside Confluence" rel="nofollow">v1.0<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, <span class="nobr"><a href="http://cwiki.apache.org/confluence/display/GMOxDOC11/SPECjAppServer2004" title="Visit page outside Confluence" rel="nofollow">v1.1<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, <span class="nobr"><a href="http://cwiki.apache.org/confluence/display/GMOxDOC12/SPECjAppServer2004" title="Visit page outside Confluence" rel="nofollow">v1.2<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, <span class="nobr"><a href="http://cwiki.apache.org/confluence/display/GMOxDOC21/SPECjAppServer2004" title="Visit page outside Confluence" rel="nofollow">v2.0.2<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.</p>

<p>The described configuration uses as many <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> components as possible, including the built-in <span class="nobr"><a href="http://db.apache.org/derby/" title="Visit page outside Confluence" rel="nofollow">Derby<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> database and the built-in <span class="nobr"><a href="http://jetty.mortbay.com" title="Visit page outside Confluence" rel="nofollow">Jetty<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> or <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> servlet container. In fact, the configuration only uses <span class="nobr"><a href="http://java.sun.com" title="Visit page outside Confluence" rel="nofollow">Java<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, an external servlet container (e. g. <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>) and <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>. To plug external components (most probably, a database), you have to change your configuration accordingly.</p>

<p>This configuration also assumes that all the components (except, possibly, the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Driver and the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Supplier Emulator and its servlet container) are run on the same machine. If you want to run the Distributed workload, your configuration will be different.</p>

<p>This configuration uses the <span class="nobr"><a href="http://www.microsoft.com" title="Visit page outside Confluence" rel="nofollow">Microsoft<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://www.microsoft.com/windowsxp/pro/" title="Visit page outside Confluence" rel="nofollow">Windows XP Professional<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/winxpsp2.mspx" title="Visit page outside Confluence" rel="nofollow">Service Pack 2<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> operating system, <span class="nobr"><a href="http://cygwin.com" title="Visit page outside Confluence" rel="nofollow">Cygwin<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> shell, <span class="nobr"><a href="http://www.sun.com" title="Visit page outside Confluence" rel="nofollow">Sun<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com" title="Visit page outside Confluence" rel="nofollow">Java<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com/javase/" title="Visit page outside Confluence" rel="nofollow">SE<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com/javase/downloads/index_jdk5.jsp" title="Visit page outside Confluence" rel="nofollow">5.0<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Update 11 and <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> v5.0.30 to write this article. If you use another OS, Java or servlet container, some stages may be different.</p>

<p>This article uses forward slashes ( / ) for command lines, adjust to backslashes ( \ ) accordingly if you use <span class="nobr"><a href="http://www.microsoft.com/windows/" title="Visit page outside Confluence" rel="nofollow">Windows<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> command prompt.</p>

<hr />

<p>This article has the following structure:</p>

<ul>
	<li><a href="#SPECjAppServer2004-Generalinformation" title="General information on SPECjAppServer2004">General information</a>
	<ul>
		<li><a href="#SPECjAppServer2004-AboutGeronimo" title="About Geronimo on SPECjAppServer2004">About Geronimo</a></li>
		<li><a href="#SPECjAppServer2004-AboutSPECjAppServer2004%2FEAStress2004" title="About SPECjAppServer2004/EAStress2004 on SPECjAppServer2004">About SPECjAppServer2004/EAStress2004</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-Obtainingproducts" title="Obtaining products on SPECjAppServer2004">Obtaining products</a>
	<ul>
		<li><a href="#SPECjAppServer2004-ObtainingGeronimo" title="Obtaining Geronimo on SPECjAppServer2004">Obtaining Geronimo</a></li>
		<li><a href="#SPECjAppServer2004-ObtainingSPECjAppServer2004" title="Obtaining SPECjAppServer2004 on SPECjAppServer2004">Obtaining SPECjAppServer2004</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-Conventionsandenvironment" title="Conventions and environment on SPECjAppServer2004">Conventions and environment</a>
	<ul>
		<li><a href="#SPECjAppServer2004-Hosts" title="Hosts on SPECjAppServer2004">Hosts</a></li>
		<li><a href="#SPECjAppServer2004-Directories" title="Directories on SPECjAppServer2004">Directories</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-Installingproducts" title="Installing products on SPECjAppServer2004">Installing products</a>
	<ul>
		<li><a href="#SPECjAppServer2004-InstallingGeronimo" title="Installing Geronimo on SPECjAppServer2004">Installing Geronimo</a></li>
		<li><a href="#SPECjAppServer2004-InstallingSPECjAppServer2004" title="Installing SPECjAppServer2004 on SPECjAppServer2004">Installing SPECjAppServer2004</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-ConfiguringGeronimo" title="Configuring Geronimo on SPECjAppServer2004">Configuring Geronimo</a>
	<ul>
		<li><a href="#SPECjAppServer2004-Adjustingconfiguration" title="Adjusting configuration on SPECjAppServer2004">Adjusting configuration</a></li>
		<li><a href="#SPECjAppServer2004-StartingGeronimo" title="Starting Geronimo on SPECjAppServer2004">Starting Geronimo</a></li>
		<li><a href="#SPECjAppServer2004-Accessingtheconsole" title="Accessing the console on SPECjAppServer2004">Accessing the console</a></li>
		<li><a href="#SPECjAppServer2004-Creatingthedatabase" title="Creating the database on SPECjAppServer2004">Creating the database</a></li>
		<li><a href="#SPECjAppServer2004-LocatingtheSQLfiles" title="Locating the SQL files on SPECjAppServer2004">Locating the SQL files</a></li>
		<li><a href="#SPECjAppServer2004-Creatingthetables" title="Creating the tables on SPECjAppServer2004">Creating the tables</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-ConfiguringSPECjAppServer2004" title="Configuring SPECjAppServer2004 on SPECjAppServer2004">Configuring SPECjAppServer2004</a>
	<ul>
		<li><a href="#SPECjAppServer2004-Basicconfiguration" title="Basic configuration on SPECjAppServer2004">Basic configuration</a></li>
		<li><a href="#SPECjAppServer2004-Buildingtheapplication" title="Building the application on SPECjAppServer2004">Building the application</a></li>
		<li><a href="#SPECjAppServer2004-Preparingdatabaseconfiguration" title="Preparing database configuration on SPECjAppServer2004">Preparing database configuration</a></li>
		<li><a href="#SPECjAppServer2004-Loadingthetables" title="Loading the tables on SPECjAppServer2004">Loading the tables</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-Deployingcomponents" title="Deploying components on SPECjAppServer2004">Deploying components</a>
	<ul>
		<li><a href="#SPECjAppServer2004-Loggingin" title="Logging in on SPECjAppServer2004">Logging in</a></li>
		<li><a href="#SPECjAppServer2004-Deployingdatabaseconnector" title="Deploying database connector on SPECjAppServer2004">Deploying database connector</a></li>
		<li><a href="#SPECjAppServer2004-DeployingJMSconnector" title="Deploying JMS connector on SPECjAppServer2004">Deploying JMS connector</a></li>
		<li><a href="#SPECjAppServer2004-Deployingthemainapplication" title="Deploying the main application on SPECjAppServer2004">Deploying the main application</a></li>
		<li><a href="#SPECjAppServer2004-Verifyingthedeployment" title="Verifying the deployment on SPECjAppServer2004">Verifying the deployment</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-DeployingtheSupplierEmulator" title="Deploying the Supplier Emulator on SPECjAppServer2004">Deploying the Supplier Emulator</a>
	<ul>
		<li><a href="#SPECjAppServer2004-UsingtheGeronimoservletcontainer" title="Using the Geronimo servlet container on SPECjAppServer2004">Using the Geronimo servlet container</a></li>
		<li><a href="#SPECjAppServer2004-Usingastandaloneservletcontainer" title="Using a stand-alone servlet container on SPECjAppServer2004">Using a stand&#45;alone servlet container</a></li>
		<li><a href="#SPECjAppServer2004-Verifyingthedeployment" title="Verifying the deployment on SPECjAppServer2004">Verifying the deployment</a></li>
	</ul>
	</li>
	<li><a href="#SPECjAppServer2004-Runningthebenchmark" title="Running the benchmark on SPECjAppServer2004">Running the benchmark</a></li>
	<li><a href="#SPECjAppServer2004-Processingresults" title="Processing results on SPECjAppServer2004">Processing results</a></li>
</ul>


<h1><a name="SPECjAppServer2004-Generalinformation"></a>General information</h1>

<h2><a name="SPECjAppServer2004-AboutGeronimo"></a>About Geronimo</h2>

<p><span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is the <span class="nobr"><a href="http://www.apache.org" title="Visit page outside Confluence" rel="nofollow">Apache Software Foundation<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com" title="Visit page outside Confluence" rel="nofollow">Java<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com/javaee/" title="Visit page outside Confluence" rel="nofollow">EE<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> 5 certified application server. It is developed under <span class="nobr"><a href="http://www.apache.org/licenses/LICENSE-2.0" title="Visit page outside Confluence" rel="nofollow">Apache License<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> and can be downloaded freely.</p>

<p>Apache site: <span class="nobr"><a href="http://apache.org" title="Visit page outside Confluence" rel="nofollow">http://apache.org<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Product site: <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">http://geronimo.apache.org<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Latest version, 2.1: <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v21-release.html" title="Visit page outside Confluence" rel="nofollow">http://geronimo.apache.org/apache-geronimo-v21-release.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Release notes: <span class="nobr"><a href="http://cwiki.apache.org/GMOxDOC21/release-notes-21txt.html" title="Visit page outside Confluence" rel="nofollow">http://cwiki.apache.org/GMOxDOC21/release-notes-21txt.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Documentation page: <span class="nobr"><a href="http://geronimo.apache.org/documentation.html" title="Visit page outside Confluence" rel="nofollow">http://geronimo.apache.org/documentation.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>The best document available is <b>"Apache Geronimo: J2EE Development and Deployment"</b> book by <span class="nobr"><a href="mailto:ammulder@apache.org" title="Send mail to Aaron Mulder" rel="nofollow">Aaron Mulder<sup><img class="rendericon" src="/confluence/images/icons/mail_small.gif" height="12" width="13" align="absmiddle" alt="" border="0"/></sup></a></span>: <span class="nobr"><a href="http://chariotsolutions.com/geronimo/" title="Visit page outside Confluence" rel="nofollow">http://chariotsolutions.com/geronimo/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Other important resources are FAQ: <span class="nobr"><a href="http://cwiki.apache.org/GMOxKB" title="Visit page outside Confluence" rel="nofollow">http://cwiki.apache.org/GMOxKB<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> and Wiki: <span class="nobr"><a href="http://cwiki.apache.org/geronimo" title="Visit page outside Confluence" rel="nofollow">http://cwiki.apache.org/geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<h2><a name="SPECjAppServer2004-AboutSPECjAppServer2004%2FEAStress2004"></a>About SPECjAppServer2004/EAStress2004</h2>

<p><span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is a commercial benchmark for measuring the performance of <span class="nobr"><a href="http://java.sun.com" title="Visit page outside Confluence" rel="nofollow">Java<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com/javaee/" title="Visit page outside Confluence" rel="nofollow">EE<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> application servers.</p>

<p><span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">EAStress2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is a reduced workload that is a part of <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">v1.08<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, it relaxes run and reporting rules, enabling informal results to be shared more easily in open-source research and development projects.</p>

<p>SPEC site: <span class="nobr"><a href="http://www.spec.org" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Product site: <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Press release on v1.08 and EAStress2004: <span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/jAppServer2004v108.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>FAQ: <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/FAQ.html" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/docs/FAQ.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>User's Guide: <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/UserGuide.html" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/docs/UserGuide.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Run and Reporting Rules: <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/RunRules.html" title="Visit page outside Confluence" rel="nofollow">http://www.spec.org/jAppServer2004/docs/RunRules.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-Obtainingproducts"></a>Obtaining products</h1>

<h2><a name="SPECjAppServer2004-ObtainingGeronimo"></a>Obtaining Geronimo</h2>

<p>The latest <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> version for now is <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v21-release.html" title="Visit page outside Confluence" rel="nofollow">2.1<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.</p>

<p>General download page: <span class="nobr"><a href="http://geronimo.apache.org/downloads.html" title="Visit page outside Confluence" rel="nofollow">http://geronimo.apache.org/downloads.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p>Two builds of <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> exist, with <span class="nobr"><a href="http://jetty.mortbay.com" title="Visit page outside Confluence" rel="nofollow">Jetty<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> or <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> servlet container enabled by default. You can download either one at <span class="nobr"><a href="http://geronimo.apache.org/downloads.html" title="Visit page outside Confluence" rel="nofollow">http://geronimo.apache.org/downloads.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, they are around 80 MB in size each. This document was written primarily using <span class="nobr"><a href="http://jetty.mortbay.com" title="Visit page outside Confluence" rel="nofollow">Jetty<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> version, but <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> version works fine also.</p>

<h2><a name="SPECjAppServer2004-ObtainingSPECjAppServer2004"></a>Obtaining SPECjAppServer2004</h2>

<p><span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> costs $2000 ($250 for non-profit/educational purposes), you can order it online. See <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/FAQ.html#Q10" title="Visit page outside Confluence" rel="nofollow">FAQ<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> for details.</p>

<p>The latest version is <span class="nobr"><a href="http://www.spec.org/jAppServer2004/jAppServer2004v108.html" title="Visit page outside Confluence" rel="nofollow">1.08<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, coming as the <tt>SPECjAppServer2004-Kit-v1.08.jar</tt> file, 12 MB in size.</p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-Conventionsandenvironment"></a>Conventions and environment</h1>

<p>This section contains important notions that mark the important hosts and directories.</p>

<h2><a name="SPECjAppServer2004-Hosts"></a>Hosts</h2>

<p>This article is written in terms of the following machines:</p>

<ul>
	<li><tt><b>geronimo.host</b></tt> &#8211; the machine where <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is run, with <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> deployed.</li>
</ul>


<ul>
	<li><tt><b>emulator.host</b></tt> &#8211; the machine where the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Supplier Emulator is deployed.</li>
</ul>


<ul>
	<li><tt><b>driver.host</b></tt> &#8211; the machine where the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Driver is run. If you use configuration with multiple Drivers, you have to repeat all the operations for this host on all Driver hosts.</li>
</ul>


<ul>
	<li><tt><b>master.host</b></tt> &#8211; the main, Master <tt><b>driver.host</b></tt> in configurations with multiple Drivers.</li>
</ul>


<p>The <tt><b>emulator.host</b></tt> and the <tt><b>driver.host</b></tt> may be the same machine.</p>

<p>The <tt><b>geronimo.host</b></tt> and the <tt><b>emulator.host</b></tt> may be the same machine, moreover, the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Supplier Emulator may be deployed into a <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> built-in servlet container (<span class="nobr"><a href="http://jetty.mortbay.com" title="Visit page outside Confluence" rel="nofollow">Jetty<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> or <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>).</p>

<p>The <tt><b>geronimo.host</b></tt> and the <tt><b>driver.host</b></tt> may be the same machine, but you have to <a href="#SPECjAppServer2004-Adjustingconfiguration" title="Adjusting configuration on SPECjAppServer2004">adjust</a> the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> configuration, as both <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> and the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Driver create <span class="nobr"><a href="http://java.sun.com/j2se/1.5.0/docs/guide/rmi/" title="Visit page outside Confluence" rel="nofollow">RMI<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Registry on the default port (1099) and would conflict on that.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Sharing <tt><b>geronimo.host</b></tt> with <tt><b>emulator.host</b></tt> or <tt><b>driver.host</b></tt> is contradicting with the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> documentation and would impact the performance severely and invalidate the benchmark results. However technically this is possible.</td></tr></table>

<h2><a name="SPECjAppServer2004-Directories"></a>Directories</h2>

<p>This section lists important directories that are further addressed in this article. They can be chosen arbitrary, but should not overlap.</p>

<ul>
	<li><tt><b>&lt;GERONIMO&gt;</b></tt> &#8211; directory at the <tt><b>geronimo.host</b></tt> where <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is installed.</li>
</ul>


<ul>
	<li><tt><b>&lt;SPEC&gt;</b></tt> &#8211; directory at the <tt><b>geronimo.host</b></tt> where <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is installed.</li>
</ul>


<ul>
	<li><tt><b>&lt;KIT&gt;</b></tt> &#8211; directory at the <tt><b>geronimo.host</b></tt> containing the files attached to this article.</li>
</ul>


<ul>
	<li><tt><b>&lt;TOMCAT&gt;</b></tt> &#8211; directory at the <tt><b>emulator.host</b></tt> where <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is installed.</li>
</ul>


<ul>
	<li><tt><b>&lt;DRIVER&gt;</b></tt> &#8211; directory at the <tt><b>driver.host</b></tt> that is a copy of the <tt><b>&lt;SPEC&gt;</b></tt> directory.</li>
</ul>


<ul>
	<li><tt><b>&lt;DRIVER_GERONIMO&gt;</b></tt> &#8211; directory at the <tt><b>driver.host</b></tt> that is a copy of the <tt><b>&lt;GERONIMO&gt;</b></tt> directory.</li>
</ul>


<ul>
	<li><tt><b>&lt;JAVA_HOME&gt;</b></tt> &#8211; <tt>JAVA_HOME</tt> location at the <tt><b>driver.host</b></tt>.</li>
</ul>


<ul>
	<li><tt><b>&lt;OUTPUT&gt;</b></tt> &#8211; directory at the <tt><b>driver.host</b></tt> where the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Driver will store its output.</li>
</ul>


<ul>
	<li><tt><b>&lt;DUMP&gt;</b></tt> &#8211; directory at the <tt><b>driver.host</b></tt> where the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Driver will store its temporal files.
<br clear="all" />
<br clear="all" />
<table cellpadding='5' width='85%' cellspacing='8px' class='noteMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>On Windows</b> some components may work incorrectly if working paths are too long or contain spaces. So it's recommended that you avoid long paths and spaces in them.</td></tr></table></li>
</ul>


<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-Installingproducts"></a>Installing products</h1>

<p>First, save the files attached to this article to a local directory. This will be your <tt><b>&lt;KIT&gt;</b></tt> directory.</p>

<h2><a name="SPECjAppServer2004-InstallingGeronimo"></a>Installing Geronimo</h2>

<p>You can easily install <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> using the <tt>.zip</tt> or <tt>.tar.gz</tt> archive.</p>

<p>Extract the downloaded archive to a local directory. The <tt>geronimo-jetty6-javaee5-2.1</tt> or <tt>geronimo-tomcat6-javaee5-2.1</tt> directory is created, that is your <tt><b>&lt;GERONIMO&gt;</b></tt> directory.</p>

<h2><a name="SPECjAppServer2004-InstallingSPECjAppServer2004"></a>Installing SPECjAppServer2004</h2>

<p>Run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar SPECjAppServer2004-Kit-v1.08.jar</tt></p>
</div></div>

<p>Click <b>Next</b>, read and accept the license agreement, and type in the directory you want the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> to be installed to. This directory will be your <tt><b>&lt;SPEC&gt;</b></tt> directory.</p>

<p>Click <b>Install</b>. </p>

<p>Wait until the installation completes, then click <b>Ready</b>.</p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-ConfiguringGeronimo"></a>Configuring Geronimo</h1>

<h2><a name="SPECjAppServer2004-Adjustingconfiguration"></a>Adjusting configuration</h2>

<p>If your <tt><b>geronimo.host</b></tt> and your <tt><b>driver.host</b></tt> are the same machine, you have to adjust the port number of the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com/j2se/1.5.0/docs/guide/rmi/" title="Visit page outside Confluence" rel="nofollow">RMI<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Registry (to e. g. 1199), otherwise it would conflict with the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Driver that uses the default port of 1099. Edit the <tt><b>&lt;GERONIMO&gt;</b>/var/config/config-substitutions.properties</tt> file and change the <tt>NamingPort</tt> variable value.</p>

<h2><a name="SPECjAppServer2004-StartingGeronimo"></a>Starting Geronimo</h2>

<p>Go to your <tt><b>&lt;GERONIMO&gt;</b></tt> directory.</p>

<p>Start <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> by typing:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/jpa.jar -Dopenejb.jndiname.failoncollision=true -Dopenejb.jndiname.format={ejbName} -jar bin/server.jar</tt></p>
</div></div>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Please note the two <span class="nobr"><a href="http://openejb.apache.org" title="Visit page outside Confluence" rel="nofollow">OpenEJB<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> settings, they're necessary to tune <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> to the simple format of EJB JNDI names <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> uses.

<p>See details at <span class="nobr"><a href="http://cwiki.apache.org/GMOxDOC21/client-jndi-names.html" title="Visit page outside Confluence" rel="nofollow">http://cwiki.apache.org/GMOxDOC21/client-jndi-names.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> and <span class="nobr"><a href="http://cwiki.apache.org/OPENEJB/service-locator.html" title="Visit page outside Confluence" rel="nofollow">http://cwiki.apache.org/OPENEJB/service-locator.html<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.</p></td></tr></table>

<p>You may also use <tt><b>&lt;GERONIMO&gt;</b>/bin/geronimo.sh</tt> or <tt><b>&lt;GERONIMO&gt;</b>/bin/geronimo.bat</tt> scripts instead, after appropriate adjustments.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='noteMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v21-release.html" title="Visit page outside Confluence" rel="nofollow">v2.1<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> needs access to Internet for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> application to be deployed &#8211; it tries to fetch XML schemas from <span class="nobr"><a href="http://java.sun.com" title="Visit page outside Confluence" rel="nofollow">http://java.sun.com<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> site.

<p>So if you're behind a firewall, add the appropriate <tt>-Dhttp.proxyHost=</tt> and <tt>-Dhttp.proxyPort=</tt> options to the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> startup line.</p>

<p>This problem is caused by <span class="nobr"><a href="http://issues.apache.org/jira/browse/OPENEJB-700" title="Visit page outside Confluence" rel="nofollow">OPENEJB-700<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> bug which is already fixed and the fix should make it to the next version of <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.</p>

<p>If your installation of <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> has no access to Internet at all, or your proxy requires authentication, you may use the following workarounds (thanks to <span class="nobr"><a href="mailto:soap_man@mail.ru" title="Send mail to Konstantin Malynkin" rel="nofollow">Konstantin Malynkin<sup><img class="rendericon" src="/confluence/images/icons/mail_small.gif" height="12" width="13" align="absmiddle" alt="" border="0"/></sup></a></span> for describing them). You may download the necessary DTDs to your local drive and specify the local path to them in your deployment descriptors (see <tt><b>&lt;SPEC&gt;</b>/src/deploy/geronimo</tt> directory). For example, you could use <tt>&lt;!DOCTYPE ejb-jar SYSTEM "C:/DTD/ejb-jar_2_0.dtd"&gt;</tt> instead of <tt>&lt;!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'&gt;</tt>. Another way is to omit verification at all by deleting or commenting out the references to DTDs in the deployment descriptors. Note that in both cases you would have to <a href="#SPECjAppServer2004-Buildingtheapplication" title="Building the application on SPECjAppServer2004">rebuild</a> and <a href="#SPECjAppServer2004-Deployingthemainapplication" title="Deploying the main application on SPECjAppServer2004">redeploy</a> the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> application for the changes to take effect.</p></td></tr></table>

<p>It will take some time to start. After that, you will see:</p>

<p><font color="white"><div class="preformatted" style="border-style: solid; "><div class="preformattedContent" style="background-color: black; ">
<pre>Booting Geronimo Kernel (in Java 1.5.0_11)...
Starting Geronimo Application Server v2.1
[****************************************] 100%  25s Startup complete
  Listening on Ports:
       0 0.0.0.0   Derby Connector
    1050 127.0.0.1 CORBA Naming Service
    1099 0.0.0.0   RMI Naming
    2001 127.0.0.1 OpenEJB ORB Adapter
    4201 0.0.0.0   OpenEJB Daemon
    6882 127.0.0.1 OpenEJB ORB Adapter
    8009 0.0.0.0   Jetty Connector AJP13
    8080 0.0.0.0   Jetty SelectChannel Connector HTTP
    8443 0.0.0.0   Jetty SelectChannel Connector HTTPS
    9999 0.0.0.0   JMX Remoting Connector
   61613 0.0.0.0   ActiveMQ Transport Connector
   61616 0.0.0.0   ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.configs/uddi-jetty6/2.1/car
    EAR: org.apache.geronimo.plugins/agent/2.1/car
    EAR: org.apache.geronimo.plugins/console-jetty/2.1/car
    EAR: org.apache.geronimo.plugins/mconsole-jetty/2.1/car
    JAR: org.apache.geronimo.configs/mejb/2.1/car
    RAR: SPECjAppServer2004/DB/1.08/rar
    RAR: SPECjAppServer2004/JMS/1.08/rar
    RAR: org.apache.geronimo.configs/activemq-ra/2.1/car
    RAR: org.apache.geronimo.configs/system-database/2.1/car
    RAR: org.apache.geronimo.plugins/agent-ds/2.1/car
    RAR: org.apache.geronimo.plugins/mconsole-ds/2.1/car
    WAR: SPECjAppServer2004/Emulator/1.08/war
    WAR: org.apache.geronimo.configs/ca-helper-jetty/2.1/car
    WAR: org.apache.geronimo.configs/dojo-jetty6/2.1/car
    WAR: org.apache.geronimo.configs/dojo-legacy-jetty6/2.1/car
    WAR: org.apache.geronimo.configs/remote-deploy-jetty/2.1/car
    WAR: org.apache.geronimo.configs/welcome-jetty/2.1/car
    WAR: org.apache.geronimo.plugins/activemq-console-jetty/2.1/car
    WAR: org.apache.geronimo.plugins/debugviews-console-jetty/2.1/car
    WAR: org.apache.geronimo.plugins/plancreator-console-jetty/2.1/car
    WAR: org.apache.geronimo.plugins/plugin-console-jetty/2.1/car
    WAR: org.apache.geronimo.plugins/sysdb-console-jetty/2.1/car

  Web Applications:
    /
    /CAHelper
    /Emulator
    /activemq
    /console
    /console-base
    /debug-views
    /dojo
    /dojo/0.4
    /juddi
    /monitoring
    /plan-creator
    /plugin
    /remote-deploy
    /system-database

Geronimo Application Server started
</pre>
</div></div></font></p>

<p>If you get a different result, particularly, if network errors show up, then something has gone wrong.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Sometimes, the startup fails because some local network addresses are inaccessible. This could happen, for example, if you have used a VPN interface that is disconnected now. By default, <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> uses the first local address it comes across to access its components, and may try to use a stale address, causing startup errors.

<p>You may try disabling and then re-enabling the unused network interfaces to resolve such issues.</p></td></tr></table>

<h2><a name="SPECjAppServer2004-Accessingtheconsole"></a>Accessing the console</h2>

<p>Open your web browser and connect to the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Console at <tt><b>http:/</b><b>/geronimo.host:8080/console/</b></tt></p>

<p>Log in using the user name and password (<b>system</b> and <b>manager</b> by default).</p>

<p>Now you may investigate the console if you wish.</p>

<h2><a name="SPECjAppServer2004-Creatingthedatabase"></a>Creating the database</h2>

<p>Go to the <b>Embedded DB - DB Manager</b> in the Console Navigation.</p>

<p>Create the benchmark database by typing its name (<b>SPECDB</b>) in the <b>Create DB</b> field and clicking <b>Create</b>.</p>

<h2><a name="SPECjAppServer2004-LocatingtheSQLfiles"></a>Locating the SQL files</h2>

<p>To create database tables, you can use the default SQL scripts provided in the <tt><b>&lt;SPEC&gt;</b>/schema/sql</tt> directory. However, the directory includes five scripts, and they contain <tt>DROP TABLE</tt> commands that would fail if you try to execute them in the console when tables are not yet created.</p>

<p>Instead, it is recommended that you use the <span class="error">&#91;^allTablesNoDrop.sql&#93;</span> file, if you are creating the tables from scratch, or <span class="error">&#91;^allTables.sql&#93;</span> file if you want to drop and recreate the tables. Both files were created from the <tt><b>&lt;SPEC&gt;</b>/schema/sql</tt> files by simple concatenation, <span class="error">&#91;^allTablesNoDrop.sql&#93;</span> also has <tt>DROP TABLE</tt> commands removed.</p>

<h2><a name="SPECjAppServer2004-Creatingthetables"></a>Creating the tables</h2>

<p>Make sure <b>SPECDB</b> is selected in <b>Use DB</b> field and then copy-paste the SQL code to <b>SQL Command/s</b> frame. Click <b>Run SQL</b> button above it.</p>

<p>After a short delay, the frame will clear and the <b>Result</b> field below it will say <b>SQL command/s successful</b>. If not &#8211; check what you did wrong and try again.</p>

<p>If you use multiple SQL scripts, repeat the operations above for each of them.</p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-ConfiguringSPECjAppServer2004"></a>Configuring SPECjAppServer2004</h1>

<h2><a name="SPECjAppServer2004-Basicconfiguration"></a>Basic configuration</h2>

<h3><a name="SPECjAppServer2004-%7B%7Bdeploy%7D%7Ddirectory"></a><tt>deploy</tt> directory</h3>

<p>Go to the <tt><b>&lt;SPEC&gt;</b>/src/deploy</tt> directory and copy the <tt>reference</tt> subdirectory with its contents with the name <tt>geronimo</tt>.</p>

<h3><a name="SPECjAppServer2004-%7B%7Bgeronimo.env%7D%7Dfile"></a><tt>geronimo.env</tt> file</h3>

<p>Go to the <tt><b>&lt;SPEC&gt;</b>/config</tt> directory.</p>

<p>Put the attached <span class="error">&#91;^geronimo.env&#93;</span> template file there. Edit it, make sure you set the values for the following variables:</p>

<p><tt>JAS_HOME=<b>&lt;SPEC&gt;</b></tt><br/>
<tt>JAVA_HOME=<b>&lt;JAVA_HOME&gt;</b></tt><br/>
<tt>J2EE_HOME=<b>&lt;GERONIMO&gt;</b></tt><br/>
<tt>JAS_HOST=<b>geronimo.host</b></tt><br/>
<tt>EMULATOR_HOST=<b>emulator.host</b></tt></p>

<table cellpadding='5' width='85%' cellspacing='8px' class='noteMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Use forward slashes ( / ) as directory separators!</td></tr></table>

<p>You may leave the other variables intact.</p>

<h3><a name="SPECjAppServer2004-%7B%7Bappsserver%7D%7Dfile"></a><tt>appsserver</tt> file</h3>

<p>Edit the <tt><b>&lt;SPEC&gt;</b>/config/appsserver</tt> file &#8211; replace the word <b>default</b> there with the word <b>geronimo</b>.</p>

<h3><a name="SPECjAppServer2004-%7B%7Brun.properties%7D%7Dfile"></a><tt>run.properties</tt> file</h3>

<p>Edit the <tt><b>&lt;SPEC&gt;</b>/config/run.properties</tt> file. Note that it will be used on the <tt><b>driver.host</b></tt> and make sure the following variables have correct values:</p>

<p><tt>Url = http:/</tt><tt>/<b>geronimo.host</b>:8080/SPECjAppServer/app?</tt><br/>
<tt>outDir = <b>&lt;OUTPUT&gt;</b></tt><br/>
<tt>dumpDir = <b>&lt;DUMP&gt;</b></tt></p>

<h3><a name="SPECjAppServer2004-%7B%7Bsetenv.bat%7D%7Dfile"></a><tt>setenv.bat</tt> file</h3>

<p>Edit the <tt><b>&lt;SPEC&gt;</b>/bin/setenv.bat</tt> file, make sure you set the values for the following variables:</p>

<p><tt>JAVA_HOME=<b>&lt;JAVA_HOME&gt;</b></tt><br/>
<tt>JAS_HOME=<b>&lt;DRIVER&gt;</b></tt><br/>
<tt>APPSSERVER=geronimo</tt></p>

<h2><a name="SPECjAppServer2004-Buildingtheapplication"></a>Building the application</h2>

<p>Go to the <tt><b>&lt;SPEC&gt;</b></tt> directory.</p>

<p>Clean-up your installation:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>ant/bin/ant clean</tt></p>
</div></div>

<p>Build the application and configure it for <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>ant/bin/ant -Dappserver=geronimo</tt></p>
</div></div>

<p>You will get the <b>BUILD SUCCESSFUL</b> diagnostic.</p>

<p>Make sure the files <tt>SPECjAppServer.ear</tt> and <tt>emulator.war</tt> are created in the <tt><b>&lt;SPEC&gt;</b>/jars</tt> directory.</p>

<p>Rename <tt>emulator.war</tt> to <tt>Emulator.war</tt>.</p>

<h2><a name="SPECjAppServer2004-Preparingdatabaseconfiguration"></a>Preparing database configuration</h2>

<p>In the described configuration, the same database is used for all tables.</p>

<p>Go to the <tt><b>&lt;SPEC&gt;</b>/config</tt> directory. Replace the content of each of the <tt>&#42;db.properties</tt> files you find there with the contents of the attached <span class="error">&#91;^db.properties&#93;</span> template file. Make sure the <tt>pipeDir</tt> variable there points to a valid temporary directory, adjust if necessary.</p>

<h2><a name="SPECjAppServer2004-Loadingthetables"></a>Loading the tables</h2>

<p>Run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>ant/bin/ant -Dappserver=geronimo loaddb</tt></p>
</div></div>

<p>After some time, you will get the <b>BUILD SUCCESSFUL</b> diagnostic.</p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-Deployingcomponents"></a>Deploying components</h1>

<p>At this stage you need to deploy the configured components to <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Note that if your <tt><b>geronimo.host</b></tt> and your <tt><b>driver.host</b></tt> are the same machine, and you <a href="#SPECjAppServer2004-Adjustingconfiguration" title="Adjusting configuration on SPECjAppServer2004">changed</a> the port number of the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://java.sun.com/j2se/1.5.0/docs/guide/rmi/" title="Visit page outside Confluence" rel="nofollow">RMI<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Registry, you should specify that port number in all deployer commands, like this:
<br clear="all" />
<br clear="all" />
<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar bin/deployer.jar -port 1199 ...</tt></p>
</div></div></td></tr></table> 

<h2><a name="SPECjAppServer2004-Loggingin"></a>Logging in</h2>

<p>To avoid specifying login credentials on any call to deployer, you can login first:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar bin/deployer.jar -u system -p manager login</tt></p>
</div></div>

<h2><a name="SPECjAppServer2004-Deployingdatabaseconnector"></a>Deploying database connector</h2>

<p>To deploy a connector to the <span class="nobr"><a href="http://db.apache.org/derby/" title="Visit page outside Confluence" rel="nofollow">Derby<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <b>SPECDB</b> database you created earlier, go to the <tt><b>&lt;GERONIMO&gt;</b></tt> directory and run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar bin/deployer.jar deploy repository/org/tranql/tranql-connector-derby-embed-xa/1.4/tranql-connector-derby-embed-xa-1.4.rar <b>&lt;KIT&gt;</b>/sjas-db.xml</tt></p>
</div></div>

<p>You will get the <b>SPECjAppServer2004/DB/1.08/rar</b> diagnostic.</p>

<h2><a name="SPECjAppServer2004-DeployingJMSconnector"></a>Deploying JMS connector</h2>

<p>To deploy an <span class="nobr"><a href="http://www.activemq.org" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> JMS connector for <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, go to the <tt><b>&lt;GERONIMO&gt;</b></tt> directory and run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar bin/deployer.jar deploy repository/org/apache/geronimo/modules/geronimo-activemq-ra/2.1/geronimo-activemq-ra-2.1.rar <b>&lt;KIT&gt;</b>/sjas-jms.xml</tt></p>
</div></div>

<p>You will get the <b>SPECjAppServer2004/JMS/1.08/rar</b> diagnostic.</p>

<h2><a name="SPECjAppServer2004-Deployingthemainapplication"></a>Deploying the main application</h2>

<p>To deploy <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> on <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, this configuration uses the deployment plan that was originally found in <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> sources at <span class="nobr"><a href="http://svn.apache.org/viewcvs.cgi/geronimo/sandbox/specjappserver2004/specj2004-deployment-plan.xml" title="Visit page outside Confluence" rel="nofollow">http://svn.apache.org<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, modified and updated for <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> version 2.1.</p>

<p>Go to the <tt><b>&lt;GERONIMO&gt;</b></tt> directory and run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar bin/deployer.jar deploy <b>&lt;SPEC&gt;</b>/jars/SPECjAppServer.ear <b>&lt;KIT&gt;</b>/sjas-app.xml</tt></p>
</div></div>

<p>You will get the <b>SPECjAppServer2004/Application/1.08/ear</b> diagnostic.</p>

<h2><a name="SPECjAppServer2004-Verifyingthedeployment"></a>Verifying the deployment</h2>

<p>At this stage you may check that the deployment has been done correctly and that <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> is operational.</p>

<h3><a name="SPECjAppServer2004-Manualtransactions"></a>Manual transactions</h3>

<p>Open the deployed <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> page: <tt><b>http:/</b><b>/geronimo.host:8080/SPECjAppServer/</b></tt></p>

<p>In the left-hand menu, click the <b>Go Trade Autos!</b> or <b>Go Build Cars!</b> link.</p>

<p>Log in with the default credentials (<tt><b>1</b></tt>) by clicking <b>Log in</b>.</p>

<p>You should see the program interface and be able to perform transactions.</p>

<h3><a name="SPECjAppServer2004-Atomicitytests"></a>Atomicity tests</h3>

<p>Open the deployed <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> page: <tt><b>http:/</b><b>/geronimo.host:8080/SPECjAppServer/</b></tt></p>

<p>In the left-hand menu, click the <b>Atomicity Tests</b> link.</p>

<p>You will see the results of three atomicity tests' runs. If all three of them are marked as <font color="red"><b>PASSED</b></font>, your deployment is correct.</p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-DeployingtheSupplierEmulator"></a>Deploying the Supplier Emulator</h1>

<p>To deploy the <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> Supplier Emulator at the <tt><b>emulator.host</b></tt>, use one of the following:</p>

<p>The <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> built-in servlet container (in case the <tt><b>emulator.host</b></tt> and the <tt><b>geronimo.host</b></tt> are the same machine); or a stand-alone servlet container on the <tt><b>emulator.host</b></tt>.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Note that <span class="nobr"><a href="http://www.spec.org/jAppServer2004/" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/UserGuide.html#Section3" title="Visit page outside Confluence" rel="nofollow">documentation<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> requires that the Supplier Emulator servlet container should have the <tt>keep-alive</tt> option turned off. You can ignore this requirement, but that would impact the performance severely.</td></tr></table>

<h2><a name="SPECjAppServer2004-UsingtheGeronimoservletcontainer"></a>Using the Geronimo servlet container</h2>

<p>Go to the <tt><b>&lt;GERONIMO&gt;</b></tt> directory and run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -jar bin/deployer.jar deploy <b>&lt;SPEC&gt;</b>/jars/Emulator.war <b>&lt;KIT&gt;</b>/sjas-emulator.xml</tt></p>
</div></div>

<p>You will get the <b>SPECjAppServer2004/Emulator/1.08/war @ /Emulator</b> diagnostic.</p>

<h2><a name="SPECjAppServer2004-Usingastandaloneservletcontainer"></a>Using a stand-alone servlet container</h2>

<p>This configuration assumes that your stand-alone servlet container on the <tt><b>emulator.host</b></tt> is <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> running on the default port (8080).</p>

<p>Install <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> to your <tt><b>&lt;TOMCAT&gt;</b></tt> directory on the <tt><b>emulator.host</b></tt>.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='noteMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Do not bother</b> editing <tt><b>&lt;SPEC&gt;</b>/config/tomcat.env</tt> file or running <tt>ant/bin/ant -f tomcat.xml</tt>.

<p>Both files are obsolete, they generate the <tt>Emulator.war</tt> file, which has already been created at <a href="#SPECjAppServer2004-Buildingtheapplication" title="Building the application on SPECjAppServer2004">Building the application</a> phase.</p></td></tr></table>

<p>Copy the <tt><b>&lt;SPEC&gt;</b>/jars/Emulator.war</tt> file to the <tt><b>&lt;TOMCAT&gt;</b>/webapps</tt> directory and remove the <tt><b>&lt;TOMCAT&gt;</b>/webapps/Emulator</tt> directory if it exists.</p>

<p>Go to the <tt><b>&lt;TOMCAT&gt;</b></tt> directory on the <tt><b>emulator.host</b></tt> and start <span class="nobr"><a href="http://tomcat.apache.org" title="Visit page outside Confluence" rel="nofollow">Tomcat<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>bin/catalina run</tt></p>
</div></div>

<h2><a name="SPECjAppServer2004-Veryfyingthedeployment"></a>Veryfying the deployment</h2>

<p>Go to the page <tt><b>http:/</b><b>/emulator.host:8080/Emulator/</b></tt>. It should load normally and contain a single directory, <tt>dtd</tt>, with two files inside, <tt>delivery.dtd</tt> and <tt>po.dtd</tt>.</p>

<p>Go to the page <tt><b>http:/</b><b>/emulator.host:8080/Emulator/EmulatorServlet</b></tt>. You should see a page with text like this:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent" style="background-color: white; ">
<p><b>Emulator Servlet seems to work OK</b><br/>
<b>JAS_HOST : emulator.host</b><br/>
<b>JAS_PORT : 8080</b><br/>
<b>Servlet URL : Supplier/DeliveryServlet</b></p>

<p><b>Number of Transactions : 0</b><br/>
<sup><b>Servlet invoked without command specified</b></sup></p>
</div></div>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-Runningthebenchmark"></a>Running the benchmark</h1>

<p>Copy the <tt><b>&lt;GERONIMO&gt;</b></tt> directory to the <tt><b>driver.host</b></tt>, the copy will be your <tt><b>&lt;DRIVER_GERONIMO&gt;</b></tt> directory (in fact you only need some jars from it).</p>

<p>Copy the <tt><b>&lt;SPEC&gt;</b></tt> directory to the <tt><b>driver.host</b></tt>, the copy will be your <tt><b>&lt;DRIVER&gt;</b></tt> directory.</p>

<p>In the <tt><b>&lt;DRIVER&gt;</b>/config/geronimo.env</tt> file adjust the <tt>JAS_HOME</tt> variable to the <tt><b>&lt;DRIVER&gt;</b></tt> directory and <tt>J2EE_HOME</tt> variable to the <tt><b>&lt;DRIVER_GERONIMO&gt;</b></tt> directory.</p>

<p>Go to the <tt><b>&lt;DRIVER&gt;</b></tt> directory on the <tt><b>driver.host</b></tt> and run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>bin/setenv.bat</tt></p>
</div></div>

<p>This configures the environment to run the Driver.</p>

<p>To start the Driver itself, run:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>bin/driver.bat</tt></p>
</div></div>

<p>If you wish to run a distributed load with multiple Drivers, then after the Driver is started on the first host (the <tt><b>master.host</b></tt>), start the Driver on other driver hosts like this:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>bin/driver.bat <b>master.host</b></tt></p>
</div></div>

<p>After starting the Driver, you should see the output like this:</p>

<p><font color="white"><div class="preformatted" style="border-style: solid; "><div class="preformattedContent" style="background-color: black; ">
<pre>The following environment settings are in effect for SPECjAppServer2004
* ========================= *
   JAVA_HOME=&lt;JAVA_HOME&gt;
    JAS_HOME=&lt;DRIVER&gt;
  CONFIG_DIR=&lt;DRIVER&gt;\config
  APPSSERVER=geronimo
     ENVFILE=&lt;DRIVER&gt;\config\geronimo.env
* ========================= *
Driver Host: &lt;driver.host&gt;
Binding controller to //&lt;driver.host&gt;/Controller
DriverDebug: DealerAgent &lt;propsFile&gt; &lt;agentName&gt; &lt;masterMachine&gt;
Controller: Registering M1 on machine &lt;driver.host IP address&gt;
Controller: Registering O1 on machine &lt;driver.host IP address&gt;
Controller: Registering L1 on machine &lt;driver.host IP address&gt;
Calling switchLog as master
RunID for this run is : 75
Output directory for this run is : &lt;OUTPUT&gt;\75
TTF1 = 93
ttf = 93
Configuring 1 DealerAgent(s)...
DealerAgent O1, Thread 0 started
DealerAgent O1, Thread 1 started
DealerAgent O1, Thread 2 started
DealerAgent O1, Thread 3 started
DealerAgent O1, Thread 4 started
DealerAgent O1, Thread 5 started
DealerAgent O1, Thread 6 started
DealerAgent O1, Thread 7 started
DealerAgent O1, Thread 8 started
DealerAgent O1, Thread 9 started
Configuring 1 MfgAgent(s)...
MfgAgent M1, Thread 0 started
MfgAgent M1, Thread 1 started
MfgAgent M1, Thread 2 started
Configuring 1 LargeOLAgent(s)...


MfgAgent L1, Thread 0 started
Rampup      = Fri May 12 20:49:51 MSD 2006
SteadyState = Fri May 12 20:59:51 MSD 2006
Rampdown    = Fri May 12 21:59:51 MSD 2006
Finish      = Fri May 12 22:04:51 MSD 2006

sleeptime is 28417 note this is time in excess needed for trigger
Starting Ramp Up...
</pre>
</div></div></font></p>

<p>This means the Driver started normally.</p>

<p>Note the times for <b>Rampup</b>, <b>SteadyState</b>, <b>Rampdown</b> and <b>Finish</b> to figure out the time needed for the benchmark to complete.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>You can interrupt the run at any time with <tt>Ctrl-C</tt>.</td></tr></table>

<p>Sometimes binding exceptions or other problems may occur at the Driver startup. In such a case, interrupt the test run with <tt>Ctrl-C</tt> and rerun it again. Sometimes it helps.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='noteMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>It's recommended to <a href="#SPECjAppServer2004-Loadingthetables" title="Loading the tables on SPECjAppServer2004">reload</a> the database tables before each run, particularly if previous run was not finished correctly. Otherwise, errors like this may occur:

<p><font color="white"><div class="preformatted" style="border-style: solid; "><div class="preformattedContent" style="background-color: black; ">
<pre>java.rmi.RemoteException: Failure in calling validateInitialValues() java.rmi.RemoteException: Invalid initial Order DB State
        at org.spec.jappserver.driver.Auditor.validateInitialValues(Auditor.java:201)
        at org.spec.jappserver.driver.Driver.configure(Driver.java:330)
        at org.spec.jappserver.driver.Driver.&lt;init&gt;(Driver.java:160)
        at org.spec.jappserver.driver.Driver.main(Driver.java:1137)
</pre>
</div></div></font></p></td></tr></table>

<p>During the run, the following diagnostics may appear in the Driver window:</p>

<p><font color="white"><div class="preformatted" style="border-style: solid; "><div class="preformattedContent" style="background-color: black; ">
<pre>AbstractSJASLoad&gt; Application error has already been cancelled
</pre>
</div></div></font></p>

<p>and in the same time, various <tt>TransactionRolledback</tt> and other exceptions of the same kind are being printed in the <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> shell.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='warningMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>These diagnostics are probably caused by the fact that <span class="nobr"><a href="http://tranql.codehaus.org" title="Visit page outside Confluence" rel="nofollow">TranQL<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> version 1.3 is used in <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> <span class="nobr"><a href="http://geronimo.apache.org/apache-geronimo-v21-release.html" title="Visit page outside Confluence" rel="nofollow">v2.1<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> does not provide the necessary transaction isolation level. Hopefully, this problem will be fixed in <span class="nobr"><a href="http://tranql.codehaus.org" title="Visit page outside Confluence" rel="nofollow">TranQL<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> version 1.3.1.</td></tr></table>

<p>After the run has completed successfuly, you will see the output like this:</p>

<p><font color="white"><div class="preformatted" style="border-style: solid; "><div class="preformattedContent" style="background-color: black; ">
<pre>Gathering DealerStats ...
Gathering MfgStats ...
summary file is &lt;OUTPUT&gt;\75\SPECjAppServer.summary
SPECjAppServer2004 v1.08 Results
JOPS: ***
Dealer Response Times
     Purchase...0.4
     Manage.....1.5
     Browse.....0.4
Manufacturing Response Times
     Mfg........0.0
Calling getLog as master
</pre>
</div></div></font></p>

<p>The number of <b>JOPS</b> is a final benchmark metric.</p>

<table cellpadding='5' width='85%' cellspacing='8px' class='warningMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>For now these values for <span class="nobr"><a href="http://geronimo.apache.org" title="Visit page outside Confluence" rel="nofollow">Geronimo<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> are terribly low, and don't depend on the hardware being used. Probably this is due to some configuration issues that still exist or due to the <span class="nobr"><a href="http://tranql.codehaus.org" title="Visit page outside Confluence" rel="nofollow">TranQL<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> issue mentioned above.</td></tr></table>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p>

<h1><a name="SPECjAppServer2004-Processingresults"></a>Processing results</h1>

<p>When driver is run, a subdirectory with a numerical name is created in the <tt><b>&lt;OUTPUT&gt;</b></tt> directory. The subdirectory with the largest number corresponds to the latest run. After the Driver run is complete, the <tt>result.props</tt> file is created there, it contains the raw results from the benchmark.</p>

<p>Go to the <tt><b>&lt;DRIVER&gt;</b>/reporter</tt> directory, copy the file <tt>Sample_Submission.txt</tt> under arbitraty name (e. g. <tt>Your_Submission.txt</tt>) and edit the copy, as described in <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/UserGuide.html#Section5" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004 User's Guide :: Section 5 &#8211; Results<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>, add the raw data from the <tt>result.props</tt> file.</p>

<p>Run the following command to generate an HTML benchmark report, it would be named <tt>Your_Submission.report.html</tt>:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -cp reporter.jar reporter Your_Submission.txt</tt></p>
</div></div>

<p>Run the following command to generate a text-only benchmark report, it would be named <tt>Your_Submission.report.txt</tt>:</p>

<div class="panel" style="border-style: solid; "><div class="panelContent">
<p><tt>java -cp reporter.jar reporter -a Your_Submission.txt</tt></p>
</div></div>

<p>For the details on how yo submit your results, see <span class="nobr"><a href="http://www.spec.org/jAppServer2004/docs/UserGuide.html#S53" title="Visit page outside Confluence" rel="nofollow">SPECjAppServer2004 User's Guide :: Section 5.3 &#8211; Submitting the Results<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

<p><a href="#SPECjAppServer2004-top" title="top on SPECjAppServer2004">Back to Top</a></p></div>


</td></tr></table></div>
<p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td height="12" background="http://cwiki.apache.org/confluence/images/border/border_bottom.gif"><img src="http://cwiki.apache.org/confluence/images/border/spacer.gif" width="1" height="1" border="0"/></td>
    </tr>
</table>

<div class="smalltext">
    Powered by
    <a href="http://www.atlassian.com/software/confluence/default.jsp?clicked=footer" class="smalltext">Atlassian Confluence</a>
    (Version: 2.2.9 Build:#527 Sep 07, 2006)
    -
    <a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a><br/>
    <br>
    <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action">Unsubscribe or edit your notifications preferences</a>

</div>

</body>
</html>


Mime
View raw message