db user is defined firstly
security > Global security > Java Authentication and Authorization Service > J2C authentication data > new
jdbc definition is made according to the database type to be used
Resources > JDBC > JDBC providers > New
Access to the directory of sqljdbc4.jar file is granted
chmod 764 -R /opt/mssql/
Datasource is defined for the selected database.
Resources > JDBC > Data source > New
select previously created JDBC driver
access control is done