Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Notes for Oracle RAC use added

...

  • Code Block
    languagexml
    titleConfiguration of the joc_install.xml file
    collapsetrue
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!-- 
    XML configuration file for JOC
    If you call the installer with this XML file then 
    you accept at the same time the terms of the 
    licence agreement under GNU GPL 2.0 License 
    (see http://www.gnu.org/licenses/gpl-2.0.html)
    -->
    <AutomatedInstallation langpack="eng">
        <com.izforge.izpack.panels.UserInputPanel id="home">
            <userInput/>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.HTMLLicencePanel id="gpl_licence"/>
        <com.izforge.izpack.panels.TargetPanel id="target">
            
            <!-- SELECT THE INSTALLATION PATH
                 It must be absolute! -->
            <installpath>[:choose absolute installation path of JOC:]</installpath>
            
        </com.izforge.izpack.panels.TargetPanel>
        <com.izforge.izpack.panels.UserInputPanel id="jetty">
    		<userInput>
    						
    			<!-- JOC requires a servlet container such as Jetty. 
    				 If a servlet container already installed then you can use it. 
    				 Otherwise a Jetty will be installed in addition if withJettyInstall=yes.
    				 You need root permissions to install JOC with Jetty. -->
    			<entry key="withJettyInstall" value="yes"/>
    			<entry key="jettyPort" value="4446"/>
                <!-- Only necessary for Windows -->
    			<entry key="jettyStopPort" value="40446"/>
                <!-- Only necessary for Unix -->
                <entry key="withJocInstallAsDaemon" value="yes"/>
                <!-- Path to Jetty base directory -->
                <entry key="jettyBaseDir" value=""/>
                
                <!-- Java options for Jetty. -->
                <!-- Initial memory pool (-Xms) in MB -->
                <entry key="jettyOptionXms" value="128"/>
                <!-- Maximum memory pool (-Xmx) in MB -->
                <entry key="jettyOptionXmx" value="512"/>
                <!-- Thread stack size (-Xss) in KB -->
                <entry key="jettyOptionXss" value="4000"/>
                <!-- Further Java options -->
                <entry key="jettyOptions" value=""/>
    				
    		</userInput>
    	</com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="reportingDatabase">
            <userInput>
                <!-- Reporting Database Configuration -->
                     
                <!-- Choose the database management system. Supported values are 'mysql' for MySQL,
                     'oracle' for Oracle, 'mssql' for MS SQL Server, 'pgsql' for PostgreSQL. -->
                <entry key="reporting.databaseDbms" value="mysql"/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="reportingDbconnection">
            <userInput>
                <!-- Reporting Database Configuration -->
                     
                <!-- Enter the name or ip address of the database host -->
                <entry key="reporting.databaseHost" value=""/>
                
                <!-- EnterThis thefield portcan numberbe forused theto databaseconfigure instance. Default ports arethe URL(s) for MySQLOracle 3306,RAC databases.
                For     Oracle 1521, MS SQL Server 1433, postgreSQL 5432. -->
    example: -->
                    <entry key="reporting.databasePortdatabaseHost" value=""/>(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=OFF)(FAILOVER=ON) 
                
            (ADDRESS=(PROTOCOL=TCP)(HOST=tst-db1.myco.com)(PORT=1604)) 
       <!-- Enter the schema -->
                <entry key="reporting.databaseSchema" value=""/> (ADDRESS=(PROTOCOL=TCP)(HOST=tst-db2.myco.com)(PORT=1604))) 
                
            (CONNECT_DATA=(SERVICE_NAME=mydb1.myco.com)(SERVER=DEDICATED)))"/> 
        <!--  Enter the user name for database access <!-->
     The "reporting.databaseSchema" and "reporting.databasePort" entries should then be    <entry key="reporting.databaseUser" value=""/left empty. -->
                
                <!-- Enter the passwordport number for the database access -->
         instance. Default ports are for MySQL 3306, 
           <entry key="reporting.databasePassword" value=""/>
            Oracle 1521, MS SQL 
    Server 1433, postgreSQL 5432. -->
        </userInput>
         </com.izforge.izpack.panels.UserInputPanel>
       <entry <com.izforge.izpack.panels.UserInputPanel id="database">
    key="reporting.databasePort" value=""/>
                <userInput>
                <!-- JobSchedulerEnter Databasethe Configurationschema -->
                <entry key="reporting.databaseSchema" value=""/>
                
       <!-- Set 'yes' if the Reporting and the JobScheduler database are<!-- Enter the same.
    user name for database access -->
                If 'yes' then further JobScheduler database variables are ignored. -->
                <entry <entry key="sameDbConnectionreporting.databaseUser" value="yes"/>
                     
                <!-- ChooseEnter the password for database management system. Supported values are 'mysql' for MySQL,
    access -->
                <entry key="reporting.databasePassword" value=""/>
             'oracle' for Oracle, 'mssql'
     for MS SQL Server, 'pgsql' for PostgreSQL,   </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="database">
            <userInput>
             'db2' for DB2 and 'sybase' for Sybase.<!-- JobScheduler Database Configuration -->
                <entry key="databaseDbms" value=""/>
                
    <!-- Set 'yes' if the Reporting and the </userInput>
    JobScheduler database are the </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="dbconnection"same.
                     If 'yes' then further JobScheduler database variables are ignored. -->
                <entry key="sameDbConnection" value="yes"/>
            <userInput>
             
                <!-- Choose the database management system. Supported values are 'mysql' for MySQL,
                     'oracle' for Oracle, 'mssql' for MS SQL Server, 'pgsql' for PostgreSQL,
                     'db2' for DB2 and 'sybase' for Sybase. -->
                <entry key="databaseDbms" value=""/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="dbconnection">
            <userInput>
                <!-- JobScheduler Database Configuration -->
                     
                <!-- Enter the name or ip address of the database host -->
                <entry key="databaseHost" value=""/>
                <!-- This field can be used to configure the URL(s) for Oracle RAC databases.
                For example: -->
                    <entry key="databaseHost" value="(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=OFF)(FAILOVER=ON) 
                        (ADDRESS=(PROTOCOL=TCP)(HOST=tst-db1.myco.com)(PORT=1604)) 
                        (ADDRESS=(PROTOCOL=TCP)(HOST=tst-db2.myco.com)(PORT=1604))) 
         <!-- JobScheduler Database Configuration -->
                     (CONNECT_DATA=(SERVICE_NAME=mydb1.myco.com)(SERVER=DEDICATED)))"/> 
                <!-- EnterThe the"databaseSchema" nameand or"databasePort" ipentries addressshould ofthen thebe databaseleft hostempty. -->
                <entry key="databaseHost" value=""/>
                 
                <!-- Enter the port number for the database instance. Default ports are for MySQL 3306, 
                     Oracle 1521, MS SQL Server 1433, postgreSQL 5432, DB2 50000, Sybase 5000. -->
                <entry key="databasePort" value=""/>
                
                <!-- Enter the schema -->
                <entry key="databaseSchema" value=""/>
                
                <!-- Enter the user name for database access -->
                <entry key="databaseUser" value=""/>
                
                <!-- Enter the password for database access -->
                <entry key="databasePassword" value=""/>
                
                <!-- You have to provide the MySQL, MS SQL Server, Sybase or DB2 JDBC driver respectively if you selected 
                     corresponding DBMS type. For license reasons MySQL, Sybase and MS SQL Server JDBC Drivers are 
                     not provided. Alternatively you can use the mariadb JDBC Driver for MySQL and 
                     the jTDS JDBC Driver for MS SQL Server and Sybase which is provided. -->
                     
                <!-- You can choose between 'yes' or 'no' for using the jTDS JDBC Driver
                     This entry affects only MS SQL Server or Sybase -->
                <entry key="connectorJTDS" value="yes"/>
                
                <!-- You can choose between 'yes' or 'no' for using the mariadb JDBC Driver
                     This entry affects only MySQL -->
                <entry key="connectorMaria" value="yes"/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="jdbc">
            <userInput>
                <!-- JobScheduler Database Configuration -->
                     
                <!-- Configuration for JDBC Driver 
                     This entry is only necessary if you selected a DBMS type such as MySQL, 
                     MS SQL Server, Sybase ot DB2 in the previous <userInput> element. -->
                     
                <!-- You have to provide the MySQL, MS SQL Server, Sybase or DB2 JDBC driver respectively if you selected 
                     corresponding DBMS type. For license reasons MySQL and MS SQL Server JDBC Drivers are 
                     not provided. Specify the JDBC Driver source (e.g. mysql-connector-java-*.jar for MySQL, 
                     sqljdbc.jar for MS SQL Server, jconn3.jar for Sybase). Alternatively you can use the mariadb 
                     JDBC Driver for MySQL and the jTDS JDBC Driver for MS SQL Server and Sybase which is provided. -->
                     
                <!-- Select the path to JDBC Driver -->
                <entry key="connector" value=""/>
                
                <!-- Only for DB2: Select the path to DB2 license file for JDBC Driver -->
                <entry key="connectorLicense" value=""/>
                
            </userInput>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.UserInputPanel id="end">
            <userInput/>
        </com.izforge.izpack.panels.UserInputPanel>
        <com.izforge.izpack.panels.InstallPanel id="install"/>
        <com.izforge.izpack.panels.ProcessPanel id="process"/>
        <com.izforge.izpack.panels.FinishPanel id="finish"/>
    </AutomatedInstallation>
    
    

...