Setup4j

From Commander4j Wiki
Revision as of 12:54, 4 May 2018 by Dgarratt (Talk | contribs)

Jump to: navigation, search

The Setup4j utility allows you to setup the database you want to use with Commander4j. The application supports 3 types of database

  • mySQL
  • Microsoft SQL Server
  • Oracle


In addition to creating the tables needed for Commander4j the Setup4j also creates a file called hosts.xml which
is loaded at startup and displays a menu to allow you to select which database you want to connect to.


Host selection.jpg


The Setup4j will be needed to create the initial database when installing for the first time. It will also be used when
upgrading to a new version of the application.
Setup4j buttons.jpg
The example hosts file which is installed during installation is purely for illustration purposes. You should create your
own entries which point to your own database(s).

Sytax for URL for Application Update

file://servername/sharename/directory/updates.xml

Sytax for URL for Hosts File Update

//servername/sharename/directory/hosts.xml

Below are 3 sample host configurations. One for each database type which is supported.


mySQL

Setup4j mysql.jpg


Microsoft SQL Server


<r> Setup4j mssql.jpg


Oracle

Setup4j oracle.jpg