From 3b61df35a0daa400179b347fdd6f6815a49171f8 Mon Sep 17 00:00:00 2001 From: Sasa Zivkov Date: Tue, 5 Feb 2013 17:28:40 +0100 Subject: [PATCH] Fix the order of steps in the J2EE Installation document It is better to first define the JNDI data source in the application server and then deploy Gerrit than opposite. This should avoid errors like "No DataSource" on the first deployment. Change-Id: I89a2d1ab11bf0f7a44ee62f6d9083ab83bdd25a6 Signed-off-by: Sasa Zivkov --- Documentation/install-j2ee.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/install-j2ee.txt b/Documentation/install-j2ee.txt index 96814a0dbc..e6b748cad5 100644 --- a/Documentation/install-j2ee.txt +++ b/Documentation/install-j2ee.txt @@ -27,12 +27,6 @@ Installation review_site/bin/gerrit.sh stop ---- -* Deploy the 'gerrit.war' file to your application server. -+ -The deployment process differs between servers, but typically this -can be accomplished by copying 'gerrit.war' into the 'webapps/' -subdirectory of the container's installation. - * Configure JNDI DataSource 'jdbc/ReviewDb'. + This DataSource must point to the database you created above. @@ -40,6 +34,12 @@ Don't forget to ensure your JNDI configuration can load the necessary JDBC drivers. You may wish to ensure connection pooling is configured and enabled within the DataSource. +* Deploy the 'gerrit.war' file to your application server. ++ +The deployment process differs between servers, but typically this +can be accomplished by copying 'gerrit.war' into the 'webapps/' +subdirectory of the container's installation. + * ('Optional') Install Bouncy Castle Crypto API + If you enabled Bouncy Castle Crypto during 'init', copy the JAR