Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
  1. The forms and users databases below must be created with [[#UTF8_Encoded_Database | UTF-8 encoding]].
  2. When using DB2, make sure that you create the forms database with a page size of 8K (the default of 4K is too small).

...

  1. Locate the frevvoDS data source url parameter.url="jdbc:jtds:sqlserver://localhost/frevvo"/>. You can change the name "frevvo" to whatever you wish, " forms" for example. But it must match the database name you create in your SQL server. See [[#Verify_Connection_Url | verify connection Url]] below below.
  2. Create a utf8 encoded database ""frevvo" (assuming you left the url parameter database name as the default) in your SQL server
  3. In the  installation locate the script <frevvo-home>/data/sql/forms-<database type>.sql. Ex: for mySQL the script is named <frevvo-home>/data/sql/forms-mysql5.sql
  4. Run that script in your "" database. That will create all the tables required to persist submissions
  5. Set the frevvoDS data source parameters username and password to a user that has write permissions to the "" database.
  6. The submissions database setup is now complete.

...

Live Forms's submission and user databases rely on the JDBC API. You can use any relational database as long as you have a JDBC driver for that database, however. [[#Configure_the_database | See the list of Live Forms certified databases]]. If you choose a database that's not in this list you do so at your own risk.

Warning

You MUST use the JDBC4 type driver.

The Live Forms download  download package comes with several pre-installed drivers. Look in <frevvo-home>/tomcat/lib and you will see (among other jar files) the following pre-installed driver jar files:

...

If you don't find what you need pre-installed you will need to locate a driver compatible to your database. Usually you can download your driver from the internet. Try one of these locations

  • [http://msdn.microsoft.com/en-us/sqlserver/aa937724 SQL Server JDBC Driver]
  • [http://www.oracle.com/technetwork/database/features/jdbc/jdbc-112010-090769.html Oracle]
  • [https://www-304.ibm.com/support/docview.wss?uid=swg21363866 DB2]
  • [http://dev.mysql.com/downloads/connector/j/ Mysql]DB2Image Added
  • Mysql

Once you have the driver you need, copy it to <frevvo-home>/tomcat/lib.* [

  • http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html Oracle]

* [https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=swg-dm-db2jdbcdriver IBM DB2]
* [http://dev.mysql.com/downloads/connector/j/5.1.html MySQL]
* [http://rmijdbc.objectweb.org RmiJDBC]

...