Commit 7c7a0e9b authored by Matt Tucker's avatar Matt Tucker Committed by matt

Updates.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@883 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5e33fbb0
...@@ -12,8 +12,8 @@ This document provides setup instructions for all of the currently supported dat ...@@ -12,8 +12,8 @@ This document provides setup instructions for all of the currently supported dat
</p> </p>
<p> <p>
JDBC 2.0 drivers are required for Jive Messenger to communicate with your database. Suggested JDBC 2.0 drivers are required for Jive Messenger to communicate with your database. Suggested
drivers for particular databases are noted below where applicable. However, drivers for particular databases are noted below where applicable. Jive Messenger bundles JDBC
<em>the JDBC-ODBC bridge will not work with Jive Messenger under any circumstances</em>. drivers for MySQL, Postgres, and HSQLDB.
</p> </p>
<p> <p>
For a full list of available JDBC drivers, please see: For a full list of available JDBC drivers, please see:
...@@ -49,12 +49,11 @@ Choose your database from the list below for setup details: ...@@ -49,12 +49,11 @@ Choose your database from the list below for setup details:
<ul> <ul>
<b>JDBC Drivers</b><p> <b>JDBC Drivers</b><p>
The JDBC driver for MySQL can be found at: The JDBC driver for MySQL is bundled with Jive Messenger, so you do not need
<p> to download and install a separate driver.
<a href="http://www.mysql.com/downloads/api-jdbc.html">
http://www.mysql.com/downloads/api-jdbc.html</a>
<p> <p>
In the Jive Messenger web-based setup tool, use the following values:<p><ul> In the Jive Messenger setup tool, use the following values:<p><ul>
<li>driver: <tt>com.mysql.jdbc.Driver</tt> <li>driver: <tt>com.mysql.jdbc.Driver</tt>
<li>server: <tt>jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]</tt> <li>server: <tt>jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]</tt>
</ul><p> </ul><p>
...@@ -66,7 +65,7 @@ Choose your database from the list below for setup details: ...@@ -66,7 +65,7 @@ Choose your database from the list below for setup details:
<p><b>Setup Instructions</b><p> <p><b>Setup Instructions</b><p>
<ol> <ol>
<li>Make sure that you are using MySQL 3.23.2 or later (4.x recommended). <li>Make sure that you are using MySQL 3.23.2 or later (4.x recommended).
<li>Create a database for the Jive tables:<br> <li>Create a database for the Jive Messenger tables:<br>
<code>mysqladmin create [databaseName]</code><br> <code>mysqladmin create [databaseName]</code><br>
(note: "databaseName" can be something like 'messenger') (note: "databaseName" can be something like 'messenger')
...@@ -102,13 +101,12 @@ Choose your database from the list below for setup details: ...@@ -102,13 +101,12 @@ Choose your database from the list below for setup details:
<b>JDBC Drivers</b><p> <b>JDBC Drivers</b><p>
For most users, the best drivers for Oracle are the ones written by Oracle (which The Oracle 9i or 10g "thin" drivers are recommended and can be downloaded from
come with the database or can be downloaded from Oracle's website). You <a href="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html">Oracle's website</a>.
should use the Oracle 9i "thin" drivers (users have reported bugs with the 8i drivers)
that are in the the <tt>classes12.zip</tt> file. Various versions of the thin drivers are avaialble, but the "ojdbc14.jar" driver is recommended for use with Jive Messenger.
<b>Do not use the <tt>classes11.zip</tt> JDBC driver.</b> Note: you may wish to rename the Copy the JDBC driver to the <tt>lib/</tt> directory of your Jive Messenger installation.
<tt>classes12.zip</tt> file to <tt>classes12.jar</tt> or <tt>oracle.jar</tt>
since some application servers will not work correctly with zip files.
<p> <p>
In the Jive Messenger web-based setup tool, use the following values:<p> In the Jive Messenger web-based setup tool, use the following values:<p>
...@@ -141,11 +139,11 @@ Choose your database from the list below for setup details: ...@@ -141,11 +139,11 @@ Choose your database from the list below for setup details:
<ul> <ul>
<b>JDBC Drivers</b><p> <b>JDBC Drivers</b><p>
Microsoft provides a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4f8f2f01-1ed7-4c4d-8f7b-3d47969e66ae&DisplayLang=en">free JDBC driver</a> that works with Jive Messenger. Microsoft provides a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=07287b11-0502-461a-b138-2aa54bfdc03a&DisplayLang=en">free JDBC driver</a> that works with Jive Messenger.
After downloading and extracting the drivers, place <tt>msbase.jar</tt>, After downloading and extracting the drivers, place <tt>msbase.jar</tt>,
<tt>mssqlserver.jar</tt>, and <tt>msutil.jar</tt> in the classpath of your <tt>mssqlserver.jar</tt>, and <tt>msutil.jar</tt> in the <tt>lib/</tt>
application server or the <tt>WEB-INF/lib</tt> directory of your Jive Messenger directory of your Jive Messenger installation. Use the following values in the Jive Messenger
web application. Use the following values in the Jive Messenger web-based setup tool:<p> web-based setup tool:<p>
<ul> <ul>
<li>driver -- <tt>com.microsoft.jdbc.sqlserver.SQLServerDriver</tt> <li>driver -- <tt>com.microsoft.jdbc.sqlserver.SQLServerDriver</tt>
...@@ -160,14 +158,14 @@ Choose your database from the list below for setup details: ...@@ -160,14 +158,14 @@ Choose your database from the list below for setup details:
<ol> <ol>
<li>Create a new database using Enterprise Manager if you do not already have <li>Create a new database using Enterprise Manager if you do not already have
a database you want to use. You may wish to name the database "jivexmpp". a database you want to use. You may wish to name the database "messenger".
<li>Create a user to access the database if you do not already have one you'd <li>Create a user to access the database if you do not already have one you'd
like to use. Consider making the default database for the user be the like to use. Consider making the default database for the user be the
one you created in step 1. one you created in step 1.
<li>Open the Query Analyser and connect to the server. <li>Open the Query Analyser and connect to the server.
<li>Select the database you want to use for Jive Messenger <li>Select the database you want to use for Jive Messenger
from the DB drop down (the one you created in step 1 if you're using a new database). from the DB drop down (the one you created in step 1 if you're using a new database).
<li>Open the messenger_sqlserver_2000.sql file. <li>Open the messenger_sqlserver.sql file.
<li>Press F5 to run the script. The script will run and create the <li>Press F5 to run the script. The script will run and create the
necessary tables. necessary tables.
<li>Proceed to the Jive Messenger setup tool and use the appropriate JDBC settings <li>Proceed to the Jive Messenger setup tool and use the appropriate JDBC settings
...@@ -180,11 +178,8 @@ Choose your database from the list below for setup details: ...@@ -180,11 +178,8 @@ Choose your database from the list below for setup details:
<ul> <ul>
<b>JDBC Drivers</b> <b>JDBC Drivers</b>
<p> <p>
JDBC Drivers for PostgreSQL can be found in various distribution packages The JDBC driver for Postgres is bundled with Jive Messenger, so you do not need
at <a href="http://jdbc.postgresql.org" target="_blank">PostgreSQL's JDBC Home Page</a>. to download and install a separate driver.
This installation in particular refers to <code>&quot;pgjdbc2.jar&quot;</code> driver for
accessing PostgreSQL 7.3. Refer to the JDBC documentation at that site
for more information.
<p> <p>
In the Jive Messenger web-based setup tool, use the following values:<p><ul> In the Jive Messenger web-based setup tool, use the following values:<p><ul>
<li>driver -- <tt>org.postgresql.Driver</tt> <li>driver -- <tt>org.postgresql.Driver</tt>
...@@ -200,12 +195,12 @@ Choose your database from the list below for setup details: ...@@ -200,12 +195,12 @@ Choose your database from the list below for setup details:
<li>Create the database. For example, using the <li>Create the database. For example, using the
PostgreSQL <code>&quot;createdb&quot;</code> utility: PostgreSQL <code>&quot;createdb&quot;</code> utility:
<br> <br>
<code>createdb -E UNICODE jivexmpp</code> <code>createdb -E UNICODE messenger</code>
<li>Import the schema from the <tt>resources/database</tt> directory of the installation. <li>Import the schema from the <tt>resources/database</tt> directory of the installation.
Use psql (or your favorite Postgres sql Use psql (or your favorite Postgres sql
utility) to import the Jive Messenger database schema: utility) to import the Jive Messenger database schema:
<br> <br>
<code>psql -d jivexmpp -f messenger_postgresql.sql</code> <code>psql -d messenger -f messenger_postgresql.sql</code>
<li>Proceed to Jive Messenger setup and use the appropriate JDBC settings when <li>Proceed to Jive Messenger setup and use the appropriate JDBC settings when
prompted. prompted.
</ol> </ol>
...@@ -216,7 +211,8 @@ Choose your database from the list below for setup details: ...@@ -216,7 +211,8 @@ Choose your database from the list below for setup details:
<b>JDBC Drivers</b> <b>JDBC Drivers</b>
<p> <p>
Use the JDBC 1.2 compliant driver, db2java.zip (1293KB), Use the JDBC 1.2 compliant driver, db2java.zip (1293KB),
located in the <nobr>"%DB2PATH%\java2"</nobr> directory. located in the <nobr>"%DB2PATH%\java2"</nobr> directory. Copy the JDBC driver to the <tt>lib/</tt>
directory of your Jive Messenger installation.
<p> <p>
Values for the config file are: Values for the config file are:
<ul> <ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment