Versions Compared

Key

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

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Set up a domain account during installation

Display feature availability
StartingFromRelease1.11.3

Jira
serverSOS JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId6dc67751-9d67-34cd-985b-194a8cdc9602
keySET-97

Uses can create their own hibernate configuration file and cause the installer to use this file. The hibernate.connection.url property in this file should include the IntegratedSecurity=true setting

Set up a domain account for an existing JobSchedule installation

If you wanted to use a connection to a SQL Server for JobScheduler with a Windows domain account then it could happen that you receive an error during set-up:

...

  • edit $SCHEDULER_DATA/config/sos_settings.ini

    Code Block
    titlefor MSSQL JDBC driver add IntegratedSecurity=true
     url = jdbc:sqlserver://[servername]:1433;IntegratedSecurity=true;sendStringParametersAsUnicode=false;selectMethod=cursor;databaseName=[databasename]
    
    Code Block
    titlefor jTDS JDBC driver add domain=<domainname>
     url = jdbc:jtds:sqlserver://[servername]:1433;domain=[domainname];sendStringParametersAsUnicode=false;selectMethod=cursor;databaseName=[databasename]
    

    Then start $SCHEDULER_HOME\install\scheduler_install_tables.cmd to create the database tables.

     

  • edit $SCHEDULER_DATA/config/factory.ini

    Code Block
    titlefor MSSQL JDBC driver add IntegratedSecurity=true
     db = jdbc -class... jdbc:sqlserver://[servername]:1433;IntegratedSecurity=true;sendStringParametersAsUnicode=false;selectMethod=cursor;databaseName=[databasename] -user=... -password=...
    
    Code Block
    titlefor jTDS JDBC driver add domain=<domainname>
     db = jdbc -class... jdbc:jtds:sqlserver://[servername]:1433;domain=[domainname];sendStringParametersAsUnicode=false;selectMethod=cursor;databaseName=[databasename] -user=... -password=...
    

edit $SCHEDULER_DATA/config/hibernate.cfg.xml

Code Block
titlefor MSSQL JDBC driver add IntegratedSecurity=true
 <property name"hibernate.connection.url">jdbc:sqlserver://[servername]:1433;IntegratedSecurity=true;sendStringParametersAsUnicode=false;selectMethod=cursor;databaseName=[databasename]</property>
Code Block
titlefor jTDS JDBC driver add domain=<domainname>
 <property name"hibernate.connection.url">jdbc:jtds:sqlserver://[servername]:1433;domain=[domainname];sendStringParametersAsUnicode=false;selectMethod=cursor;databaseName=[databasename]</property>

...